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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 20th, 2006, 06:21 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 48
Image Uploading Errors

For many, many months... we have been having errors with this software. I have upped the memory limit multiple times and installed the "fix" for the errors that look like this:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11904 bytes) in /home/virtual/site85/fst/var/www/html/blabpics/image-inc.php on line 81

To try and fix this, I offered up an image and asked all of the individuals who are having the above error to try and upload the picture that I had provided, thinking that I'd rule out one of the many variables.

One of the users who has the proper permissions to post images, [quote]got this error:

Warning: imagecreatefromjpeg
(): '/home/virtual/site85/fst/var/www/html/blabpics/uploads/308/IMG_0042.JPG' is not a valid JPEG file in homevirtualsite85fstvarwwwhtmlblabpicsimage-inc.php on line 81

Is the software taking issue with her extension? I have asked her to email me the image so I can take a look at it.
GoodGeeks is offline   Reply With Quote
Old March 20th, 2006, 08:08 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
The issue is one of using GD2 which is part of PHP and uses PHP memory. If you really want to get into processing large images you want to use Imagemagick.

I would point you to the ini_set tweak but you already know about that
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 21st, 2006, 02:11 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 48
Imagemagick is located at:

/usr/bin/convert

What is the easiest way for me to switch over? I haven't tweaked the software in a while, I'd love a lead as to where to start.

Thanks Chuck!
GoodGeeks is offline   Reply With Quote
Old March 21st, 2006, 02:22 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
We use mogrify not convert so check to see if this exists

/usr/bin/mogrify

If it does simply in edit config set the path to mogrify and then in global options you can set your processor to imagemagick
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 21st, 2006, 05:27 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 48
I've switched it to the mogrify command and I still have no problems uploading.

one of the women who have had constant problems with this gallery has tried to upload an image and is getting this error:

Error creating thumbnail! Error code: 1

Command:

"/home/virtual/site85/fst/usr/bin/mogrify" -size 100x75 -quality 100 -geometry 100x75 '/home/virtual/site85/fst/var/www/html/blabpics/data/500/308IMG_0042-thumb.JP

She then attached the picture to her reply in vBulletin which I saved to my desktop. I went in photopost and uploaded the same picture with no problem.

Any ideas?

Thanks again, Chuck!
GoodGeeks is offline   Reply With Quote
Old March 21st, 2006, 06:45 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
The only think I see on that error line is the extention is only JP but error code 1 is a permissions error. Is her uploads directory 777?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 23rd, 2006, 12:12 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 48
/blabpics/data/500/ is her directory and it is set to 777.
GoodGeeks is offline   Reply With Quote
Old March 23rd, 2006, 12:26 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
/home/virtual/site85/fst/var/www/html/blabpics/uploads/308 would be per specific directory.

Have you tried clearing out her uploads directory and checking the permissions and have you tried uploading her file?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 23rd, 2006, 01:01 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 48
She did not have an upload directory so I created one and 777d it.

I could upload her pic w/ no problems.
GoodGeeks is offline   Reply With Quote
Old March 23rd, 2006, 01:04 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Okay well if she uploaded she should have an uploads directory and if the uploads directory is 777 it would be created automatically. If it did not exist then she can not upload. Check just to be sure safe mode was not turned on on the server.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
errors uploading 420 Photopost Pro Installation & Upgrades 12 October 3rd, 2005 03:14 PM
Errors uploading dwh Photopost Pro Installation & Upgrades 12 August 12th, 2005 12:24 PM
Uploading errors - fresh install girlie Photopost Pro Installation & Upgrades 2 July 6th, 2005 08:09 AM
CGI Errors since upgrading to 5.1 when uploading MattUK Photopost Pro Installation & Upgrades 46 June 10th, 2005 12:23 PM
Uploading Errors...This just started.... Vman Photopost Pro Installation & Upgrades 5 May 5th, 2005 07:52 PM


All times are GMT -5. The time now is 09:38 PM.

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