having a bit of a problem getting avatars and images to attach to messages.
When I attach an image I get these errors:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1636
Warning: fopen("/tmp/min.jpg","rb") - Operation not permitted in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1636
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1637
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1638
When I change my avatar in the cp, it doesn't show any errors but the image doesn't show up, just the red x. I've tried commenting out the 3 lines in the functions.php :
elseif (!$allowimgsizefailure) {
eval("standarderror(\"".gettemplate("error_avatarnotimage")."\");");
}
which didn't help. Also been messing with the Allow Image Size Checking Failure? option and that hasn't helped. I noticed that there is no avatars folder in my images dir so I created it, gave it 777 permissions and retried everything again with still no luck.
No files are getting uploaded to the avatars or attach folders.
Any help would be great as I would like to go live with this as soon as possible.
Some info:
PHP 4.0.6
MySQL 3.23.36
Plesk 2 on Redhat 7.1
GD Libraries are installed(not sure if that matters)
vBulletin 2.2.1
Cheers and thanks in advance
When I attach an image I get these errors:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1636
Warning: fopen("/tmp/min.jpg","rb") - Operation not permitted in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1636
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1637
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/plesk/apache/vhosts/mini2.com/httpdocs/vbulletin/admin/functions.php on line 1638
When I change my avatar in the cp, it doesn't show any errors but the image doesn't show up, just the red x. I've tried commenting out the 3 lines in the functions.php :
elseif (!$allowimgsizefailure) {
eval("standarderror(\"".gettemplate("error_avatarnotimage")."\");");
}
which didn't help. Also been messing with the Allow Image Size Checking Failure? option and that hasn't helped. I noticed that there is no avatars folder in my images dir so I created it, gave it 777 permissions and retried everything again with still no luck.
No files are getting uploaded to the avatars or attach folders.
Any help would be great as I would like to go live with this as soon as possible.
Some info:
PHP 4.0.6
MySQL 3.23.36
Plesk 2 on Redhat 7.1
GD Libraries are installed(not sure if that matters)
vBulletin 2.2.1
Cheers and thanks in advance
Comment