Issue :

Unable to publish large articles , say more than 500 words, in Media Wiki.
Changing the upload limit doesn’t resolve the issue.
Nothing appears in apache error logs either.

Fix :

Try to publish the article and check the /var/log/messages.

[root@localhost ~]#tail -f /var/log/messages | grep domain

Mar 5 15:11:57 server12 suhosin[4451]: ALERT – configured request variable value length limit
exceeded dropped variable ‘content_text’ (attacker ‘122.166.14.197’, file ‘/home/domain/public_html/sald.ru/part/content/content_submit.php’)

Open the apache configuration file (httpd.conf) and add the following lines to the VirtualHost entry for the domain.

php_admin_value suhosin.request.max_value_length 16000000
php_admin_value suhosin.post.max_value_length 16000000

Restart apache and try again. If the problem persists then add the following also :

suhosin.post.max_vars 6000
suhosin.request.max_vars 6000
suhosin.memory_limit 64M
suhosin.get.max_value_length 1024

Restart apache again and the issue should be fixed.


Shares
Contact Us On WhatsApp