UBB.Dev
Posted By: Zarzal Strange effect - 02/03/2007 4:46 PM
On ubbcentral I report a problem with forummange.php
'If you try to manage forums (there are over 250 in this board) and submit your changes you will og out, the cookie is destroyed.
Rick take a clooser look and find out thats not related to Threads but to the php or server config. He is not able to say excactly whats going on.

"Ok, this one is a bit strange. It took a long time to track down but basically, it seems PHP is configured to only allow so much _POST data. Once it reaches 200 forums it actually blanks out the _COOKIE variables. It ended up wiping out all of the forum details for anything beyond that amount. This could be a PHP setting or an apache setting in how much data it will actually accept. I tried to duplicate this on my test site by making over 200 forums and no problem."

So I digg deeper and check phpinfo. I found a modul varfilter (Hardening-Patch's variable filter support)
running on this server. Is someone here using this? We have to find out whats going on on this server to teach sthe support what need to be changed.

The setting of this modul are:
hphp.cookie.disallow_nul 1 1
hphp.cookie.max_array_depth 100 100
hphp.cookie.max_array_index_length 64 64
hphp.cookie.max_name_length 64 64
hphp.cookie.max_totalname_length 256 256
hphp.cookie.max_value_length 10000 10000
hphp.cookie.max_vars 100 100
hphp.get.disallow_nul 1 1
hphp.get.max_array_depth 50 50
hphp.get.max_array_index_length 64 64
hphp.get.max_name_length 64 64
hphp.get.max_totalname_length 256 256
hphp.get.max_value_length 512 512
hphp.get.max_vars 100 100
hphp.post.disallow_nul 1 1
hphp.post.max_array_depth 4000 4000
hphp.post.max_array_index_length 64 64
hphp.post.max_name_length 64 64
hphp.post.max_totalname_length 256 256
hphp.post.max_value_length 65000 65000
hphp.post.max_vars 3000 3000
hphp.request.disallow_nul 1 1
hphp.request.max_array_depth 2000 2000
hphp.request.max_array_index_length 64 64
hphp.request.max_totalname_length 256 256
hphp.request.max_value_length 65000 65000
hphp.request.max_varname_length 64 64
hphp.request.max_vars 600 600
hphp.upload.disallow_elf_files 1 1
hphp.upload.max_uploads 25 25
hphp.upload.verification_script no value no value
varfilter.max_array_depth 100 100
varfilter.max_array_index_length 64 64
varfilter.max_request_variables 600 600
varfilter.max_totalname_length 256 256
varfilter.max_value_length 200000 200000
varfilter.max_varname_length 64 64

any ideas?
Posted By: AllenAyres Re: Strange effect - 02/04/2007 2:30 AM
I'm still trying to wrap my brain around 250 forums on one site eek
Posted By: Gizmo Re: Strange effect - 02/04/2007 7:01 AM
haha, sounds crazy doesn't it...
Posted By: Zarzal Re: Strange effect - 02/04/2007 1:14 PM
I found the source of the problem. Its the varfilter:
http://forum.hardened-php.net/viewtopic.php?pid=211

Now I wait for provider response and change of some values.
© UBB.Developers