Not able to log in anymore after update to 3.2.6

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
celticalliance
Registered User
Posts: 8
Joined: Mon Apr 29, 2019 11:52 am

Not able to log in anymore after update to 3.2.6

Post by celticalliance » Mon Apr 29, 2019 12:06 pm

Support Request Template
What version of phpBB are you using? phpBB 3.2.6
What is your board's URL? http://celticalliance.clanservers.com/forums
Who do you host your board with? GameServers.com
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? phpBB 3.2.5
What extensions do you have installed? Stop Forum Spam
Board Announcements
What styles do you currently have installed? Simplicity
What language(s) is your board currently using? British-English
Which database type/version are you using? MySQL 5.7.26
What is your level of experience? New to PHP but not phpBB
What username can be used to view this issue? We have a backup admin account to use. Info can be provided.
What password can be used to view this issue? See above.
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? I was updating my board with the changed files package. I made sure I used the correct package, 3.2.5 to 3.2.6.
Please describe your problem. After updating no one is able to log in anymore. We keep getting the message The submitted form was invalid. Try submitting again. I tried deleting the cookies but that's about as much as I can do. We also have a trailing dot in front of the cookie domain so I'm not sure if this is causing the issue. We are also not able to access the Admin control panel.

When updating I ran the installer by using celticalliance.clanservers.com/forums/install and it gave me the option to update database only. This was correct was it?
Generated by SRT Generator
Last edited by celticalliance on Mon Apr 29, 2019 1:35 pm, edited 5 times in total.

celticalliance
Registered User
Posts: 8
Joined: Mon Apr 29, 2019 11:52 am

Re: Not able to log in anymore after update to 3.2.6

Post by celticalliance » Mon Apr 29, 2019 12:21 pm

I just realised the default theme was set to simplicity before we ran the update. Is this the cause of the issue maybe? How can I get my board accessible again without access to the admin panel nor the forum itself?

User avatar
</Solidjeuh>
Registered User
Posts: 1625
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Not able to log in anymore after update to 3.2.6

Post by </Solidjeuh> » Mon Apr 29, 2019 12:45 pm

I have the same issue ... please help ASAP :o
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

celticalliance
Registered User
Posts: 8
Joined: Mon Apr 29, 2019 11:52 am

Re: Not able to log in anymore after update to 3.2.6

Post by celticalliance » Mon Apr 29, 2019 12:58 pm

Oh god. Sorry man. Maybe there is a bug in the newest update?

Anyway, just so I'm clear, I downloaded the Changed files package. In the 3.2.5 to 3.2.6 folder there are some folders called docs and vendor besides install. Do I include these folders in the update as well?

User avatar
</Solidjeuh>
Registered User
Posts: 1625
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Not able to log in anymore after update to 3.2.6

Post by </Solidjeuh> » Mon Apr 29, 2019 1:00 pm

Login via /ucp.php?mode=login works. But not via index.php.
I used the Full Update package.
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

celticalliance
Registered User
Posts: 8
Joined: Mon Apr 29, 2019 11:52 am

Re: Not able to log in anymore after update to 3.2.6

Post by celticalliance » Mon Apr 29, 2019 1:03 pm

Not for us I'm afraid :(

celticalliance
Registered User
Posts: 8
Joined: Mon Apr 29, 2019 11:52 am

Re: Not able to log in anymore after update to 3.2.6

Post by celticalliance » Mon Apr 29, 2019 1:34 pm

Reverting the files to version 3.2.5 fixed the issue. I suspect there may be a bug in the 3.2.6 files?

Not sure if this is the case but I'm just sharing it here.

User avatar
EA117
Registered User
Posts: 653
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: Not able to log in anymore after update to 3.2.6

Post by EA117 » Mon Apr 29, 2019 1:38 pm

Assume it would have to be the S_FORM_TOKEN_LOGIN change.

login_box() from /includes/functions.php did not call check_form_key() or potentially throw FORM_INVALID in phpBB 3.2.5, and now it does. And /styles/prosilver/template/login_body.html and index_body.html did not include "{S_FORM_TOKEN_LOGIN}" before, and now they do.

That would be my guess as to the cause: Login is failing on a board using a style that inherits from proSilver but redefines login_body.html and/or index_body, and doesn't contain the 3.2.6 change. Or a style that was simply never inheriting from proSilver to begin with, and so doesn't contain these changes either. Or, as I'm sure it will be summarized, "A non-phpBB 3.2.6-compatible style was selected."

celticalliance
Registered User
Posts: 8
Joined: Mon Apr 29, 2019 11:52 am

Re: Not able to log in anymore after update to 3.2.6

Post by celticalliance » Mon Apr 29, 2019 1:42 pm

Right. That could be it then.

For now I have reverted back to 3.2.5 but will give it another go soon. I'll make sure to set the default style to proSilver first before the update. I do believe though MrGaby's Simplicity inherets from proSilver but again I am not too sure :)

User avatar
EA117
Registered User
Posts: 653
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: Not able to log in anymore after update to 3.2.6

Post by EA117 » Mon Apr 29, 2019 1:46 pm

celticalliance wrote:
Mon Apr 29, 2019 1:42 pm
For now I have reverted back to 3.2.5 but will give it another go soon. I'll make sure to set the default style to proSilver first before the update. I do believe though MrGaby's Simplicity inherets from proSilver but again I am not too sure :)
Check whether this style re-defines login_body.html and/or index_body.html though. (i.e. Whether these files exist under the style's /templates folder.) Since in that case, those templates need the 3.2.6 changes integrated into them, even if the style is successfully inheriting everything else from the phpBB-delivered proSilver. i.e. That's what the style author will do in delivering a 3.2.6-compatible version of their proSilver-inheriting style.

celticalliance
Registered User
Posts: 8
Joined: Mon Apr 29, 2019 11:52 am

Re: Not able to log in anymore after update to 3.2.6

Post by celticalliance » Mon Apr 29, 2019 1:53 pm

Yeah, Simplicity is using its own login_body and index_body files and the code you showed is missing in both files.

I just reverted real quick because people needed to use the forums but I'll give the update a go again real soon. I may just make the changes myself for the time being until MrGaby releases an update.

User avatar
rubencm
Development Team Member
Development Team Member
Posts: 78
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain

Re: Not able to log in anymore after update to 3.2.6

Post by rubencm » Mon Apr 29, 2019 2:02 pm

Your template isn't updated, you have to do this changes:
Image

User avatar
</Solidjeuh>
Registered User
Posts: 1625
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Not able to log in anymore after update to 3.2.6

Post by </Solidjeuh> » Mon Apr 29, 2019 2:16 pm

I have updated to 3.2.6 RC.1 , but we have no style changes from 3.2.6 RC.1 to 3.2.6. So looks like where missing some changes then.

EDIT

I'm using the "quick login" extension.
I needed to add add_form_key('login', '_LOGIN'); in listner.php
And {{ S_FORM_TOKEN_LOGIN }} in quick_login.html

So it's working now ;)
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

User avatar
david63
Registered User
Posts: 16195
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Not able to log in anymore after update to 3.2.6

Post by david63 » Mon Apr 29, 2019 3:20 pm

I am not convinced that this is a template issue.

I have just created a totally new board with 3.2.6. I then logged out and cannot log back in. I am getting
The submitted form was invalid. Try submitting again.
There is nothing whatsoever on this board other than the Admin user and the default set up.

I have also got the same problem with an update from 3.2.5 using changed files


https://tracker.phpbb.com/browse/PHPBB3-16036
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

shrapnel09
Registered User
Posts: 28
Joined: Fri Nov 21, 2008 8:52 pm

Re: Not able to log in anymore after update to 3.2.6

Post by shrapnel09 » Mon Apr 29, 2019 3:31 pm

I encountered the same problem on my forum of an HTTP 500 error after logging in following updating from 3.2.5 to 3.2.6 today. My solution was to update the extension phpBB Media Embed Plugin. Posting in case that helps anyone else.

Post Reply

Return to “[3.2.x] Support Forum”