vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Help! I've updated my forum but my skins wont correspond.. (https://vborg.vbsupport.ru/showthread.php?t=193415)

GreigScott 10-12-2008 09:18 AM

Help! I've updated my forum but my skins wont correspond..
 
Right I updated to 3.7.3 last night. & my skins wont save cause i made them in 3.7.2,
this comes up:


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


how do i sort it.

Dismounted 10-12-2008 09:24 AM

Try adding these lines to .htaccess in your forum directory:
Code:

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


GreigScott 10-12-2008 09:49 AM

Quote:

Originally Posted by Dismounted (Post 1643196)
Try adding these lines to .htaccess in your forum directory:
Code:

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


theres nothing in the file atm and when i add to the .htccess in the public_html folder a error comes up on everything.

snakes1100 10-12-2008 12:41 PM

I'm guessing your getting a 500 internal server error, not all servers are configured to allow php flags/values in a htaccess file.

Use this in the htaccess file:

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

OR

Create a php.ini file and put it in the required directory:

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

GreigScott 10-12-2008 01:39 PM

The 1st one didn't work in .htaccess
and the 2nd one takes no offect
(i put a new file called php.ini in public_html)

snakes1100 10-12-2008 04:47 PM

If neither option above works, then you need to contact your host and have them check the log files to find out what error is causing the issue when you try to save the "skins". They will have to modify the server to allow what is needed.

GreigScott 10-12-2008 07:15 PM

Quote:

Originally Posted by snakes1100 (Post 1643437)
If neither option above works, then you need to contact your host and have them check the log files to find out what error is causing the issue when you try to save the "skins". They will have to modify the server to allow what is needed.

I am my host..

Lynne 10-12-2008 07:44 PM

If you are your own host, then you should try modifying the actual php.ini with the above lines. You should also check your error_logs.

snakes1100 10-12-2008 08:22 PM

1. ssh into the server as root

2. find / -name php.ini -print

3. edit php.ini (ie... nano /etc/php.ini)

4. scroll to the bottom of the file and paste in the following:
suhosin.cookie.encrypt Off
suhosin.request.max_vars 2048
suhosin.post.max_vars 2048

5. exit and save

6. /etc/rc.d/init.d/httpd restart

GreigScott 10-12-2008 08:49 PM

Quote:

Originally Posted by snakes1100 (Post 1643590)
1. ssh into the server as root

2. find / -name php.ini -print

3. edit php.ini (ie... nano /etc/php.ini)

4. scroll to the bottom of the file and paste in the following:
suhosin.cookie.encrypt Off
suhosin.request.max_vars 2048
suhosin.post.max_vars 2048

5. exit and save

6. /etc/rc.d/init.d/httpd restart


How do i locate the PHP.ini file.
because me no find.


All times are GMT. The time now is 11:46 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.02908 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete