Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 05-04-2009, 05:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That account works fine. I get sent to the /forums/ page and all is fine. And, when I click the home page link, I can see the page. Very, very odd!

I then went back and tried the first account, and now it is fine. But, the first two times I logged in using it, I got the problem I described. However, using this first account, I still get a No Permission message when hitting the Home link - http://marketersspaceforum.com/index.php
Reply With Quote
  #22  
Old 05-04-2009, 05:09 PM
mmurtha's Avatar
mmurtha mmurtha is offline
 
Join Date: Oct 2008
Location: New Springfield, Ohio
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it is very odd!

Now the only thing I did different was that I set the "Time and Date" option to "DST corrections always on" in the options when I set that account up.

It seems to be a problem with the DST function someplace.

Thanks so much for your help btw, I truly appreciate you!

Perhpas someone else who has a fix for this will come along, or maybe I'll hire a programmer to resolve the issue.
Reply With Quote
  #23  
Old 05-04-2009, 06:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem there is I'm redirected to marketspaceforum.com instead of www.marketspaceforum.com . I can see www.msf.com just fine. I would change this (in your footer):
HTML Code:
<form action="http://marketersspaceforum.com/forum/profile.php?do=dst" method="post" name="dstform">
To this:
HTML Code:
<form action="/forum/profile.php?do=dst" method="post" name="dstform">
Reply With Quote
  #24  
Old 05-04-2009, 07:30 PM
mmurtha's Avatar
mmurtha mmurtha is offline
 
Join Date: Oct 2008
Location: New Springfield, Ohio
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I gave it a try, and thanks again!

Okay, Dan's going to check things in the backend. Maybe he'll come up with something.

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

Quote:
Originally Posted by Lynne View Post
I am not getting a security token error when I log in. I am redirected to this page - http://marketersspaceforum.com/ - and told I have no permission. That is different than the security token error. I can try to click on the Home link, and I get the no permission error. This sounds like a problem with your vbadvanced (which I have no experience with).
Hey Lynne,

Just for the recoed, I believe you were right about this problem being in the VbCMPS. Dan took a look at it, and found out that vBulletin was looking in the footer template of vBa CMPS for the security token information instead of the predominate VB footer template.

We think he fixed the issue, so if someone else has this problem and is using vBCMPS, this might help.
Reply With Quote
  #25  
Old 10-25-2009, 08:36 PM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just want to say thanks...this error has been driving me mad, so thanks for the fix!
Reply With Quote
  #26  
Old 11-02-2009, 04:10 PM
gnagplank6 gnagplank6 is offline
 
Join Date: Jun 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dan Clement View Post
Hi folks,

I was having the same error but I seem to have been able to resolve it. I'll run you through what I did in the hopes it'll sort you out too.

In the Admin CP, drop down Styles & Templates, then go to Style Manager. Find the skin you're having trouble with and go to Edit Templates. Find your 'footer' template and find the following snippet of code:

Code:
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
</form>
From what I can make out, the error arises because the lines that calls upon the user's security token are omitted leading vB to think that the user doesn't have one. You need to add in a couple of lines to make vB call the security token. To do this, replace the code above with this:

Code:
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="dst" />
</form>
Save your changes and try accessing your User CP again. Should have fixed you right up. If not, give me a shout.

Just to re-iterate, you should not have to edit profile.php at all to fix this error and in trying to do so you're probably more likely to break something!
Thanks, I have tried this solution and will post up on whether it works.

For some time now new users have been receiving the security token message and were unable to participate in the forum upon registering. I recently, within the last week, started receiving the "security token" message every time I tried to access my own user CP and sometimes when I tried to preview some of my posts. Today this issue mysteriously disappeared for me prior to executing the above solution. dunno why

I have read the available threads on this forum and so I have done my part. Any advice or help would be most appreciated.

This security token issue also happens to myself and others when I try to use the basic forum search function. Advanced search works just fine.

We are still in Beta but do have enough members that all these security token issues cause a great deal of consternation.

We are currently running VB 3.8.3 and are using a skin originally from vbskins.com which we totally customized for our site. It's awesome but until we fix these issues with some new members being unable to register and participate, as well as jacked basic search function we are dead in the water.
Reply With Quote
  #27  
Old 11-04-2009, 12:12 AM
gnagplank6 gnagplank6 is offline
 
Join Date: Jun 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey does anyone have any input on my above post????

I could use some advice here. Thanks.
Reply With Quote
  #28  
Old 11-09-2009, 11:24 AM
gnagplank6 gnagplank6 is offline
 
Join Date: Jun 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I ran the fix posted on by Dan Clement and so far it seems to work. Several people who were unable to log on now can.

Thanks Dan!!

CAN I PLEASE GET SOME INPUT on the reasons that my basic search function is not working? Any help would be most appreciated. I get a Security Token error when I try to use the basic quick search function, but strangely advanced search works fine.

I won't let this thread die.
Reply With Quote
  #29  
Old 11-09-2009, 03:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gnagplank6 View Post
CAN I PLEASE GET SOME INPUT on the reasons that my basic search function is not working? Any help would be most appreciated. I get a Security Token error when I try to use the basic quick search function, but strangely advanced search works fine.
Did you add the securitytoken correctly to the search form in the navbar? Read this - Implementing CSRF Protection in modifications
Reply With Quote
  #30  
Old 11-09-2009, 11:19 PM
gnagplank6 gnagplank6 is offline
 
Join Date: Jun 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Did you add the securitytoken correctly to the search form in the navbar? Read this - Implementing CSRF Protection in modifications
wow someone responded!! Thanks for your advice Lynne!!!

I will try to implement this fix ASAP and report back on the linked thread.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06312 seconds
  • Memory Usage 2,270KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete