 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
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
|
| |
July 6th, 2006, 02:45 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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.
|
| |
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
|
| |
July 7th, 2006, 08:34 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
Have you tried clearing your uploads directory of all directories?
|
| |
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
| |
| |
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
|
| |
July 10th, 2006, 08:46 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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
|
| |
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 ?
|
| |
July 10th, 2006, 10:07 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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?
|
| |
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) |
| |
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
|
| |
July 10th, 2006, 10:57 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
| |
| |
July 10th, 2006, 12:07 PM
|
#13 (permalink)
| | Member Verified Customer
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)
|
| |
July 10th, 2006, 04:14 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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.
|
| |
July 12th, 2006, 11:12 PM
|
#15 (permalink)
| | Member Verified Customer
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.
|
| |
July 13th, 2006, 07:33 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
I replied to your other thread
|
| |
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 ?
|
| |
August 13th, 2006, 06:26 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,702
|
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.
|
| |
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
|
| | |
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 | | | All times are GMT -5. The time now is 10:43 AM. | |