 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 18th, 2006, 11:56 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2006
Posts: 9
| Upload problems - again.....
When I or any other users try to upload any pictures an error message showing:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 10000 bytes) in /var/www/html/PhotoPost/image-inc.php on line 115
- is displayed. Now I've been here before and have inserted:
error_reporting (E_ALL ^ E_NOTICE);
ini_set("memory_limit", "48M");
into pp.inc.php
In fact the first time it happened I set 32M, and it worked. this time I increased it, but it still won't work.
The file I'm trying to upload is about 330Kb, there have been sucessful uploads of over 1Mb on the same installation recently without problem.
What do I do? This is just the latest in a long string of Photopost problems, I use it as an addon to VBulletin which has always run fine.
Paul
|
| |
March 18th, 2006, 03:04 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Try clearing out your uploads directory of all directories and files and try again.
If you want to not have any memory errors my suggestion would be to use ImageMagick as the memory issues come from the use of GD which is part of PHP.
|
| |
March 19th, 2006, 09:43 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2005
Posts: 21
|
I am having a similar issue when I go to upload a photo:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2400 bytes) in /SERVERPATH/gallery/image-inc.php on line 115
Chuck, when you say, try clearing out the uploads directory, you saying to delete all the photo's which have been uploaded. I can't afford to do that.
|
| |
March 19th, 2006, 10:19 AM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2006
Posts: 9
|
I cleared out the uploads directory which had 3 stalled images in it, but it made no difference.
TunerNetwork - the uploads is an inbetween stage where images are stored before you decide where it's going to go and click on "process". In my case it contained images that were uploaded but not displayed due to the php memory error. You can see them if you FTP into the file and then download any onto your desktop for viewing.
I contacted my host and it turns out I have Image Magick installed there anyhow. So I made the changes and things are working fine now. Thanks for the pointer Chuck.
|
| |
March 19th, 2006, 11:41 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Yes clearing the uploads directory does not delete photos that have been uploaded. That would be the data directory.  You can clear the uploads directory should you have uploads that have failed and are clogging the process up.
|
| |
March 19th, 2006, 01:38 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2005
Posts: 21
|
ok, i will delete the folders in the "uploads" directory. I will also check with my host and see if Image magik is installed. i will let you know, thanks for the help guys
|
| |
March 19th, 2006, 02:05 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2005
Posts: 21
|
i deleted the folders in the uploads directory, still no dice. I either get that previously mentioned error, or just a white screen and it stops loading when I attempt to upload a photo. I am running gd2 but...
Do i have to change something in that image-inc.pho file?
|
| |
March 19th, 2006, 03:04 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2005
Posts: 21
| Code: Content visible to verified customers only.
Ok this worked. Is this a Temporary Fix, or do I have to have the server host correct something on the backend so it doesnt happen again. Again, I appreciate your support in this, just a pain when everything is running fine and an error pops up. Cheers!
|
| |
March 19th, 2006, 03:36 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Well GD is part of your PHP and as such uses up PHP's memory. What happens if on larger files GD uses the PHP memory up and as such PHP on your server shuts down. The edit I provided increases the memory some. Imagemagick does not use PHP memory so if your server has it it is always best to use it.
|
| |
March 19th, 2006, 09:54 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2005
Posts: 21
|
thanks chuck, ill ask my server host about this!
|
| |
March 23rd, 2006, 07:11 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2005
Posts: 21
|
Ok Chuck, riddle me this,lol. server host says Imagemagik is installed, so in the admin portion of the photopost, I turn imagemagik on.
I test upload a photo, and get the following: Error creating thumbnail! Error code: 127
Command:
"/usr/bin/X11/mogrify" +profile "*" -size 100x75 -quality 100 -geometry 100x75 -unsharp 10 '/SERVERPATH/forum/gallery/data/500/thumbs/JDMSteve038.jpg' |
| |
March 23rd, 2006, 07:34 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
The path your telling Photopost mogrify is located is incorrect. Ask your host the exact location of mogrify
|
| |
March 24th, 2006, 08:39 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2005
Posts: 21
|
Fixed! Thanks again Master! lol
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Bulk Upload Problems | nester | Photopost Pro Installation & Upgrades | 25 | September 29th, 2005 03:19 PM | | Upload problems | baggins | Photopost Pro Installation & Upgrades | 5 | March 8th, 2005 10:59 AM | | Problems Upload More than 1 Image | MacD | Installs and Upgrade - vBulletin 3.0.X | 1 | February 18th, 2005 11:33 PM | | Upload problems | morrowaudio | Photopost Pro Installation & Upgrades | 8 | July 2nd, 2004 09:13 PM | All times are GMT -5. The time now is 12:57 AM. | |