Bug #5903
Uploading user pictures not possible
Status:
Bug resolved
Priority:
Normal
Assignee:
Yoselyn Castillo
Category:
Global / Others / Misc
Target version:
Start date:
24/01/2013
Due date:
% Done:
90%
Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?
Description
In the actual nightly, a user is not able to upload a profile picture.
PHP Fatal error: Call to a member function send_image() on a non-object in /var/www/main/inc/lib/usermanager.lib.php on line 1159, referer: /main/auth/profile.php
Associated revisions
History
Updated by Julio Montoya over 9 years ago
- Status changed from New to Needs testing
- % Done changed from 0 to 40
I added this validation to avoid the fatal error see:
Updated by Alexander Hu over 9 years ago
Okay, shown error is fixed.
Problem is:
if there is no temp path in php.ini to store uploaded files, ... :-)
Updated by Alexander Hu over 9 years ago
- % Done changed from 40 to 90
There should be not the suppression of the error message, instead there should be a check, IF file upload is possible...
Updated by Yoselyn Castillo over 9 years ago
- Status changed from Needs testing to Bug resolved
Tested!
Image uploaded without error message, even disabling upload_tmp_dir in php.ini
Fixes fatal error if obj is not created see #5903