Sometimes you can find the following line appearing in your webserver error logs:
[Tue Mar 13 10:48:03 2012] [error] [client 220.127.116.11] ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker '23.xx.25.190', file '/var/www/xxxxx/xxxxxx/xxxxxx/web/wp-admin/admin.php', line 109), referer: http://website.com/wp-admin/edit.php
There is a quick solution and it can be found in a file called:
[20121223 – UPDATED]: Please, see the Andreas comment below.
It seems to be better to move the “define(‘WP_MAX_MEMORY_LIMIT’, ’64M’);” in wp-config.php rather than default-constants.php. Anyway this stopped after the wordpress update
Thank you Andreas!
you can easily change (around line 96) the var value from 256 megs to the memory size that best suits your server needs.
Do not hesitate to comment for help.
(Visited 1,920 times, 1 visits today)
It may happen in several hosting environments to discover this line in your webserver error log:
ALERT - configured POST variable limit exceeded - dropped variable 'name_of_dropped_variable' (attacker '18.104.22.168', file '/several dirs..../wp-admin/post.php'), referer: http://sitename.tld/wp-admin/post.php?post=181&action=edit
Well i discovered and solved this situation:
Cause: It is caused by PHP suhosin
you can “locate” it on your disk it using the “locate” command as follows
(if it is first time you use locate) type:
# locate suhosin
for my machine (debian) it is located within /etc/php5/conf.d/suhosin.ini
so you can edit it by typing:
Now, look into your suhosin.ini fìle until you see the followings vars:
You want to remove the comment symbol “;” from the very beginning of these two lines and the increase the default value (it should be 200) to at least 500 in order to make complex wordpress themes working properly.
Remember to kick apache2 typing
Incoming search terms:
- alert - configured post variable limit exceeded - dropped variable (12)
(Visited 2,908 times, 1 visits today)