View Single Post
Old October 14th, 2009, 10:35 PM   #1 (permalink)
WeST
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 48
Errors on uploads

Warning: getimagesize(/var/www/vhosts/toyobaru.net/subdomains/gallery/httpdocs/data/502/image.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /var/www/vhosts/net/subdomains/gallery/httpdocs/image-inc.php on line 264

Warning: Division by zero in /var/www/vhosts/net/subdomains/gallery/httpdocs/image-inc.php on line 311

Warning: getimagesize(/var/www/vhosts/net/subdomains/gallery/httpdocs/data/502/image.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /var/www/vhosts/net/subdomains/gallery/httpdocs/image-inc.php on line 108

Warning: unlink(/var/www/vhosts/net/subdomains/gallery/httpdocs/data/502/image.jpg) [function.unlink]: No such file or directory in /var/www/vhosts/net/subdomains/gallery/httpdocs/image-inc.php on line 120

The images seem to upload fine, but once it goes to the appoval section it will error out. Oddly enough if I upload single images it seems to work fine, but only in the Member Gallery. Additionally it doesnt seem to be adding directiories automatically, which would point to a permissions issue, but I have manually set all the sub folder to 777 and the roots of uploads and data are 777.

I have chmod and chown'ed the server to usernamesaserv and while that fixed some other errors it hasn't resolved this last issue.

my forum and vb install are on different subdomains

The vhost.conf for subdomains includes the following which should give it the gallery access to the forums:

php_admin_value open_basedir "/var/www/vhosts/net/subdomains/gallery/httpdocs:/usr/share/pear:/var/www/vhosts/net/subdomains/forums/httpdocs"
WeST is offline   Reply With Quote