By ThePeach on
hi all, sometimes since the other night, I get this error when I try to upload some images (usually bigger than 150kb)
Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 2359296 bytes) in /web/htdocs/www.smartart.it/home/includes/image.inc on line 288
the image size is 105,6KB
The strange thing is that I've already uploaded this image!!! Now I cannot anymore!
the only thing I've added in drupal was the captcha and textimage modules, nothing more.
Should I open a support tiket with my linux hosting service? And what about? Could it be a problem of /tmp or /var full ?
I've drupal 4.7.3 installed with these modules:
- captcha
- image
- img_assist
- poormanscron
- textimage
thanks for any help
Comments
Your problem here is that
Your problem here is that you're trying to use more memory in PHP than you're allowed to allocate. Doing a search on this site would have helped you find the problem pretty easily. Take a look at http://drupal.org/node/76156
Steve Hanson
Principal Consultant Cruiskeen Consulting LLC
http://www.cruiskeenconsulting.com
Steve Hanson
Publisher Eye On Dunn County
https://eyeondunn.com
oh well...
Thanks for your help. I did the search and the result is not suitable for me.
2 things:
1st) I can't use any .htaccess neither modify the php.ini
2nd) the solution you pointed at is not the solution: I already have 12MB of max memory!!! as the error I reported is stating... It can't be wrong!!!
3rd) how did it work before yesterday, uploading without problems and now is not working? what is wrong? should I dig into the code by myself? and either open a bug report?
noone has ever reported problems like this and the only solution is giving more memory to drupal?
Another thing I noticed: the error I reported is prompted (not always as already stated) only when I try to preview the image.
Instead if I try to submit directly I get an:
impossible to copy selected file into (/home/www.smartart.it/files/)and the image node is created anyway.could it be significant? no execeeded memory reported and no error can be found in the logs...
Problem FOUND!!!
Ok, as long as I've inspected, the responsible of my half-madness is captcha.
Disabling it everything started working as espected.
Is this a bug or what?
I'm reporting it right now to the dev. team of captcha... hope this helps.