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 July 6th, 2006, 12:41 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
picture upload error / fatal error

Hi Chuck,

I have this problem when trying to upload pictures:

Quote:
Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 8192 bytes) in /var/www/web1/html/galleri/image-inc.php on line 84
I have been using the search function to see if the solutions to toher peoples similar issues could be usefull, but i didnt have such luck.

"I added the bold line to the image-inc.php file" and i added the "32mb line" with no luck either.

No i have my own thread with this issue, and i hope can help me solve this problem.

Thanks
finn snor is offline   Reply With Quote
Old July 6th, 2006, 02:45 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
You would add the ini_set line noted in other threads to your pp-inc.php file or the top of the uploadphoto.php file and that should help.
__________________
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 July 7th, 2006, 08:04 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
ini_set("memory_limit", "32M");

were added to both scripts

Quote:
pp-inc.php uploadphoto.php
Still same problem
finn snor is offline   Reply With Quote
Old July 7th, 2006, 08:34 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Have you tried clearing your uploads directory of all directories?
__________________
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 July 7th, 2006, 08:46 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
I cleared the upload folder and it did make a difference. However it just changed the problem to something different.

Quote:
Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 1148 is not allowed to access /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_004.jpg owned by uid 33 in /var/www/web1/html/galleri/bulkupload.php on line 502

Warning: filesize() [function.filesize]: stat failed for /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_004.jpg in /var/www/web1/html/galleri/bulkupload.php on line 502

Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 1148 is not allowed to access /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_015.jpg owned by uid 33 in /var/www/web1/html/galleri/bulkupload.php on line 502

Warning: filesize() [function.filesize]: stat failed for /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_015.jpg in /var/www/web1/html/galleri/bulkupload.php on line 502

Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 1148 is not allowed to access /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_028.jpg owned by uid 33 in /var/www/web1/html/galleri/bulkupload.php on line 502

Warning: filesize() [function.filesize]: stat failed for /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_028.jpg in /var/www/web1/html/galleri/bulkupload.php on line 502

Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 1148 is not allowed to access /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_042.jpg owned by uid 33 in /var/www/web1/html/galleri/bulkupload.php on line 502

Warning: filesize() [function.filesize]: stat failed for /var/www/web1/html/galleri/uploads/1238/OPP_5_juni_2006_042.jpg in /var/www/web1/html/galleri/bulkupload.php on line 502
finn snor is offline   Reply With Quote
Old July 10th, 2006, 07:44 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
Hi Chuck,

I checked my databases and they are in "Safemode off".

Any suggestions ?

Thanks
finn snor is offline   Reply With Quote
Old July 10th, 2006, 08:46 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Your error above says SAFE MODE is ON AND UPLOADS WILL NOT WORK as long as it is on.

View your PHP INFO and you will see what I mean. You will usually need to ask your host to turn this off unless you have access to edit the php.ini 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 July 10th, 2006, 09:58 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
Here is my php.info

http://housemusik.dk/phpinfo.php

According to that its off.......or am i missreading it ?
finn snor is offline   Reply With Quote
Old July 10th, 2006, 10:07 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Now I get another error something different

Warning: urldecode() expects parameter 1 to be string, array given in /var/www/web1/html/galleri/pp-inc.php on line 1540

The file you uploaded was not an acceptable format.:

what is your file formats allowed under Upload Options?
__________________
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 July 10th, 2006, 10:30 AM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
These are the formats (just added Gif)
Quote:
.jpg,.jpeg,.png,.gif
finn snor is offline   Reply With Quote
Old July 10th, 2006, 10:34 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
and the addition of gif somehow made it to work according to my latest upload (20 secs ago)

Please try a upload Chuck and se if it works just to make sure.

Thanks
finn snor is offline   Reply With Quote
Old July 10th, 2006, 10:57 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
http://housemusik.dk/galleri/showgal...00&ppuser=2918
__________________
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 July 10th, 2006, 12:07 PM   #13 (permalink)
Member
Verified Customer
 
pistebasher's Avatar
 
Join Date: Oct 2005
Posts: 264
Quote:
Have you tried clearing your uploads directory of all directories?
Chuck, what are all those directories for? Can I delete them? (sorry if off-topic)
pistebasher is offline   Reply With Quote
Old July 10th, 2006, 04:14 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
those are just user upload directories and can be cleared if you had stuck uploads but it appears you worked through the errors as your initial issue was SAFE MODE ON when you started posting the proper errors here and you set that off I take it.
__________________
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 July 12th, 2006, 11:12 PM   #15 (permalink)
Member
Verified Customer
 
Swanny's Avatar
 
Join Date: Jun 2002
Location: Western Canada
Posts: 382
I'm having this prob with 5.31. I tried adding the ini line, and deleting everything from the uploads folder. It still doesn't work.


Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 3000 bytes) in /home/fusion/public_html/photos/image-inc.php on line 99

The latest setting was 16MB, but it doesn't matter what I use. Another user (not admin) was able to upload a photo, but me as an admin.... no luck.
__________________
My PhotoPost Installations are at:
FordF150.net - Ford Truck Enthusiast Site
FordFlex.net - Ford Flex Enthusiast Site
FordTaurus.net - Ford Taurus Enthusiast Site
FordFusion.net - Ford Fusion Enthusiast Site
Swanny is offline   Reply With Quote
Old July 13th, 2006, 07:33 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
I replied to your other thread
__________________
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 August 13th, 2006, 05:59 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
This is a bump to my own thread.


I got problems bulk uploading images.

I cleared the directory
I added 40m upload line
I Checked permissions
I am running it in safe mode off
I promised to give my first born and double chack all the things mentioned in this thread.


I still have that problem with
Quote:
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/var/www/web1/html/galleri/data/537/thumbs/IMG_1555.JPG' for writing in /var/www/web1/html/galleri/image-inc.php on line 121

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10000 bytes) in /var/www/web1/html/galleri/image-inc.php on line 115
All this trying to upload 100 picture to a specific category.

Here is the catch, if i just want to upload it into the "general member galleries" it will upload approx half of the pictures.

Dear Chuck how do i fix this problem ?
finn snor is offline   Reply With Quote
Old August 13th, 2006, 06:26 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
well this error here tells me you did not raise the PHP memory to 40m as it is still set to 32M.

Quote:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10000 bytes) in /var/www/web1/html/galleri/image-inc.php on line 115
If you have imagemagick on the server I would suggest you use that instead of gd2. Memory issues are a constant issue using GD2 with big files or alot of files.
__________________
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 August 14th, 2006, 12:16 PM   #19 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
I am a novice webmaster, can you please explain me how i change to Imagemagick ?

thanks
finn snor 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
Fatal Error vbreal Photopost Pro How Do I...? 26 August 31st, 2006 11:57 AM
Another Fatal Error rabcross General Discussion 10 February 4th, 2006 03:06 PM
Fatal Error daveman1000 Installs and Upgrade - vBulletin 3.0.X 1 May 12th, 2005 09:05 AM
fatal error pelican Installs and Upgrade - vBulletin 3.0.X 1 May 11th, 2005 08:54 AM
installation error Fatal error: Call to undefined function: init_user_groups hoss ReviewPost Installation & Upgrades 1 January 16th, 2005 07:35 PM


All times are GMT -5. The time now is 03:05 AM.

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