Advertisement:

Installed SMF 1.0.8 receive "Invalid REquest Variable" error *Still some glitch*

Aloittaja My3babes, elokuu 21, 2006, 11:43:39 IP

« edellinen - seuraava »

My3babes

hxxp:www.liberatedlounge.com [nonactive]

I just installed the update like I always do and now nothing works!

HELP me!!
ETA:  I deleted all files and cookies and it started working again.. go figure.. thanks!

vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

My3babes

Lainaus käyttäjältä: vbgamer45 - elokuu 21, 2006, 11:44:57 IP
Looks fine to me? Still having trouble?

Yep every page I view is BLANK white and has black writing.. "Invalid request variable."

Thantos

That error was put in if it detected a numeric key in the $_POST, $_GET, or $_REQUEST variables.

Most likely you had something in your cookie or cache that was sending invalid data.  Glad you got it worked out.

My3babes

Lainaus käyttäjältä: Thantos - elokuu 22, 2006, 12:01:11 AP
That error was put in if it detected a numeric key in the $_POST, $_GET, or $_REQUEST variables.

Most likely you had something in your cookie or cache that was sending invalid data.  Glad you got it worked out.
I am still having members email me that they are getting the error after clearing cookies/files.. Any suggestions?

My3babes

ANyone??   I am also have ppl getting on then they come back and they get the white page with the "'invalid request variable" again...

My3babes

Lainaus käyttäjältä: Thantos - elokuu 22, 2006, 12:01:11 AP
That error was put in if it detected a numeric key in the $_POST, $_GET, or $_REQUEST variables.

Most likely you had something in your cookie or cache that was sending invalid data.  Glad you got it worked out.

Is this something I can do anything about for the ppl still having issues having to delete cookies/files everytime?

Compuart

You could disable the cookie checking part by replacing:
Koodi (QueryString.php) [Valitse]
foreach (array_merge(array_keys($_REQUEST), array_keys($_COOKIE), array_keys($_FILES)) as $key)

by:
foreach (array_merge(array_keys($_REQUEST), array_keys($_FILES)) as $key)
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

My3babes

would this allow them to stay logged in even when they leave still??  ;D

Compuart

It doesn't influence the setting or unsetting of cookies. It just ignores 'malformed' cookies.
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

mark7144

#10
So does anyone yet know WHY this actually happens to some users?

This problem still exits in RC3.

Compuart

It happens because some users have (non-SMF) cookies that are being marked as bad by SMF. To fix, apply the above code changes. They have also been implemented in 1.1 final.
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

mark7144

Lainaus käyttäjältä: Compuart - marraskuu 28, 2006, 08:09:18 AP
It happens because some users have (non-SMF) cookies that are being marked as bad by SMF. To fix, apply the above code changes. They have also been implemented in 1.1 final.
Okay good to knows - thanks.

vicmar

Search the QueryString.php file and You must DELETE this:

// Same goes for numeric keys.
foreach (array_merge(array_keys($_REQUEST), array_keys($_COOKIE), array_keys($_FILES)) as $key)
if (is_numeric($key))
die('Invalid request variable.');


OR

// Same goes for numeric keys.
foreach (array_merge(array_keys($_REQUEST), array_keys($_FILES)) as $key)
if (is_numeric($key))
die('Invalid request variable.');


this work for me :D

mark7144

#14
The second suggestion was already implemented in SMF1.1 final so no point doing it for me.

I deleted all of,
// Same goes for numeric keys.
foreach (array_merge(array_keys($_REQUEST), array_keys($_COOKIE), array_keys($_FILES)) as $key)
if (is_numeric($key))
die('Invalid request variable.');

and it did fix it but is this safe? It is OK to do that?


Advertisement: