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.

snakes1100 10-12-2008 09:44 PM

Quote:

Originally Posted by snakes1100 (Post 1643590)

2. find / -name php.ini -print

type that in and hit enter

GreigScott 10-13-2008 12:23 PM

Quote:

Originally Posted by snakes1100 (Post 1643641)
type that in and hit enter

kk, found it, got the owner to edit it, i will edit post when done.

--------------- Added [DATE]1223928445[/DATE] at [TIME]1223928445[/TIME] ---------------

PHP.ini didn't work
this still comes up

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

snakes1100 10-13-2008 07:33 PM

Did you edit the correct php.ini file, typically there are more than one, check your phpinfo.php file for the correct one that is being used.

GreigScott 10-13-2008 08:45 PM

Bid odd how I added a new skin to my friends hosting forum and it was made in 3.7.2 and hes on the 7.3 version and it worked?

Anyways, Alec (the tech' guy for meh forum!) is looking through the PHPinfo file and things.

snakes1100 10-13-2008 08:52 PM

suhosin can be set per domain in the virtual host container in httpd.conf

make sure that your domain matches his in each vhost container.

GreigScott 10-13-2008 10:19 PM

Big problem. Not a single skins editable. Even when I make new ones it dont work.

need more help.

snakes1100 10-14-2008 06:10 AM

I would suggest checking your log files.

GreigScott 10-14-2008 01:19 PM

See. I have added to php.ini but this '/etc/rc.d/init.d/httpd restart command doesnt work...
Which is why i think it dont work

Lynne 10-14-2008 01:54 PM

Maybe you need to use another command to restart apache. Sometimes you use "service httpd restart" or other various commands. You could ask your host what they have it set up to be.

GreigScott 10-14-2008 02:09 PM

We've tried everything you've provided us ;[
still no luck.

EntranaRS 10-14-2008 02:18 PM

EDIT: Nevermind, I didn't read what you said properly :p

snakes1100 10-14-2008 08:07 PM

Quote:

Originally Posted by GreigScott (Post 1644869)
See. I have added to php.ini but this '/etc/rc.d/init.d/httpd restart command doesnt work...
Which is why i think it dont work

That cmd works on almost any linux flavored OS.

Easiest thing to do is find were httpd is, you can simply search for it, most init scripts are in /etc/rc.d/init.d or /etc/init.d, some OS's name the init scripts differently as well, it can be named anything actually, but typically, apache, apache2, http, httpd etc...

You can use one of the following to search on almost all OS's

whereis httpd
locate httpd
find / -name httpd -print (find returns the best results.)

GreigScott 10-14-2008 10:38 PM

tried - no luck. I might have to export some files from my old server.


All times are GMT. The time now is 09:54 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.01489 seconds
  • Memory Usage 1,764KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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