Project

General

Profile

Bug #5903

Uploading user pictures not possible

Added by Alexander Hu over 9 years ago. Updated over 9 years ago.

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

Revision 3ac15b06 (diff)
Added by Julio Montoya over 9 years ago

Fixes fatal error if obj is not created see #5903

History

#1

Updated by Julio Montoya over 9 years ago

Works fine for me with png and jpg files

#2

Updated by Julio Montoya over 9 years ago

  • Status changed from New to Needs testing
  • % Done changed from 0 to 40
#3

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, ... :-)

#4

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...

#5

Updated by Yannick Warnier over 9 years ago

  • Target version set to 1.9.6
#6

Updated by Julio Montoya over 9 years ago

  • Assignee set to Yoselyn Castillo
#7

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

Also available in: Atom PDF