I'm running Forma 1.4.2 on Ubuntu, with Apache and PHP5.6.
I am unable to upload user profile Avatars from the user admin section. I do get to the relevant upload screen, then select an image and click "Save changes", but the screen only seems to refresh and does not upload any image. I've checked the relevant vsftp logs and there is no entry of an attempted file upload.
I've tested other uploads within the LMS section - learning objects seem to upload without an issue including pdf files and scorm packages.
I'd appreciate any possible advice. Thanks
I checked on a Forma 1.4.2 and didn't have any issue in uploading an avatar image. I understand that you are generally able to upload files on your installation, therefore I would exclude permissions-related issues. Would you try with a different image, maybe with a .jpg file?
Or maybe your file was larger than the maximum allowed size?
I've tried with varies image types including jpg, png and gif. Also tried smaller that 150px images - all with the same result that the image is not uploaded.
I've checked all permissions, Apache user owns the entire web folder structure and the FTP user also has access to the necessary folders to upload files. I tested the FTP functionality separately through Filezilla and it works fine. As mentioned previously, I do not even see an entry into the FTP log files when attempting to upload an avatar image - so my guess is that the page does not even execute the upload...
Could you confirm the folder to where the avatar images should be uploaded?
Thanks for the info. Tested it again and the ftp-user definitely has write access to /files/appCore/photo/, but it does not look like the ftp upload functionality is executed by the avatar upload page.
Is there some way that I can debug the functionality? I also installed a "test" environment on my laptop running Mint (Ubuntu) and getting exactly the same behavior as on the Ubuntu server...
Ubuntu 14.04.1 LTS
Loaded modules: core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_mime prefork mod_negotiation mod_php5 mod_setenvif mod_status
PHP Version 5.5.9-1ubuntu4.21
I checked that fileinfo support is enabled
<doc_root>/files and subdirs have 0777 permission mask
After enabling the error display, i didn't see nothing that can helps me, look the attachment.