coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: ricco0672 on March 28, 2010, 06:58:03 PM

Title: Thumbnails not created
Post by: ricco0672 on March 28, 2010, 06:58:03 PM
Hi,

I get the following error when trying to add some pics (not too large).

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /home/ricco/public_html/fotos/include/picmgmt.inc.php  on line 262

I was looking at the help, and found that:

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorAllowedMemorySize

But, this did not solve my problem - cause I have 32 MB available in PHP.INI. I have tried to add only one photo or 10, it gives me always the same error message. Well, when using ImageMagick it was slightly different.

So, no clue where the problem could be. What data do you need from me?

This is the Debug info:
USER:
------------------
Array
(
    [ID] => f21e9953711437bf375e184a84998aba
    [am] => 1
    [lang] => german
    [liv] => Array
        (
           
Title: Re: Thumbnails not created
Post by: papukaija on March 28, 2010, 07:09:47 PM
Please post a link to your gallery (as asked in board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.0.html)). How big is your photo? You can also use imagemagic since it is run outside php.

Finally, please remember this about the debug mode:
QuoteTurn it on (option "Everyone") if you are requesting help on the coppermine support board, so the supporters can have a look at the debug output as well.
Title: Re: Thumbnails not created
Post by: ricco0672 on March 28, 2010, 09:52:28 PM
Hi,

sorry,

http://72.29.73.247/~ricco/fotos

The photos are not bigger than 2,5 MB. I used ImageMagick before, but thumbnails were not generated since February. I don´t know what has changed as many pictures have been uploaded before that.

thanks,

Title: Re: Thumbnails not created
Post by: Joachim Müller on March 29, 2010, 08:08:58 AM
Quote from: ricco0672 on March 28, 2010, 06:58:03 PMBut, this did not solve my problem - cause I have 32 MB available in PHP.INI.
So what? You need to re-read the section you refer to. Your reply
Quote from: ricco0672 on March 28, 2010, 09:52:28 PMThe photos are not bigger than 2,5 MB
clearly shows that as well: the file size doesn't matter at all. It's the dimensions of the image that counts.

Quote from: ricco0672 on March 28, 2010, 06:58:03 PMThis is the Debug info
Nobody asked for it.

If you have issues with upload, you need to do exactly as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support

Quote from: ricco0672 on March 28, 2010, 09:52:28 PMI used ImageMagick before, but thumbnails were not generated since February. I don´t know what has changed as many pictures have been uploaded before that.
Then ask your webhost what has changed on your webserver setup. However, judging from the fact that you posted the link to your gallery by IP address I guess that you're self-hosting, which might be the initial cause for your issues.