Hello,
i'm unsure if this is a bug... When i try to add a plugin, i get the following:
Ereignis-Plugins
Versuche URL package_event_de.xml zu öffnen...
243334 bytes von obiger URL geladen. Speichere Inhalt als /var/www/html/templates_c/package_event_de.xml...
Daten erfolgreich geladen.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes) in /var/www/html/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 538
What could be the problem? s9y1.2
Allowed memory size
Hi Harald,
I was getting this same error message on first accessing my blog. It refered to PHP's memory_limit. My default was 8MB. I upped my memory_limit in my php.ini to 10M and then it worked.
I had a look at my local install of PHP to see why this didnt happen on my develop environment, and it seems that the default memory_limit on my windows installation of PHP is 128M!!!
Hope this helps
Cheers,
Chris.
I was getting this same error message on first accessing my blog. It refered to PHP's memory_limit. My default was 8MB. I upped my memory_limit in my php.ini to 10M and then it worked.
I had a look at my local install of PHP to see why this didnt happen on my develop environment, and it seems that the default memory_limit on my windows installation of PHP is 128M!!!
Hope this helps
Cheers,
Chris.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Allowed memory size
Hi Harald!
In your case, you could try to lower the required memory be removing some serendipity plugins from your installation.
regards,
Garvin
In your case, you could try to lower the required memory be removing some serendipity plugins from your installation.
regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Harald Weingaertner
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
Thank you, both helped.
Today i've also got this while posting a new entry:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 275170 bytes) in /var/www/html/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 333
So i should i really should remove some plugins
Today i've also got this while posting a new entry:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 275170 bytes) in /var/www/html/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 333
So i should i really should remove some plugins
Re: Allowed memory size
Depending on how PHP is setup this could kill the site. On some servers if it does not work correctly it will through an error while on others (like mine) the page will just be while and the error will be in error_log.reinhardl wrote:Add
php_value memory_limit "16M"
to your .htaccess file
Quite a few servers are setup so that users can not change the php settings for security reasons.
Re: Allowed memory size
chickens wrote:Depending on how PHP is setup this could kill the site. On some servers if it does not work correctly it will through an error while on others (like mine) the page will just be while and the error will be in error_log.reinhardl wrote:Add
php_value memory_limit "16M"
to your .htaccess file
Quite a few servers are setup so that users can not change the php settings for security reasons.
It does`t work on every machine but it`s a chance and you can try it.
If you install an update you should backup your database so it is no problem to restore
All times I had this problem I could fix it with the .htaccess
-
Harald Weingaertner
- Regular
- Posts: 474
- Joined: Mon Mar 27, 2006 12:32 am
-
Florian Fiegel
- Regular
- Posts: 21
- Joined: Fri Feb 15, 2008 12:38 pm
- Location: Germany/Bochum
- Contact: