Hello,
I have problems with cookies (I think so)... I've installed the SMF 1.1 RC3 on my website and I use Flash Chat (the one for $5), although I didn't have problems with SMF 1.1 RC2 version.
The problem is that after I click on chat (initiation of Flash Chat), I get the following error message: "Invalid request variable" and white page. I cannot use forum so long until I delete the cookie of Flash Chat - thereafter I can use forum normally.
What can I do to change that problem?!
Thanks
???
Have you checked whether Flash chat can be integrated with 1.1 RC3?
Quote from: xenovanis on August 27, 2006, 05:23:56 AM
Have you checked whether Flash chat can be integrated with 1.1 RC3?
Hello,
No, as I don't know where I can do that. In the case you are referring to software maker, I doubt that they tested it on your new release.
It was working on previous version 1.1 RC2.
Thanks
Maybe here
http://forum.tufat.com/forumdisplay.php?f=30
or here
Tutorial: how to COMPLETELY integrate FlashChat into SMF so you have a cool CHAT (http://www.simplemachines.org/community/index.php?topic=27137.0)
Quote from: xenovanis on August 27, 2006, 09:26:33 AM
Maybe here
http://forum.tufat.com/forumdisplay.php?f=30
or here
Tutorial: how to COMPLETELY integrate FlashChat into SMF so you have a cool CHAT (http://www.simplemachines.org/community/index.php?topic=27137.0)
Hello,
Thanks, but I already installed it and it was working with previous version of SMF (I will never again make updates or upgrades). I also made changes in updated files, as this update is rewriting most of the files.
I've also registered in Tufat forum and I'm waiting on their confirmation email.
I hope that I won't need to delete the RC3 and install back the RC2!
Thanks anyway
I wont upgrade to RC3 because I have modified my forum so much :) Go back to RC2 my friend there was nothing wrong with it in my opinion.
Find
foreach (array_merge(array_keys($_REQUEST), array_keys($_COOKIE), array_keys($_FILES)) as $key)
Replace with
foreach (array_merge(array_keys($_REQUEST), array_keys($_FILES)) as $key)
Hi,
Thanks, but it didn't helped.
::)
PS I would like to add one interesting information... I use FireFox and I've installed additional extension (IE Tab - enables me to use the embedded IE engine within Mozilla/FireFox). One tab is opened in just mentioned mode and one as usual tab. This way I can stay connected or can use forum and at same time Flash Chat.
Why is that so?! I hope that this will help you further, as this Flash Chat is excellent and simple chat software. It's definitely something wrong, because of new version and I intend to delete the RC3 if I will not be able to find a solution for Flash Chat.
Regards
Ok try 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.');
Comment it out by putting /* before it and */ after it. Like 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.');
*/
There is only one other spot where it'll say Invalid request variable and if it does it there you don't want to be using that mod IMO.
Where should I paste that?! Anywhere in the QueryString.php?!
He said to comment this out
Quote// 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.');
so replace it with the 2nd code provided byThantos
Thanks a lot, I really appreciate your FAST help! This last change has helped and you made more then one guy happy with this simple post :D I wish you all the best in your business and personal life.
I would also like to thank J J Williams too for jumping in and helping others.
Kind regards
Hello,
I did what Thantos said and its working perfectly.
Awesome. Many thanks!
i'm newbbie...
I commented the section un QueryString.php... but what code must I add in the index.template.php to show flashchat inside smf 1.1 rc3??
thanks
FYI.
For anyone that runs into this error message while trying to integrate E107 with SMF, The above fix removing the numeric parameter check will fix the Invalid Request Variable when trying to load a custom page. Its becasue of the way E107 passes page names , i.e. http://www.yadayada.com/page.php?1
Zeus
p.s sorry for putting this in the thread, but I wanted to leave a searchable string for others that might run into this with E107