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 username:psaserv 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"
two things make sure your data directories and all directories beneath it are 777 permissions?
does the 502 directory exist?
Is safe mode off on the server?
at first the 502 didnt exist, I went into Storage Options and reverted those settings back to default (same as before) and it created the 502-506 folders, but not the subdirectories like thumbs and medium, etc. I have tried several variants of chmod/chown permissions and no matter how they are set it will not create those subdirectories.
Edit: Safemode = Off
Create a new category do all directories get created?
Ok, created a new cat, it did create the new directories and 777 is correct, but the Owner:Group is apache.
well its quite possible your permissions may not be correct. I have never heard how it would create one directory and not the others. If permissions are 777 then all directories should be created.
Thanks, it seems to be working so Ill roll with it. Thanks for the help, keep up the good work!
have a good day then glad to help.
|All times are GMT -5. The time now is 02:51 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0