coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: popoeo on August 11, 2006, 06:31:21 PM

Title: Fatal error: Allowed memory size of ...
Post by: popoeo on August 11, 2006, 06:31:21 PM
Hello everyone. I have a big problem uploading my pics: when i confirm the final upload step (description of pic) coppermine give me this error:

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 2000 bytes) in /web/htdocs/www.esmeraldaviaggi.com/home/cpg148/include/picmgmt.inc.php on line 272

Someone can help me? I set permissions on 777.
I noticed that coppermine creates the pics (small and intermediate) by exploring ftp but it can't be able to upload them into the album.
If you want to visit the gallery for some experiment the address is:

http://www.esmeraldaviaggi.com/cpg148/index.php
login: test
password: test


My infos are:

USER:
------------------
Array
(
    [ID] => 739dc4c694d262541cf10f99e7688010
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => elena
    [groups] => Array
        (
           
Title: Re: Fatal error: Allowed memory size of ...
Post by: Joachim Müller on August 11, 2006, 07:17:41 PM
Reason: Fatal error: Allowed memory size of X bytes exhausted (http://forum.coppermine-gallery.net/index.php?topic=24088.msg110690#msg110690)
In the future, please don't post debug_output unless requested and search the board for your error message first.
The account you posted is an admin account - never do this on a public board - someone could have ruined your entire site in an instant or installed a backdoor. I created another user named "gaugau" (you can savely delete that user now) in order to make the test user account you posted a member of the registered group instead of the admin group. For security reasons, change all your passwords now.
Uploading a file with decent dimensions worked flawlessly (see http://www.esmeraldaviaggi.com/cpg148/displayimage.php?pos=-1).
Read the upload troubleshooting section from the docs and do exactly as suggested there if you have upload issues in the future (after having read the sticky thread article I refered to in the first place).

Joachim
Title: Re: Fatal error: Allowed memory size of ...
Post by: popoeo on August 12, 2006, 12:15:02 AM
Dear GauGau,
I'm terribly sorry (what a newbie figure!!  :-[), I had my head in the clouds.
You say in the troubleshooting that is the resolution the problem, in fact my pics are high resolution 1600x1200 and over.  :-\
The optimal solution is to talk with my hoster in final way, I'll do that.
Thank you very much for the very fast support!  ;D
Title: Re: Fatal error: Allowed memory size of ...
Post by: popoeo on August 12, 2006, 12:27:27 AM
Another fast question: what about using Imagemagick? The problem will probably remain?
Title: Re: Fatal error: Allowed memory size of ...
Post by: Nibbler on August 12, 2006, 12:36:01 AM
Use imagemagick and your problem is solved. It isn't subject to the php memory limit since it runs outside of php.
Title: Re: Fatal error: Allowed memory size of ...
Post by: popoeo on August 12, 2006, 12:53:01 AM
Thank you again.  :D