vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Tips & Tricks (https://vborg.vbsupport.ru/forumdisplay.php?f=239)
-   -   [Tip] Having Suhosin Module Problems? Try this (https://vborg.vbsupport.ru/showthread.php?t=221373)

paintballer.ie 08-19-2009 10:00 PM

[Tip] Having Suhosin Module Problems? Try this
 
Here is a tip for any one who is having trouble with the Suhosin module in vbulletin. It was bugging me for a long time. I have it originally posted HERE in my admin blog for my website.

I was getting the following errors:

* When trying to update the CSS of my style

Quote:

Required variables have gone missing and execution can not continue. Please try again.

This error can sometimes occur as a result of Suhosin / Hardened PHP being installed on your server. If you know that you have Suhosin running and you have access to the PHP configuration, try increasing the value of the following variables:

* php_value suhosin.post.max_vars
* php_value suhosin.request.max_vars
* When working on vbadvanced
Quote:

The dreaded 'Get me out of this script'
I already tried to add items to the .htaccess file in my root folder and that resulted in a 500 internal server error. I also tried to change around a php.ini file in my forum root, but that did not help.

Here is that my host did and solved it:
1. Open notepad or any text editor
2. Copy the code below into it
3.
Code:

php_flag suhosin.cookie.encrypt Off
      php_value suhosin.request.max_vars 2048
      php_value suhosin.post.max_vars 2048

4. Save and php.ini
5. Upload to your admincp folder

The difference being to add it to the admincp folder and not your forum root. It seemed to make all the difference.

I hope it helps some one.
http://www.paintballer.ie

docvader 05-13-2010 08:06 AM

Worked for me. Thanks!

BlueCheri 10-03-2010 08:04 AM

Yes buddy, it is working.

Thanx a tons.


All times are GMT. The time now is 08:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00922 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete