PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 17th, 2007, 12:54 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 10
Error messages and now I've lost pictures

Chuck,

Is it possible for you to look into my site.. I've exhausted myself trying to solve these issues..

First issue was members could not upload and getting this error..

Warning: copy(/home/cerrone/public_html/forum/gallery/data/509/D90-1.jpg) [function.copy]: failed to open stream: No such file or directory in /gallery/uploadphoto.php on line 679

Warning: getimagesize(/home/cerrone/public_html/forum/gallery/data/509/D90-1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /gallery/image-inc.php on line 250

Warning: Division by zero in /gallery/image-inc.php on line 295

Warning: getimagesize(/home/cerrone/public_html/forum/gallery/data/509/D90-1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /gallery/image-inc.php on line 94

Warning: unlink(/home/cerrone/public_html/forum/gallery/data/509/D90-1.jpg) [function.unlink]: No such file or directory in /gallery/image-inc.php on line 106


I tried checking everything I could think of and looked through the forums. I suppose I may have messed everything up since all my pictures in the gallery have disappeared. Would it be possible for you to help support my issue.

Thank you much,

www.lrrforums.com
biglips31 is offline   Reply With Quote
Old June 17th, 2007, 08:21 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
I would suggest you check to ensure your data and uploads directories are 777 at every level beneath those directories
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 17th, 2007, 09:59 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 10
Did that 777 and everything underneath...
biglips31 is offline   Reply With Quote
Old June 17th, 2007, 10:46 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 10
Ok, I'm gonna suck it up and keep with it...

I also have this error when trying to upload myself...

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/jpegtran) is not within the allowed path(s): (/home/cerrone:/usr/lib/php:/usr/local/lib/php:/tmp) in /gallery/image-inc.php on line 557

A small picture will show up but when uploading a larger image everything says it processed correctly but nothing shows on the gallery..

I recently switched to new server but all paths are the same..

I'll go back and double check my paths..

Should the path have a / at the end?

/home/cerrone/public_html/forum/gallery/data/ = Like this

/home/cerrone/public_html/forum/gallery/data = or like this?
biglips31 is offline   Reply With Quote
Old June 17th, 2007, 10:54 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Your host has open_basedir set so you can not use jpegtran or imagemagick

Clear the paths to jpegtran jhead etc and set your processor to GD2 in global options

Path needs a slash on end

Test what sizes work and what sizes it fails at.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 17th, 2007, 11:11 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 10
Awesome,

Ok my error is gone when uploading now..

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/jpegtran) is not within the allowed path(s): (/home/cerrone:/usr/lib/php:/usr/local/lib/php:/tmp) in /gallery/image-inc.php on line 557

I will have to check with users on the other..

I uploaded a jpeg 86kb & worked perfectly..

I tried uploading a 2.4mb photo and everything said it was processed correctly but when going into the site nothing was there.. Maybe I have a upload limit on the server somewhere? Thoughts?
biglips31 is offline   Reply With Quote
Old June 17th, 2007, 01:17 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 10
Ok, seems like Im starting to get somewhere..

I adjusted php.ini file upload size and restarted server.

Then I got this error on upload...

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5120 bytes) in /home/cerrone/public_html/forum/gallery/image-inc.php on line 102


Any ideas..

A member uploaded a picture but said he got an error but the photo uploaded by the thumbnail wasnt made. I went in and rebuilt thumbnails and it appeared..
biglips31 is offline   Reply With Quote
Old June 17th, 2007, 01:39 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 10
Found the posts regarding adding set.ini

edited uploads, bulkloads and php files..

Now I get this error..

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 2500 bytes) in /home/cerrone/public_html/forum/gallery/image-inc.php on line 138


When uploading the photos are going into the upload directory.. I cleaned everything else out..
biglips31 is offline   Reply With Quote
Old June 17th, 2007, 03:53 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 10
We'll I switched over to Imagemakic and changed to /usr/bin/mogrify in Mogrify
and all problems seem to have disappeared..

So the question is, did I loose all my pictures that used to be there?

Comments numbers are still listed.. I guess I need to wipe these out somewhere and start anew.

Is Image better than GD2 processing?
biglips31 is offline   Reply With Quote
Old June 17th, 2007, 06:04 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
well first off without knowing more about what you mean by you lost photos we cant assist. At any rate you should always have backups of your database and files and restoring those should assist with any lost photos

Using Imagemagick is always better because your not using PHP memory like GD2 does and as you found out the problems uploading larger files

You can not upload a file over 2 mb as thats limited by your servers PHP max upload size so unless your modifying php settings your stuck to lower than that size.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Messages LoriW Photopost Pro Bug Reports 4 January 26th, 2007 11:14 PM
error messages whitetigergrowl Photopost Pro How Do I...? 8 June 18th, 2006 09:45 PM
Several error messages jbwax Photopost Pro Bug Reports 18 February 1st, 2006 04:05 PM
re: I get error messages agardonia Photopost Pro Installation & Upgrades 1 June 21st, 2005 07:36 AM


All times are GMT -5. The time now is 08:33 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0