-
Notifications
You must be signed in to change notification settings - Fork 348
Photo upload issue
François Jacquet edited this page Apr 29, 2016
·
6 revisions
If you try to upload a student / user photo without success, here are some tips to help you:
-
Check the
/assets/StudentPhotos/
,/assets/UserPhotos/
,/assets/PortalNoteFiles/
, and/assets/AssignmentsFiles
folders are writable. The Apache user (usuallywww-data
) should have the permission to write to these folders. -
Maybe the file you try to upload is too large: the photo size is limited to 2Mb (value hardcoded in the
modules/Students/Student.php
&modules/Users/User.php
files); also check thepost_max_size
&upload_max_filesize
config values in yourphp.ini
file.