Various Errors..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • midwestce
    New Member
    • Sep 2007
    • 6
    • 3.6.x

    Various Errors..

    I get the lovely -

    Your submission could not be processed because a security token was missing or mismatched.

    If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
    I have done the following and I have gotten this error -

    1. Tried to create a thread
    2. Tried to moderate/delete user's posts with the dropdown tool

    Any ideas? I know I have some messed up modifications right now, but these are issues with the 'base' version of vBulletin 3.6.10.

    Thanks.

    P.S. I did the upgrade last night and copied the files as said. I have even tried to overwrite them via upgrading again earlier today and I've still gotten the same issues.
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    #2
    Possible solution to your issue.

    Comment

    • midwestce
      New Member
      • Sep 2007
      • 6
      • 3.6.x

      #3
      So did I read that correctly, there's going to be some sort of patch?

      Comment

      • Jose Amaral Rego
        Senior Member
        • Feb 2005
        • 11058
        • 1.1.x

        #4
        No, because a patch is already been posted in that 'Bug' post. You need to look at the very bottom of that posting and you can see a file has been attach. I do not know how to use that file, as I tried many method mention and still could not work it out.

        Comment

        • Jose Amaral Rego
          Senior Member
          • Feb 2005
          • 11058
          • 1.1.x

          #5
          What do you know... Some that can read that file.

          Comment

          • midwestce
            New Member
            • Sep 2007
            • 6
            • 3.6.x

            #6
            I have added that to the adminfunctions.php file and reuploaded via ftp and it is still not letting me create a thread or delete any posts from the drop down utility. I haven't tested anything other than these two, but it did not fix anything.

            Thanks for any assistance.

            Comment

            • Mark.B
              vBulletin Support
              • Feb 2004
              • 24287
              • 6.0.X

              #7
              The adminfunctions bug only affects sending password reminders from the admin panel, so that won't be the issue with posting threads.

              (By the way, in those patch files, basically anything in red needs to be taken out and anything in green gets added in).

              Anyway....to troubleshoot the problem you have.

              Firstly, search in your headinclude template for this:
              Code:
              var SESSIONURL = "$session[sessionurl_js]";
              And make sure this is immediately below:
              Code:
              var SECURITYTOKEN = "$bbuserinfo[securitytoken]";
              Then, search in ALL templates for this:
              Code:
              <input type="hidden" name="s" value="$session[sessionhash]" />
              And make sure that this is immediately below EVERY instance.
              Code:
              <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
              I realise there are loads of instances. Pay particular attention to the newpost and SHOWTHREAD templates as I suspect these are the ones where your problem lies.
              MARK.B
              vBulletin Support
              ------------
              My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
              My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

              Comment

              • midwestce
                New Member
                • Sep 2007
                • 6
                • 3.6.x

                #8
                Thanks. So, would you suggest doing this all manually or using the find & replace function?

                Comment

                • Jose Amaral Rego
                  Senior Member
                  • Feb 2005
                  • 11058
                  • 1.1.x

                  #9
                  Find and add to next empty line is what Mark.B

                  Comment

                  • midwestce
                    New Member
                    • Sep 2007
                    • 6
                    • 3.6.x

                    #10
                    Well, you could do:

                    find:

                    <input type="hidden" name="s" value="$session[sessionhash]" />


                    replace with:

                    <input type="hidden" name="s" value="$session[sessionhash]" />
                    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

                    Right?

                    Comment

                    • Mark.B
                      vBulletin Support
                      • Feb 2004
                      • 24287
                      • 6.0.X

                      #11
                      You could...however, if you've run the upgrade, many of the instances will already have had the line added. Therefore you'll end up duplicating it which could cause more problems.

                      Best to do it individually. Start with the two I mentioned.
                      MARK.B
                      vBulletin Support
                      ------------
                      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                      Comment

                      • midwestce
                        New Member
                        • Sep 2007
                        • 6
                        • 3.6.x

                        #12
                        Okay, doing what I said worked.

                        Now, I see what caused my issues as well -

                        See this thread: http://www.vbulletin.org/forum/member.php?u=5843

                        He stated to look for value="$session[sessionhash]"

                        THEN under each instance of that -

                        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

                        Well I did that word for word. Here's an example of one of my screwups and what it looked like doing literally what was said...

                        <input type="hidden" name="s" value="$session[sessionhash]"
                        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                        />

                        It's all due to that stupid />

                        Things seem to be good thus far.. I'll work on fixing my mods I have installed, etc.

                        Comment

                        • ishansoni1
                          Senior Member
                          • Jul 2007
                          • 163
                          • 3.6.x

                          #13
                          Originally posted by Mark.B
                          The adminfunctions bug only affects sending password reminders from the admin panel, so that won't be the issue with posting threads.

                          (By the way, in those patch files, basically anything in red needs to be taken out and anything in green gets added in).

                          Anyway....to troubleshoot the problem you have.

                          Firstly, search in your headinclude template for this:
                          Code:
                          var SESSIONURL = "$session[sessionurl_js]";
                          And make sure this is immediately below:
                          Code:
                          var SECURITYTOKEN = "$bbuserinfo[securitytoken]";
                          Then, search in ALL templates for this:
                          Code:
                          <input type="hidden" name="s" value="$session[sessionhash]" />
                          And make sure that this is immediately below EVERY instance.
                          Code:
                          <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                          I realise there are loads of instances. Pay particular attention to the newpost and SHOWTHREAD templates as I suspect these are the ones where your problem lies.
                          An easier way of seeing if security tokens are there for step 2 is to see if it says "Jelsoft" on the right bottom corner thing of your style. If its edited by someone else its likely it wont have security token!

                          Comment

                          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                          Working...