VeRT3X
07-12-2002, 07:39 PM
I am doing coding and design for a client and when trying to upload an attachment (jpg image) or an avatar (gif image) it comes up with this error:
"The uploaded file is not a valid GIF or JPG file. Please ensure that it is and try again."
when clearly its a JPG, under the size restriction and doesnt work for any image files.
When uploading a ZIP file or a TXT file like i tried it gives an error at the top saying that there is something wrong with functions.php with this message:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1719
Warning: fopen("/tmp/php63LiUG","rb") - Operation not permitted in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1719
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1720
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1721
I edited the forum url since it is private until release, he is using Plesk control panel (if that matters). Please help, Thank you.
"The uploaded file is not a valid GIF or JPG file. Please ensure that it is and try again."
when clearly its a JPG, under the size restriction and doesnt work for any image files.
When uploading a ZIP file or a TXT file like i tried it gives an error at the top saying that there is something wrong with functions.php with this message:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1719
Warning: fopen("/tmp/php63LiUG","rb") - Operation not permitted in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1719
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1720
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/clientforum.url.here/httpdocs/admin/functions.php on line 1721
I edited the forum url since it is private until release, he is using Plesk control panel (if that matters). Please help, Thank you.