Page 1 of 1

Cant login to admin after fix for login phpbb 3.2.7

Posted: 4. July 2019 21:22
by Havym
Hello,

First of all i love this extension and i want to thank the creator for this extension.

I updated our forum to phpbb 3.2.7 and of course i had issues login in using the usermenu of the portal. I got the message "the form is not valid, please try again.
After a search here i found the fix for this problem and i installed it. Now i can login... Yes!

Later on i noticed i got the same message when i was trying to login into the admin part.
I removed the fix so i can login to admin again but the first problem is back.

Does anyone else has the same problem?

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 5. July 2019 01:11
by Solidjeuh
What style do u use? If you have another style then the standard prosilver, did you update that style? Manual edits: https://area51.phpbb.com/code-changes/3.2.6/. Or see if there is an updated version of your style.

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 5. July 2019 23:49
by Havym
I use the standard theme prosilver.

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 6. July 2019 11:01
by Kirk
Hi
The login into admin part has nothing to do with the portal, please ask at phpbb.com.

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 6. July 2019 21:18
by Havym
Well they will probably refer me back to here....
it happend after the fix (https://www.board3.de/viewtopic.php?f=72&t=11572) for the portal. When i remove the fix i can login again to the admin panel.
After the fix installed the problem moves from the login module of the portal to the phpbb admin part.
So i think the problem is in the fix and not in phpbb.

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 7. July 2019 16:25
by Kirk
I don't follow this behavior. Maybe not everything went correctly with the update.

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 7. July 2019 23:55
by Havym
Thats also possible. Any idea where i can search without needing any scripting knowledge?

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 9. July 2019 22:19
by Havym
I still do think the problem is in the portal.
Today i was editing a portal block and saw a php debug warning.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 789: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 790: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 791: A non-numeric value encountered
Is there a way to download the new version of the portal including the fix?

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 10. July 2019 16:57
by Solidjeuh

Re: Cant login to admin after fix for login phpbb 3.2.7

Posted: 10. July 2019 20:54
by Havym
PHP 7.2.19
I will look into the link after my holliday. Thank you.

i looked into the file on the lines and this is the code on the 3 lines.
It's the same as in the full package of phpbb.

Code: Select all

		'allow_bbcode'	=> ($flags & OPTION_FLAG_BBCODE) ? 1 : 0,
		'allow_smilies'	=> ($flags & OPTION_FLAG_SMILIES) ? 1 : 0,
		'allow_urls'	=> ($flags & OPTION_FLAG_LINKS) ? 1 : 0,