My forum is new and I just got someone to register. They registered successfully but aren't able to upload the avatar.
Upon checking and uploading the image in Maintenance > Diagnostics > Upload ------ I get the following results.
Upon checking the Settings > Options > Server Settings & Optimization Options
I've open_basedir Upload Enabled set to YES
open_basedir Temporary Directory set to /tmp
Although there wasn't any tmp directory which I created in the /home/mysite/public_html/ and gave it the permission of 777
Edited the php.ini which is present in /home/mysite/public_html/ and added the following lines:
open_basedir = "/home/mysite/:/usr/lib/php:/home/mysite/public_html/tmp/"
upload_tmp_dir = "/home/mysite/public_html/tmp"
No idea if I did the last step correctly or not because in PHPmyinfo file, open_basedir still shows as None.
Could someone please help me resolve this avatar uploading problem which is getting originated through any of the above settings.
I need to know how to correctly set the path for open_basedir and any other settings that is required to be done and followed.
Really need desperate help.
Upon checking and uploading the image in Maintenance > Diagnostics > Upload ------ I get the following results.
Pertinent PHP Settings | |
file_uploads: | On |
open_basedir: | None |
upload_tmp_dir: | None |
upload_max_filesize: | 20.00 MB |
Results | |
No file uploaded and no local file found. The test cannot continue. |
I've open_basedir Upload Enabled set to YES
open_basedir Temporary Directory set to /tmp
Although there wasn't any tmp directory which I created in the /home/mysite/public_html/ and gave it the permission of 777
Edited the php.ini which is present in /home/mysite/public_html/ and added the following lines:
open_basedir = "/home/mysite/:/usr/lib/php:/home/mysite/public_html/tmp/"
upload_tmp_dir = "/home/mysite/public_html/tmp"
No idea if I did the last step correctly or not because in PHPmyinfo file, open_basedir still shows as None.
Could someone please help me resolve this avatar uploading problem which is getting originated through any of the above settings.
I need to know how to correctly set the path for open_basedir and any other settings that is required to be done and followed.
Really need desperate help.
Comment