Advertisement:

Author Topic: cannot access admin "session timed out while posting."  (Read 1095 times)

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
cannot access admin "session timed out while posting."
« on: August 24, 2019, 11:55:56 PM »
just patched from 2.0.12  to .13  and cannot access admin. get error message when attempting login.  Also     cannot login on summary page, but can access all guest boards and it shows I am logged in when in those boards. Cannot access restricted boards nor admin.  What went wrong?

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,635
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Your session timed out while posting. Please go back and try again.
« Reply #1 on: August 25, 2019, 12:02:55 AM »
Are you sure it was .13? There's this known problem with custom themes and .14 https://wiki.simplemachines.org/smf/Login_error_2.0.14
Can you try to use the default theme? If your settings allow, you can test by accessing your forum with /index.php?theme=1
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #2 on: August 25, 2019, 11:16:52 AM »
Thanks. 13 did not patch.  I am at .12 from .11      The test script allows me into admin.  Will look at my mod. Thanks again.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #3 on: August 25, 2019, 11:27:44 AM »
Last available update for my Anecdota 2.0  theme was in 2013.   Did patching to .12 create the problem?  Is there a risk in using a theme that is not updated?
« Last Edit: August 25, 2019, 12:03:50 PM by Willie »

Offline Looking

  • SMF Hero
  • ******
  • Posts: 2,377
  • SMF Customization
    • jeanborde on Facebook
    • SMF Custom Themes & Custom Coding
Re: cannot access admin "session timed out while posting."
« Reply #4 on: August 25, 2019, 12:27:36 PM »
You should be looking up the error logs on your server if you have access to them.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #5 on: August 26, 2019, 10:29:43 AM »
Thanks Looking. Had access and had nothing there.   

Ran repair script, saved the themes suggestions and now cannot access anything. Get "Unable to load Themes/default/Errors.template.php!" 

now the " /index.php?theme=1"  will not work.

is the template.php in theme directory? If so, can I edit it to access the theme=1   

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,317
Re: cannot access admin "session timed out while posting."
« Reply #6 on: August 26, 2019, 12:45:57 PM »
Crip's themes work fine in 2.0.15, you just have to add the session check to header login.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #7 on: August 26, 2019, 09:38:35 PM »
Thank you, Sir.....Is this correct


<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
               <input type="hidden" name="hash_passwrd" value="" />
            </form>';

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #8 on: August 26, 2019, 10:01:14 PM »

When using the repair script,  I changed path to Anecdota2 which it said was right and it now keeps me from accessing the site.


When going to my site I get    Unable to load Themes/default/Errors.template.php!

even when using      /index.php?theme=1

How do I access the config to correct the paths. And what ought they be? when using Anecdota2?





Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,317
Re: cannot access admin "session timed out while posting."
« Reply #9 on: August 26, 2019, 10:12:32 PM »
Have you run repair_settings?  It allows you to reset all users to default Curve.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #10 on: August 27, 2019, 12:45:51 AM »
Yes Sir.   I used the repair script and the screenshot above is from the information provided by that script. I saved it and that is how I got where I am now. I was using anecdota_2 theme. I don't know what went wrong.  I patched from .11 to .12. Things got progressively worse.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,508
  • Gender: Male
    • Kindred-999 on GitHub
Re: cannot access admin "session timed out while posting."
« Reply #11 on: August 27, 2019, 12:51:48 AM »
Wait wait wait...
Did you change the default theme settings to point to anecdota?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,317
Re: cannot access admin "session timed out while posting."
« Reply #12 on: August 27, 2019, 01:09:04 AM »
  Is that even possible?  Would be a disaster.

Yep, it's a disaster, and throws the errors.template error.  Don't recognize the screenshot, though.  Would have to manually change it back to /Themes/default in repair_settings.
« Last Edit: August 27, 2019, 01:24:44 AM by Sir Osis of Liver »

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #13 on: August 27, 2019, 09:04:53 AM »
The screen shot is from the information given to me by the repair script.   I did not change anything, I just saved what is there.     It's been ten years since I set up the site. I am using anecdota as my theme.  What was supposed to be in the default path?  How do I correct it?  repair script is not working.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,308
Re: cannot access admin "session timed out while posting."
« Reply #14 on: August 27, 2019, 09:12:01 AM »
can you post a larger section of the repair_settings.php script? we need to see clearly what it states for the default theme. the default theme paths should NEVER be changed to point to another theme.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #15 on: August 27, 2019, 09:25:12 AM »
I can't access the page any longer. I have the page open in a tab. If I do anything I will lose the page.   The rest of the page shows options, not paths.   Why won't the script work any longer?

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #16 on: August 27, 2019, 09:40:41 AM »
Here are the labels for the script information:


Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,508
  • Gender: Male
    • Kindred-999 on GitHub
Re: cannot access admin "session timed out while posting."
« Reply #17 on: August 27, 2019, 11:51:18 AM »
yeah.... that title "SMF Default theme - Anectoda"

that seems to suggest that you did exactly what I said...   which would explain why nothing works, because you're not supposed to do that.

You can not load the repair_settings.php screen again?
That should not depend on the theme settings at all.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #18 on: August 27, 2019, 08:14:44 PM »
I got a firewall. I am getting used to it.  I ran the repair script again and it worked. What needs to go into the default theme?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,317
Re: cannot access admin "session timed out while posting."
« Reply #19 on: August 27, 2019, 08:24:18 PM »
In repair_settings -

SMF Default Theme - Curve URL:    
SMF Default Theme - Curve Images URL:    
SMF Default Theme - Curve Directory:

 must all be set to ...... /Themes/default.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #20 on: August 27, 2019, 08:45:17 PM »
Thank you  Sir.

I cannot get into admin, so do I change the theme paths even though I can't change the default theme?  Can I change the theme name in template?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,317
Re: cannot access admin "session timed out while posting."
« Reply #21 on: August 28, 2019, 01:16:56 AM »
<sigh> Change the default theme paths in repair_settings.php.

Offline Willie

  • Jr. Member
  • **
  • Posts: 103
Re: cannot access admin "session timed out while posting."
« Reply #22 on: August 28, 2019, 06:04:41 PM »
Thank you Sir.  It worked. There was a problem with the hosting people. They had  me locked out even though the firewall was down.  :( 

Appreciate the help you all gave. The software is so good, that even we who know little about coding can get by with a little help from our friends. The "default" themes is confusing. There is the default I set for all users which is not the software default. I see it now.  :)

Have other issues, will take them elsewhere.

Again, thanks.