Advertisement:

Author Topic: "Session verification failed" message on Merge Topics (SMF 1.11)  (Read 4610 times)

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
After moving our forum to a new hosting site a few months ago, I now receive this messages when trying to merge topics:

"Session verification failed. Please try logging out and back in again, and then try again. "

I've tried the various cookie related settings tricks, as well as restoring the default theme.  Nothing works.  Forum has database sessions enabled.

Thanks in advance!
Phil
www.houstonspotters.net

Offline Kays

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,973
  • Gender: Male
    • Kayssplace
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #1 on: May 19, 2010, 07:19:28 AM »
Hi, sorry for the slow response.
 
Something to check/set are all the settings in the Admin CP> Server Settings > Feature Configuration:

Enable local storage of cookies - unchecked
Use subdomain independent cookies - checked
Use database driven sessions - checked

If that doesn't help, try changing the cookie name.
 

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #2 on: May 19, 2010, 07:44:18 AM »
Thanks for the response!

I looked at all of those settings - just as you indicate they should be.

When trying to change (save) the cookie name, I receive the same error message!  :P

Offline Kays

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,973
  • Gender: Male
    • Kayssplace
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #3 on: May 19, 2010, 07:52:30 AM »
Have you tried another browser?

After you moved your site, did you run repair_settings.php? (What is repair_settings.php?)

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #4 on: May 19, 2010, 08:05:07 AM »
Tried other browsers and computers.

Did not run repair settings.

Offline Kays

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,973
  • Gender: Male
    • Kayssplace
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #5 on: May 19, 2010, 08:09:08 AM »
Do run repair_settings.php and make any recommended changes. That will reset the paths in the database.

After that go into the theme settings and correct the paths of any secondary themes.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #6 on: May 19, 2010, 03:05:27 PM »
Where do I find that file?

Offline Kays

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,973
  • Gender: Male
    • Kayssplace
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #7 on: May 19, 2010, 03:10:17 PM »
All information should be on this page: What is repair_settings.php?

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #8 on: May 19, 2010, 03:11:49 PM »
OK sorry, didn't catch on that the file name was link to download.  ;)

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #9 on: May 19, 2010, 03:50:32 PM »
Running repair_settings.php did not resolve my issue.  I was able to change the Cookie name, but that didn't help.

Paths of all themes are correct.

Incidentally, this error happens when using the default theme.

Offline Allusion

  • Jr. Member
  • **
  • Posts: 386
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #10 on: May 19, 2010, 04:32:00 PM »
Merging topics is a multi-page operation. Which page/URL produces the error message? Post the URL starting from the index.php part (no need to post the base forum URL); if there is a ;sesc= alphanumeric string at the end of the URL, replace it with something else before posting, for security reasons.

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #11 on: May 19, 2010, 04:37:05 PM »
index.php?action=mergetopics;sa=options;board=14.0;from=6386;to=6385;sesc=xxxxx


Offline Allusion

  • Jr. Member
  • **
  • Posts: 386
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #12 on: May 19, 2010, 05:02:44 PM »
Okay, how are you trying to merge topics? Do you start by clicking Merge Topics in topic display, or are you merging them from the topic list?

Example of merging from topic display:
index.php?topic=6386
Then click the Merge Topics button/link, which sends you to:
index.php?action=mergetopics;board=14.0;from=6386
Here you should see the list of topics to merge with, with a button next to each of them.

Look at the bottom of your browser window when you hover your mouse over the button; does the URL for this button contain the ;sesc=xxxx part at the end?

Do you get the error message when you click this button, or when you click the Merge Topics button in the next page (index.php?action=mergetopics;sa=options;board=14.0;from=6386;to=6385;sesc=xxxxx)?

Have you installed any mods that work on topics and posts?

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #13 on: May 19, 2010, 05:14:00 PM »
I click Merge Topics in the topic display.

This is the browser url when I hover over the -><- button

index.php?action=mergetopics;sa=options;board=14.0;from=6386;to=6385;sesc=xxx  (xxx was replaced, for security reasons.)

I get the error when I click Merge Topics on the following page.

To my knowledge, there aren't any mods like you describe.

Offline Allusion

  • Jr. Member
  • **
  • Posts: 386
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #14 on: May 19, 2010, 05:17:41 PM »
Does one of these topics (or both) have a poll, a calendar event or anything else that makes it/them different?

Do you get the error message when trying to merge any topics (create a few new topics to test), or just with these two?

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #15 on: May 19, 2010, 05:33:04 PM »
I was using two "test" topics.  Nothing special about them.

Offline Allusion

  • Jr. Member
  • **
  • Posts: 386
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #16 on: May 19, 2010, 08:08:23 PM »
Are there any errors in the SMF error log? If not, verify that the error log is enabled.

Can you attach Sources/SplitTopics.php and Themes/default/SplitTopics.template.php?

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #17 on: May 20, 2010, 07:39:46 AM »
No errors.

Offline Allusion

  • Jr. Member
  • **
  • Posts: 386
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #18 on: May 20, 2010, 08:19:09 AM »
I just compared your files with the same files from the SMF 1.1.11 Install package.

You're using an old version of SplitTopics.template.php. The up-to-date one is marked version 1.1.11 (in a comment at the top of the file) and contains the necessary session ID. There are no other differences, so you can go ahead and replace it with the one from the SMF 1.1.11 Install or Large Upgrade package and the error should go away.

It seems you missed this change when you updated your forum (manually, I guess?)

As a side note, versions of SMF files are updated only when the files themselves are updated, not every time there's a new SMF version. So the SplitTopics.template.php you have is marked version 1.1 in all SMF versions from 1.1 (Final) to 1.1.10. The file was updated for SMF 1.1.11, so the file version was bumped to 1.1.11.

This is something to keep in mind when you check the core SMF files on your forum against current versions. You can do this from Admin > Forum Maintenance > "Check all files against current versions." Out-of-date files will be shown with version numbers marked in red.

If any of the shown categories (Sources, Default Templates, Languages Files) is shown in red, clicking on the category name will expand it to show all files under that category.

The Sources category lists all core SMF files in the Sources directory. Default Templates are located in Themes/default/. You can find Language Files in Themes/default/languages/. Just so you know where to look. :)

Offline philhyde

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: "Session verification failed" message on Merge Topics (SMF 1.11)
« Reply #19 on: May 20, 2010, 08:33:50 AM »
Thanks for that!  I will give it a try.

As for upgrading, I did it through the forum links.