Page 1 of 1

can't login to admin panel

Posted: Fri Mar 01, 2019 4:55 am
by nanno
Support Request Template
What version of phpBB are you using? phpBB 3.2.2
What is your board's URL? https://oh6ac.net/foorumi
Who do you host your board with? suncomet.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? Yes
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.2.1
What styles do you currently have installed? only default
What language(s) is your board currently using? finnish
Which database type/version are you using? I Don't Know
What is your level of experience? Comfortable with PHP and phpBB
What username can be used to view this issue? No answer given
What password can be used to view this issue? No answer given
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Nothing for a long time
Please describe your problem. We noticed that any admin cant login anymore to adminpanel. Forum ask password for login to adminpanel, but nothing happen.
Generated by SRT Generator

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 7:45 am
by janus_zonstraal
Why php3.2.2 and not 3.2.5 the latest version?

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 8:10 am
by Mick
Generally if you've done nothing to cause the issue then it must have been your host, things 'don't just change' on their own. You should speak to them and have a look at the server error logs to see if there's a clue there. Have you had any ssl issues of late?

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 9:20 am
by nanno
I update to latest version. Update went fine, but same problem is still there.
Maybe i have to ask from host.

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 12:57 pm
by nanno
[Host responded, that there is nothing wrong with server and i have to check error_log.

I found error_log file in my phpbb folder that contains old errors:

Code: Select all

[01-Feb-2018 10:25:52 UTC] PHP Warning:  include(/home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php): failed to open stream: No such file or directory in /home/oh6ac/public_html/foorumi/vendor/composer/ClassLoader.php on line 412
[01-Feb-2018 10:25:52 UTC] PHP Warning:  include(): Failed opening '/home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php' for inclusion (include_path='.:/opt/alt/php71/usr/share/pear') in /home/oh6ac/public_html/foorumi/vendor/composer/ClassLoader.php on line 412
[01-Feb-2018 10:25:52 UTC] PHP Fatal error:  Uncaught Error: Class 'Twig_Node_Expression_Binary_Equal' not found in /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/ExpressionParser.php:70
Stack trace:
#0 /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/TokenParser/If.php(33): Twig_ExpressionParser->parseExpression()
#1 /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/Parser.php(190): Twig_TokenParser_If->parse(Object(Twig_Token))
#2 /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/Parser.php(103): Twig_Parser->subparse(NULL, false)
#3 /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/Environment.php(712): Twig_Parser->parse(Object(Twig_TokenStream))
#4 /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/Environment.php(770): Twig_Environment->parse(Object(Twig_TokenStream))
#5 /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/Environment.php(452): Twig_Environment->compileSource(Object(Twig_Source))
#6 /home/oh6ac/public_html/foorumi/phpbb/template/twig/environment.php(277): Twig_Environment->lo in /home/oh6ac/public_html/foorumi/vendor/twig/twig/lib/Twig/ExpressionParser.php on line 70
I also check errors from cpanel, but there is nothing.

Do i have to install all files again?

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 2:53 pm
by stevemaury
You can try reuploading the /adm folder.

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 3:55 pm
by nanno
I upload again all files from full install package, except config.php.
Then i remove install folder and test again.

Everything else work (like before), but adminpanel login not. :(

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 4:05 pm
by Lumpy Burgertushie
on one test I am getting a 403 permission denied error when accessing the board.
also, it shows no phpbb installed.
however, I can see the site just fine.

just a wild guess, change the name of the folder from foorumi to just forum and try again.

robert

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 4:09 pm
by nanno
Mick wrote:
Fri Mar 01, 2019 8:10 am
Have you had any ssl issues of late?
We haven't get any ssl issues before. What do you think.. do i have to test it without ssl? I know that i can do it in phpmyadmin.

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 4:11 pm
by nanno
Lumpy Burgertushie wrote:
Fri Mar 01, 2019 4:05 pm
on one test I am getting a 403 permission denied error when accessing the board.
also, it shows no phpbb installed.
however, I can see the site just fine.

just a wild guess, change the name of the folder from foorumi to just forum and try again.

robert
Thanks Lumpy. I will try that next.

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 4:21 pm
by nanno
I have no try following:

-Moved to forum folder. Same problem.
-Change server port 443 to 80, protocol from https to http, and script path to forum, but not work. Without ssl i get 403 error, when try to log adminpanel.

Now i have moved it back to original folder /foorumi and settings back to ssl.

Why it shows 403? Problem with .htaccess?

Re: can't login to admin panel

Posted: Fri Mar 01, 2019 10:53 pm
by Lumpy Burgertushie
check to see if you have cloudfare set in your hosting control panel. if so, turn it off to test.

and/or
ask your host about mod_security settings. sometimes if it is set to strict it can throw 403 erorrs for no apparent reason.


robert

Re: can't login to admin panel

Posted: Sat Mar 02, 2019 8:59 am
by nanno
There is no cloudfare option.

Re: can't login to admin panel

Posted: Sat Mar 02, 2019 9:09 am
by nanno
One new thing.

When i'm at administrator login page and i press "delete cookies" forum says: AJAX ERROR
The requested page could not be found.

Re: can't login to admin panel

Posted: Sun Mar 17, 2019 3:19 pm
by nanno
Solved. After shutdown modsecurity from cpanel everyting works great again. Thanks for help :)