PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Errors on uploads (http://www.photopost.com/forum/photopost-pro-bug-reports/140945-errors-uploads.html)

WeST October 14th, 2009 09:35 PM

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"

Chuck S October 14th, 2009 10:25 PM

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?

WeST October 14th, 2009 10:41 PM

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

Chuck S October 14th, 2009 11:05 PM

Create a new category do all directories get created?

WeST October 14th, 2009 11:10 PM

Ok, created a new cat, it did create the new directories and 777 is correct, but the Owner:Group is apache.

Chuck S October 14th, 2009 11:25 PM

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.

WeST October 15th, 2009 12:51 AM

Thanks, it seems to be working so Ill roll with it. Thanks for the help, keep up the good work!

Chuck S October 15th, 2009 07:45 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97