vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   security token was invalid (https://vborg.vbsupport.ru/showthread.php?t=243811)

justasiam 06-02-2010 07:55 PM

security token was invalid
 
I am running vBulletin 3.8.5. When a user clicks on "Quick Links" and then on "Mark Forums Read", they get the following error.
Code:

Your submission could not be processed because a security token was  invalid.
I have not installed anything new lately, so I do not know where to look to find the problem.

I would revert a template if I only knew which one to revert.

Ideas?

Xencored 06-02-2010 08:00 PM

Quote:

Originally Posted by justasiam (Post 2047267)
I am running vBulletin 3.8.5. When a user clicks on "Quick Links" and then on "Mark Forums Read", they get the following error.
Code:

Your submission could not be processed because a security token was  invalid.
I have not installed anything new lately, so I do not know where to look to find the problem.

I would revert a template if I only knew which one to revert.

Ideas?

Am guessing its missing the Hash mark

In the navbar template look for
Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread rel="nofollow">$vbphrase[mark_forums_read]</a>
and replace with

Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread&amp;markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a>

justasiam 06-02-2010 08:23 PM

That fixed it. Thank you

Xencored 06-02-2010 08:44 PM

Quote:

Originally Posted by justasiam (Post 2047281)
That fixed it. Thank you

Your welcome ;)

Corndogg 12-31-2010 05:49 PM

I had this problem as well. There is another "Mark Forums Read" link in the FORUMHOME template, which was the main one I was using.

I replaced (adding the markreadhash)

Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
with

Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread&amp;markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a>
and it worked like a charm. Thanks!


All times are GMT. The time now is 01:00 PM.

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.00995 seconds
  • Memory Usage 1,723KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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