Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ModelBoatMayhem on May 15, 2017, 11:51:59 AM

Title: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 15, 2017, 11:51:59 AM

Now getting - after [2.0.14] patch

An Error Has Occurred!
Your session timed out while posting. Please go back and try again.
What is the fix?

It was working until I logged off, now I can't even logon to my own forum!

Help!
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Colin on May 15, 2017, 12:08:18 PM
Are you using a custom theme? Did you continue the 2.0.14 patch installation with errors in the custom theme?
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: vbgamer45 on May 15, 2017, 12:10:45 PM
If your custom theme index.template.php
Find something like

<input type="hidden" name="hash_passwrd" value="" />

Add after

<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 15, 2017, 12:12:57 PM
Quote from: Colin on May 15, 2017, 12:08:18 PM
Are you using a custom theme? Did you continue the 2.0.14 patch installation with errors in the custom theme?

Default everything

PHPMyAdmin says:  PHP version: 5.6.30       
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: vbgamer45 on May 15, 2017, 12:14:03 PM
Looking at your site the edit didn't happen on your index.template.php of the default theme.
Add that edit.

Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 15, 2017, 12:24:41 PM

currently /forum/Themes/defalt
<input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />

Still same error....  :(

Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: vbgamer45 on May 15, 2017, 01:10:31 PM
Hmm I would check that the other edits took affect did you get any errors on install?
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 15, 2017, 03:10:02 PM

No errors on running update.
How do I check the edits if I can't login?
Can I roll back?

Getting a bit concerned now!
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: vbgamer45 on May 15, 2017, 03:11:35 PM
If you get the patch file
You can upload it to http://www.smfhacks.com/smf-package-parser.html and that will give you the edits.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Illori on May 15, 2017, 03:16:16 PM
you should be using FTP for file edits. you dont need to be logged into the forum to use FTP.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 15, 2017, 03:18:10 PM
Quote from: vbgamer45 on May 15, 2017, 03:11:35 PM
If you get the patch file
You can upload it to http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html) and that will give you the edits.

OK, will overwrite any personal  settings?
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Colin on May 15, 2017, 08:49:21 PM
No, it will not.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Gaza07 on May 15, 2017, 09:43:07 PM
My custom themes are giving the same error on login as above even though the update showed no errors and the line before </form>'; has been correctly altered there is deff something else wrong,
I found if I set the default forum theme to smf default, I could still login in and then set a custom theme which works fine it just means the smf default theme is always the login one,
there must be something that didnt get altered in the custom theme's that did get done in the default one.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Illori on May 16, 2017, 05:03:26 AM
then you should start your own topic for your own issue so we can look into your issue further.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 16, 2017, 06:11:31 AM
 
OK, found a fix .... well bit of a lucky work around!

On my home PC, I was still logged in  ( with the 'Forever' option! ),  got into Admin, installed the 2.0.14 patch and everything was OK.
I re-run the patch install and noticed that at the very bottom of the file list there is an option to apply to various Themes, by default, these are Un-Ticked!

Ticked the boxes, installed OK - no errors now!
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Gaza07 on May 16, 2017, 02:35:35 PM
Quote from: Illori on May 16, 2017, 05:03:26 AM
then you should start your own topic for your own issue so we can look into your issue further.

I posted in here because it was exactly the same problem as the original post  ::)
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Illori on May 16, 2017, 02:47:35 PM
it does not matter if the same issue or not, this topic belongs to someone else and is marked solved. please start your own topic.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ~IsR~Barabba on May 16, 2017, 05:06:49 PM
Quote from: ModelBoIyhem on May 16, 2017, 06:11:31 AM

OK, found a fix .... well bit of a lucky work around!

On my home PC, I was still logged in  ( with the 'Forever' option! ),  got into Admin, installed the 2.0.14 patch and everything was OK.
I re-run the patch install and noticed that at the very bottom of the file list there is an option to apply to various Themes, by default, these are Un-Ticked!

Ticked the boxes, installed OK - no errors now!
I followed this advice, and now almost everything works.
The user panel does not work yet, login from there.

If you want to do some tests to help me, register (http://www.internationalsimracing.com/forum/index.php?action=forum) and try it yourself.
I'm not practical of these things, so I'm very sorry and overwhelmed by this thing.
If I go back to the previous version everything works correctly.
Please help me.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Sir Osis of Liver on May 16, 2017, 05:09:25 PM
Uninstall the patch, stay with 2.0.13 for now.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 16, 2017, 05:46:21 PM
 
... first time I've experienced any problems from an official SMF patch.... poor Beta testing?!....  :(
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Kindred on May 16, 2017, 08:32:26 PM
Worked fine for our tests and has been in use on this site for a few weeks now.

And I disagree with sir osis' suggestion. You should not "stay with 2.0.13"
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 16, 2017, 08:36:44 PM
Quote from: Kindred on May 16, 2017, 08:32:26 PM

Worked fine for our tests and has been in use on this site for a few weeks now.


Hmmmm.... "I see no ships!"

Should you be more concerned that this patch is locking some of your customers out?!


Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Illori on May 17, 2017, 05:09:22 AM
we cant patch every custom theme that is out there for a security fix we put in the patch. it is up to the admin to apply the fix to their custom themes so it will work for them. they are not actually locked out of their forums.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 17, 2017, 05:19:07 AM
 
I'm actually using the default theme with  no MODS!
OK, not actually locked out  but can't log back in ... what's the difference?!
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Illori on May 17, 2017, 05:30:13 AM
that is because something has modified your theme. you have been advised on how to fix the issue already.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: ModelBoatMayhem on May 17, 2017, 06:40:55 AM
Quote from: ModelBoatMayhem on May 17, 2017, 05:19:07 AM

default theme with  no MODS!
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Illori on May 17, 2017, 08:12:43 AM
something had to have modified your theme at some point to cause this issue otherwise it would not be happening.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Sir Osis of Liver on May 17, 2017, 12:48:09 PM
Quote from: ModelBoatMayhem on May 16, 2017, 08:36:44 PM
Hmmmm.... "I see no ships!"


Hee, hee.  Horatio Nelson should be on the team. ;D

For the record, Sir Osis never installs patches on his production forums until they've been out for at least a month or two (for reasons which are obvious).  I upgraded from 2.0.11 to .13 just recently.  Up until a couple days ago, .13 was the latest and greatest.  It isn't any worse now than it was then, and it's certainly better than .14.  While other members of the team may disagree, I have no problem recommending that forum owners having problems with .14 revert to .13, and stay there until the bugs in .14 are fixed and .15 is released.
Title: Re: Now getting this also after [2.0.14] patch, what is the fix?
Post by: Campanule on May 17, 2017, 01:27:54 PM
Thank you Sir Osis. I didn't know I could uninstall

I had the same problem and had to try 4-5 times to log in. And my forum is standard (except smilies   ;D ) I don't know anything about mods and what they are etc.

I thought everything was okay in .14 but only until I logged out

So I uninstalled and now my forum is working excellent in 2.0.13 - I am a happy camper again