vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error when I try to add CSS (https://vborg.vbsupport.ru/showthread.php?t=203307)

trickfly 01-27-2009 09:25 PM

Error when I try to add CSS
 
I get this error when I try to add CSS to my forum in admincp > stylesmanager > Main CSS:

Code:

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

Can someone help please ?

Dismounted 01-28-2009 05:29 AM

Check your PHP info page to see if suhosin is installed as a module. If it is, this could be the cause of this problem. To fix this, add or edit an .htaccess file in your root forum directory and add these lines to it:
Code:

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


hungry4knowhow 04-01-2009 06:06 AM

Hey all I also got this error while editing image urls to show the full url of my site so they could be detected by vbacmps.

I added the above code to my root .htaccess and created an htaccess in /forums directory with the same code but still recieve the same error when saving the style.

I do have Suhosin installed on my server.

Thanks for any help you might be able to give,
Steve

combs 04-29-2009 05:49 PM

Are there other options to fix this? I am getting the same problem. I emailed my host and they said:

Quote:

Unfortunately my hands are tied in this situation. Unfortunately to get this to work, as we have already done what the script has recommended, we would have to unload our security module which we cannot do.
I can't change templates in the Admin panel or do any of that type of stuff without getting the stupid error of:

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

Lynne 04-29-2009 06:01 PM

Did you try the htaccess method? Did you ask your host if they would allow you to change the variables via htaccess?

combs 04-29-2009 06:10 PM

Yes I added the code in the .htaccess and it didn't do anything for me. All I got from them was they would continue looking into the matter, but it has been a week and a half now.

Do they have to allow me to be able to change the variables for it to work?

Lynne 04-29-2009 08:13 PM

Either the variables will have to be changed or the module needs to be disabled.

nexialys 04-29-2009 08:24 PM

... i would suggest changing host... if their PHP restrictions are that high, i suppose they are not good at supporting your installation, which will bring you more trouble in the future...

imk 05-20-2009 03:29 PM

i have this also

my mac doesnt let me have . somthing files?

so i saved as htaccess then added the dot when i uploaded it and then went on my forum and i got an error page?

do i need to put somthing else in the file?

i uploaded to the forum root/


All times are GMT. The time now is 05:29 AM.

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.01101 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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