Problem with upload new image Fatal error: Allowed memory

Found a bug? Tell us!!
Post Reply
integrare
Posts: 3
Joined: Tue Jun 20, 2006 2:25 pm

Problem with upload new image Fatal error: Allowed memory

Post 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
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
integrare
Posts: 3
Joined: Tue Jun 20, 2006 2:25 pm

Post 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
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post 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 :-)
integrare
Posts: 3
Joined: Tue Jun 20, 2006 2:25 pm

Post by integrare »

hi boys thenks for interest ahd sorry for retard to my reply i test your suggestion and word :)

thanks thanks
Post Reply