The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Suhosin and new installation... - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Suhosin and new installation... (/showthread.php?tid=1884)



Suhosin and new installation... - SteadmanTech - Feb 1st, 2012

I am trying to make a new installation on a client's server and find that they have Suhosin installed and the settings are as follows...

suhosin.get.max_vars 100
suhosin.post.max_vars 200

The Form Tools installer says this is going to be trouble. What do I do now? This is a WHM/Cpanel server.


RE: Suhosin and new installation... - FriedGeek - Feb 1st, 2012

I've never used Suhosin so all I can suggest is to look here http://docs.formtools.org/installation/?page=suhosin and the Suhosin website http://www.hardened-php.net/suhosin/

If your client has access to WHM, he should be able to configure Suhosin or disable it completely. If he's on shared hosting, he might try contacting support and see if they can increase the max_vars to at least a few thousand for his account. If nothing can be done, I'd be looking for another host that doesn't have Suhosin enabled..


RE: Suhosin and new installation... - Ben - Feb 6th, 2012

Hi Steadman,

Yeah, I agree with FriedGeek - try contacting the host. 100 permitted vars in POST and GET requests is *extremely* small. I understand why they enabled suhosin, but setting those values so low makes the entire host kind of useless for many standard web apps.

Good luck!

- Ben


RE: Suhosin and new installation... - SteadmanTech - Feb 6th, 2012

Yes, I am trying to reach the host but have to go through my client to do so. I wish I had a direct connection to the host but I don't. So far the client's been silent to my request. Will update you on what happens.

I have an installation of Form Tools on my own hosting server which I believe I could process their form submissions through (correct?). But my preference for this client is to keep everything they need (forms, form processing, other features and tools) self contained within their own domain. Keeps them from being dependent on any outside resources down the line.

Hoping to get some help from the host.