Page 1 of 1

Problem with upload new image Fatal error: Allowed memory

Posted: Tue Jun 20, 2006 2:35 pm
by integrare
hi boys im a new user of this great script, compliments for your job.

I have made the installation configuration and theme personalized, today i want insert new image photo to category for insert in my entry

i have this error

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4364 bytes) in /var/www/html/include/functions_images.inc.php on line 1214

i have insert more image whitout probelm (20-30 image of 75kb +or - ) first this problem

have suggestion?

i have look the page functions_images.inc.php not find the istruction to change this value.

note: i have llok in the forum first publish my message i dont' have find nothing :(


sorry for my english :)

Serendipity 1.1-alpha5 and PHP 4.3.9

Posted: Tue Jun 20, 2006 5:25 pm
by judebert
Open your php.ini and increase the memory_limit from 8M to something larger, like 16M. S9Y takes up a variable amount of memory depending on what you're doing and which plugins you have installed. That error means it ran out.

Posted: Tue Jun 20, 2006 11:07 pm
by integrare
Thanks jude for quick reply, for the change php.ini i have a contact hosting administrator? yes?

i want ask i have look your site i lave look your favicon you have a tricks for code insert in the template?

have a nice day

Alex

Posted: Wed Jun 21, 2006 7:43 pm
by judebert
If you have FTP access, you can just modify your php.ini locally and take care of it yourself.

Thanks for the kind words. Although you could change the favicon in your headers in index.tpl, all you really have to do is put a favicon.ico in your root HTTP directory. Serendipity doesn't mess with it.

Posted: Wed Jun 21, 2006 7:54 pm
by jhermanns
you also need to set the max post vars setting to reflect the new memlimit value in order for the upload to work :-)

Posted: Sun Jun 25, 2006 3:03 pm
by integrare
hi boys thenks for interest ahd sorry for retard to my reply i test your suggestion and word :)

thanks thanks