ElkArte Community

Project Support => General ElkArte discussions => Topic started by: emanuele on November 19, 2013, 08:18:10 am

Title: POST hates me.
Post by: emanuele on November 19, 2013, 08:18:10 am
Okay, I was working on moving the languages to their own dir:
https://github.com/elkarte/Elkarte/pull/1062
I was testing the admin panel and I realised that editing "large" files the entries are not saved.
The reason is that $_POST['save_entries'] is lost... well, actually not only that, any entry of the arrays after a certain limit (I didn't dig too much into the limits) is cut.

Large files for example like index.{language}.php or Admin.{language}.php, so about few hundreds lines.

SMF 2.0 is affected as well, so it's not something introduced by the recent development.

It's not a post_max_size issue (I have it set to 800 MB, while we are talking about some 70 KB), any idea what else could it be?

I didn't post in bug reports because I'm not sure it is a bug, but maybe just something wrong in my configuration.
Title: Re: POST hates me.
Post by: TE on November 19, 2013, 08:45:33 am
probably the php module suhosin? I've seen this several times....
Title: Re: POST hates me.
Post by: emanuele on November 19, 2013, 09:02:48 am
Nope, it's my localhost, so a plain php (5.3.17) coming with OpenSuse.

phpinfo attached.
Title: Re: POST hates me.
Post by: TE on November 20, 2013, 11:30:48 am
looks fine..
http://coding-problems.blogspot.de/2011/09/php-post-variables-getting-truncated.html