Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2008, 09:18 AM
GreigScott GreigScott is offline
 
Join Date: Jul 2008
Location: Scotland :]
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 10-12-2008, 09:24 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-12-2008, 09:49 AM
GreigScott GreigScott is offline
 
Join Date: Jul 2008
Location: Scotland :]
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
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.
Reply With Quote
  #4  
Old 10-12-2008, 12:41 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 10-12-2008, 01:39 PM
GreigScott GreigScott is offline
 
Join Date: Jul 2008
Location: Scotland :]
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #6  
Old 10-12-2008, 04:47 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 10-12-2008, 07:15 PM
GreigScott GreigScott is offline
 
Join Date: Jul 2008
Location: Scotland :]
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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..
Reply With Quote
  #8  
Old 10-12-2008, 07:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 10-12-2008, 08:22 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 10-12-2008, 08:49 PM
GreigScott GreigScott is offline
 
Join Date: Jul 2008
Location: Scotland :]
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:11 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.04257 seconds
  • Memory Usage 2,253KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete