Board wont login for ACP

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Maggz
Registered User
Posts: 3
Joined: Sun Aug 01, 2021 4:38 pm

Board wont login for ACP

Post by Maggz »

OK i have recently removed the DB stuff from an old board by installing the ext and then deleting data and the removing it entirely. While i was logged in everything was fine, however i went to login to the ACP the following day and i get this in my httpd error log:

Code: Select all

[Sun Aug 01 11:51:53.475093 2021] [php7:error] [pid 15330] [client IPHIDDEN] 
PHP Fatal error:  Uncaught Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException: You have requested a non-existent service "keycaptcha.keycaptcha.captcha.keycaptcha". in /var/www/html/phpBB3/vendor/symfony/dependency-injection/Container.php:348
Stack trace:
#0 /var/www/html/phpBB3/phpbb/captcha/factory.php(48): Symfony\\Component\\DependencyInjection\\Container->get()\n#1 /var/www/html/phpBB3/phpbb/auth/provider/db.php(164): phpbb\\captcha\\factory->get_instance()
#2 /var/www/html/phpBB3/phpbb/auth/auth.php(949): phpbb\\auth\\provider\\db->login()
#3 /var/www/html/phpBB3/includes/functions.php(2326): phpbb\\auth\\auth->login()
#4 /var/www/html/phpBB3/ucp.php(92): login_box()
#5 {main}\n  thrown in /var/www/html/phpBB3/vendor/symfony/dependency-injection/Container.php on line 348, 
referer: http://www.rnmods.com/phpBB3/?

[Sun Aug 01 11:52:10.773741 2021] [php7:error] [pid 704] [client IPHIDDEN]
PHP Fatal error:  Uncaught Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException: You have requested a non-existent service "keycaptcha.keycaptcha.captcha.keycaptcha". in /var/www/html/phpBB3/vendor/symfony/dependency-injection/Container.php:348
Stack trace:\n#0 /var/www/html/phpBB3/phpbb/captcha/factory.php(48): Symfony\\Component\\DependencyInjection\\Container->get()
#1 /var/www/html/phpBB3/phpbb/auth/provider/db.php(164): phpbb\\captcha\\factory->get_instance()
#2 /var/www/html/phpBB3/phpbb/auth/auth.php(949): phpbb\\auth\\provider\\db->login()
#3 /var/www/html/phpBB3/includes/functions.php(2326): phpbb\\auth\\auth->login()
#4 /var/www/html/phpBB3/ucp.php(92): login_box()
#5 {main}\n  thrown in /var/www/html/phpBB3/vendor/symfony/dependency-injection/Container.php on line 348, 
referer: http://www.rnmods.com/phpBB3/?

i removed the keycaptcha ext and suddenly i cant login at all, i tried a second browser which ive not ever logged into the board with and the entire forum is not able to login. Is there a way to force the board to let me login to maybe re add this ext that caused this? Or is there some way or fixing this without wiping out my entire board, its been around for several years and id hate to delete it all
User avatar
invenio
Registered User
Posts: 341
Joined: Wed Dec 09, 2015 1:45 pm
Location: New Hampshire, USA
Contact:

Re: Board wont login for ACP

Post by invenio »

Did you follow the correct steps to remove the extension (ie disable, then delete data, then remove files) as outlined in the support documentation?

https://www.phpbb.com/support/docs/en/3 ... xtensions/
Maggz
Registered User
Posts: 3
Joined: Sun Aug 01, 2021 4:38 pm

Re: Board wont login for ACP

Post by Maggz »

yes all was done according to directions this is the error i get when trying to login it is posted in my httpd.log file:

[Sun Aug 01 15:54:58.208588 2021] [php7:error] [pid 15331] [client IPHIDDEN] PHP Fatal error: Uncaught Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException: You have requested a non-existent service "keycaptcha.keycaptcha.captcha.keycaptcha". in /var/www/html/phpBB3/vendor/symfony/dependency-injection/Container.php:348\nStack trace:\n#0 /var/www/html/phpBB3/phpbb/captcha/factory.php(48): Symfony\\Component\\DependencyInjection\\Container->get()\n#1 /var/www/html/phpBB3/phpbb/auth/provider/db.php(164): phpbb\\captcha\\factory->get_instance()\n#2 /var/www/html/phpBB3/phpbb/auth/auth.php(949): phpbb\\auth\\provider\\db->login()\n#3 /var/www/html/phpBB3/includes/functions.php(2326): phpbb\\auth\\auth->login()\n#4 /var/www/html/phpBB3/ucp.php(92): login_box()\n#5 {main}\n thrown in /var/www/html/phpBB3/vendor/symfony/dependency-injection/Container.php on line 348, referer: http://www.rnmods.com/phpBB3/?

any help would be appreciated, all was working fine till i removed the data in the DB. I had to actually reinstall the mod in order to remove it as it was broken and missing from the updated files which were done in the last 2 weeks
Maggz
Registered User
Posts: 3
Joined: Sun Aug 01, 2021 4:38 pm

Re: Board wont login for ACP

Post by Maggz »

OK so i finally fixed this issue. What happened was this: Someone failed password login more times than was acceptable, since my newest version of the forum no longer supported the extension for keycaptcha, and it was removed in the ACP after being disabled correctly. It was posting an error since the captcha plugin reference in the database was still listed as keycaptcha. Thus, the board was not functioning for anyone who needed to re auth. I had to go into the board database and manually set the correct captcha plugin. This resolved my issues. Sorry i didnt figure this out before posting here, Hopefully others that have similar issues might use this as reference.
Post Reply

Return to “[3.3.x] Support Forum”