vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=231091

How to fix "Security Token" Error for vBulletin 4.x.x
by MikalMirkas
24 Dec 2009 19:38

Now PLEASE, stop making threads about it. :)
This is how to fix it:
Go to your forum's directory, and find the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

file. Right after the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

, add this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Credit to Stangger5, and MrZeroPage.

Edit (LOL, this thread got replies? >_>):
Quote:

Originally Posted by Moey (Post 2168708)
Thanks

By the way.. you cant really blame a ton of people asking how to fix this..its not like its our responsibility..its the developers..not ours ..

README.txt is there for a reason. I have saw a LOT of these threads pushing out the actual issues on hand. kthx

CrosseyedGamer 24 Dec 2009 22:15

I had this before the upgrade to the gold release. It worked well. Did the upgrade which included moving my forums to the root folder. I do not have a /forum directory anymore.

When I input the above into my index file I get nothing but errors in my header.

I have posted them elsewhere a few times.
Is there something that needs to change due to moving the forums to the route?

I appreciate anyone's help as our arcade has over 1100 games and our users love it.

Thanks.

Notice: Undefined index: module in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 3

Notice: Use of undefined constant act - assumed 'act' in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 42

Notice: Undefined index: act in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 42

Notice: Use of undefined constant autocom - assumed 'autocom' in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 43

Notice: Undefined index: autocom in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 43

Notice: Use of undefined constant showuser - assumed 'showuser' in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 44

Notice: Undefined index: showuser in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 44

CrosseyedGamer 27 Dec 2009 22:57

Still no response on this. Would love to get my homepage cleaned up of this extra text. Anyone?

Magz 27 Dec 2009 23:05

In the arcade cp, under information, what does it say there?

( I too recently moved my site to root )

--------------- Added 27 Dec 2009 at 23:19 ---------------

i see you have it fixed :)

CrosseyedGamer 27 Dec 2009 23:38

Quote:

Originally Posted by Magz (Post 1939740)
In the arcade cp, under information, what does it say there?

( I too recently moved my site to root )

--------------- Added 27 Dec 2009 at 23:19 ---------------

i see you have it fixed :)


This is not fixed.

If you go to my domain - crosseyedgamer.com you will see the notice text at the top of the page. that is not there if you proceed to the arcade page or other pages of the site.

So far , no answers on this.

Do you have this issue with it being in the root?

Magz 27 Dec 2009 23:47

No problems at all here.

I use vbseo, and had a few problems with that, but no issues once i put in the "exclude" section, and ammended my index file.

sKippah 28 Feb 2010 12:54

Works with this changes, but there is still one thing. I played Asteroids for the 1. time and after klicking "OK" it says, ingame "Could not access Game Table" but it saves the Score

CoZmicShReddeR 05 Mar 2010 09:14

Quote:

Originally Posted by sKippah (Post 1993589)
Works with this changes, but there is still one thing. I played Asteroids for the 1. time and after klicking "OK" it says, ingame "Could not access Game Table" but it saves the Score

Same issue here with 4.02 CMS version

I see it goes to http://127.0.0.1/?act=Arcade&do=newscore

ahmedipa 07 Mar 2010 06:18

I will try to solve this problem by following these steps

Gn_Snake 08 Mar 2010 20:15

The same error...please!!!

--------------- Added 09 Mar 2010 at 10:56 ---------------

Nothing?

c.c. 19 Mar 2010 15:18

Quote:

Originally Posted by MikalMirkas (Post 1937431)
Now PLEASE, stop making threads about it. :)
This is how to fix it:
Go to your forum's directory, and find the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

file. Right after the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

, add this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Credit to Stangger5, and MrZeroPage.

I did this and I'm still getting the security token error.

chatzworld 21 Mar 2010 21:23

thanks! this has worked fine for me

TriAxis 31 Mar 2010 09:31

Quote:

Originally Posted by CrosseyedGamer (Post 1937552)

Notice: Undefined index: module in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 3

Notice: Use of undefined constant act - assumed 'act' in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 42

Notice: Undefined index: act in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 42

Notice: Use of undefined constant autocom - assumed 'autocom' in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 43

Notice: Undefined index: autocom in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 43

Notice: Use of undefined constant showuser - assumed 'showuser' in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 44

Notice: Undefined index: showuser in /var/www/vhosts/crosseyedgamer.com/httpdocs/index.php on line 44

I have this exact result myself. Any suggestions on what to do to fix this?

I am not using VBAdvanced or any other front end. The index is the original from the install so I am not understanding why I am getting this error unless it has to just be a version 4.0 issue. Also my site is total fresh install. I have run this arcade on two other forums so I know how it works and have not had a problem in the 3.x versions. Only this in 4.

The errors above appear in the root of the site, and when you finish a game and submit the score. I do get the score recorded as it should, only when this code is added to the index.php file, it just shows this text.

Thanks for any suggestions.

c.c. 31 Mar 2010 13:51

My forum is:

highdefjunkies.com/forum.php


So do I add this in my forum.php?

I'm so confused? Please give me a hand. Thanks!!!

I added this in my forum.php and it still gives me a security token error.

When I add this to my index.php it gives me this error:

Parse error: syntax error, unexpected T_DEC, expecting T_STRING or T_VARIABLE or '$' in /home/highdefj/public_html/index.php on line 58


Any ideas? I really want to get this arcade going because my members love it.

Thanks for any help you can give me!!!!

Digital Jedi 01 Apr 2010 18:00

The instructions very clearly say to make the edits to your forum's /index.php.

--------------- Added 01 Apr 2010 at 18:02 ---------------

Quote:

Originally Posted by TriAxis (Post 2013297)
I have this exact result myself. Any suggestions on what to do to fix this?

I am not using VBAdvanced or any other front end. The index is the original from the install so I am not understanding why I am getting this error unless it has to just be a version 4.0 issue. Also my site is total fresh install. I have run this arcade on two other forums so I know how it works and have not had a problem in the 3.x versions. Only this in 4.

The errors above appear in the root of the site, and when you finish a game and submit the score. I do get the score recorded as it should, only when this code is added to the index.php file, it just shows this text.

Thanks for any suggestions.

Make sure you didn't change, removed or failed to include even a single character in the PHP file.


All times are GMT. The time now is 20:45.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.