Previous Thread
Next Thread
Print Thread
Rate Thread
Strange effect #313049
02/03/2007 8:46 AM
02/03/2007 8:46 AM
Joined: Jul 2001
Posts: 811
Berlin, Germany
Zarzal Offline OP
Coder
Zarzal  Offline OP
Coder

Joined: Jul 2001
Posts: 811
Berlin, Germany
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?

Sponsored Links
Re: Strange effect [Re: Zarzal] #313054
02/03/2007 6:30 PM
02/03/2007 6:30 PM
Joined: Mar 2000
Posts: 25,587
Texas
AllenAyres Offline
I type Like navaho
AllenAyres  Offline
I type Like navaho

Joined: Mar 2000
Posts: 25,587
Texas
I'm still trying to wrap my brain around 250 forums on one site eek


- Allen wavey
- What Drives You?
Re: Strange effect [Re: AllenAyres] #313057
02/03/2007 11:01 PM
02/03/2007 11:01 PM
Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
Gizmo Offline

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Offline

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
haha, sounds crazy doesn't it...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.SitemapsJames Corthell
Re: Strange effect [Re: Gizmo] #313058
02/04/2007 5:14 AM
02/04/2007 5:14 AM
Joined: Jul 2001
Posts: 811
Berlin, Germany
Zarzal Offline OP
Coder
Zarzal  Offline OP
Coder

Joined: Jul 2001
Posts: 811
Berlin, Germany
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.


Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
· Interserver.net
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 84
Joined: December 2001
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,466
Posts293,522
Members13,801
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,947
Greg Hard 5,533
Top Posters(30 Days)
isaac 1
Today's Statistics
Currently Online 811
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 10
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2018 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.0
(Snapshot build 20181115.dev)
PHP: 5.4.45 Page Time: 0.031s Queries: 15 (0.009s) Memory: 3.1818 MB (Peak: 3.4063 MB) Data Comp: Zlib Server Time: 2018-12-11 04:16:15 UTC