Kicsihun Posted August 23, 2010 Share Posted August 23, 2010 Hello!The problem I have, is that the $_POST array doesn't contain more than a 1000 elements. The post_max_size was initially set to 8Mb. I changed it to 40M with .htaccess, but the array size is still 1000, though it should be 2535, because at the Translation Tool there are 2535 expressions to be translated.Are there other settings?Thanks Link to comment Share on other sites More sharing options...
rocky Posted August 23, 2010 Share Posted August 23, 2010 Try using a php.ini file instead of .htaccess to increase the maximum post size. Link to comment Share on other sites More sharing options...
Kicsihun Posted August 23, 2010 Author Share Posted August 23, 2010 I don't have access to the php.ini file. I tried it on localhost, with Wamp Server, setting the post_max_size to 100M and the memory_limit to -1 (unlimited) in php.ini, still the best result I got, was that the $_POST contained 1992 elements, instead of 2535.I tried to set these values with ini_set, but still no luck.Other suggestions? Are these values (100M and unlimited) too small? Link to comment Share on other sites More sharing options...
tomerg3 Posted August 23, 2010 Share Posted August 23, 2010 Try adding these two lines to your /php.ini file.If you don’t have one on your server, create on in the root of your site, and type these 2 lines in it.suhosin.post.max_vars = 4096suhosin.post.max_value_length = 4096 Link to comment Share on other sites More sharing options...
Kicsihun Posted August 24, 2010 Author Share Posted August 24, 2010 I don't have access to the php.ini, but I will contact the server administrator. I think this will do the trick, I checked the PHPInfo and the suhosin.post.max_value is set to 1000.Thanks! Link to comment Share on other sites More sharing options...
tomerg3 Posted August 24, 2010 Share Posted August 24, 2010 Most decent servers let you create a php.ini in your /www folder which will only affect your site. Link to comment Share on other sites More sharing options...
Kicsihun Posted August 24, 2010 Author Share Posted August 24, 2010 The suhosin.post.max_value is now 4096, the suhosin.post.max_value_length was already set to 1000000, but the $_POST's size is still 1000. Link to comment Share on other sites More sharing options...
tomerg3 Posted August 24, 2010 Share Posted August 24, 2010 Perhaps your host is ignoring the php.ini file.You can check it using phpinfo() and see what the values are set for those variables. Link to comment Share on other sites More sharing options...
Kicsihun Posted August 24, 2010 Author Share Posted August 24, 2010 I've checked both of them at the phpinfo:suhosin.post.max_vars = 4096suhosin.post.max_value_length = 1000000 Link to comment Share on other sites More sharing options...
tomerg3 Posted August 24, 2010 Share Posted August 24, 2010 Hmm, not sure then, it's the first time I see this issue.... Link to comment Share on other sites More sharing options...
Kicsihun Posted August 24, 2010 Author Share Posted August 24, 2010 Should I attach a screenshot with the suhosin settings? Link to comment Share on other sites More sharing options...
tomerg3 Posted August 24, 2010 Share Posted August 24, 2010 if you say you see it in the phpinfo file, I believe you...I just don't know what else it could be without taking a closer look, and unfortunately I don't have the time for that. Link to comment Share on other sites More sharing options...
Kicsihun Posted August 24, 2010 Author Share Posted August 24, 2010 If you'll have the time please let me know I'm out of ideas. (Anyway thanks a lot! Link to comment Share on other sites More sharing options...
Kicsihun Posted August 26, 2010 Author Share Posted August 26, 2010 No one else with other suggestions??? Link to comment Share on other sites More sharing options...
mowax Posted April 7, 2016 Share Posted April 7, 2016 Hi Kicsihun Did you ever find a solution to this? I'm having the same problem. My host has tried modifying the server php settings, but still no luck. I'm trying to copy a large table of data into a CMS page (6 columns x 500 rows) and each cell is 1 element, so I need to increase the $_POST array to 3000. But how to do this? Can anyone help please? Link to comment Share on other sites More sharing options...
mowax Posted November 21, 2016 Share Posted November 21, 2016 still looking for a solution for this... is it possible to xref the table into the CMS page? any other ideas out there? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now