"The installer detected a timeout" when updating from 3.2.9

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Markitos_59
Registered User
Posts: 6
Joined: Fri Jan 10, 2020 6:13 pm

"The installer detected a timeout" when updating from 3.2.9

Post by Markitos_59 »

Support Request Template
What version of phpBB are you using? phpBB 3.3.0
What is your board's URL? https://www.dentaltwins.net/dentalchat/
Who do you host your board with? iPower (https://www.ipower.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? No
What version of phpBB3 did you update from? phpBB 3.2.9
What styles do you currently have installed? prosilver
What language(s) is your board currently using? British English
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Updating board to 3.3.0
Please describe your problem. Encounterd a "The installer detected a timeout" error immediately after starting the update. I had already changed my host php setting from php version 5.6 to 7.3. Had tried a suggestion on the phpbb bulletin board to increase timeout settings on php.ini, which I did, but it didn't help. And just to anticipate a suggestion to use the command line interface/CLI, my web host does not allow telnet or other direct access. I rolled my phpbb back to version 3.2.9, and set my php version back to 5.6. Interestingly, my ACP displays a phpbb version of 3.3.0, although I did roll back to 3.2.9. I'd like some help with the update. Thanks!
Generated by SRT Generator
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: "The installer detected a timeout" when updating from 3.2.9

Post by Lumpy Burgertushie »

I would suggest you reset your php version to 7.2 for the upgrade. then after it is done you can move up to php7.3 or 7.4

phpbb 3.2.9 does not work with php 7.3 so you need 7.2 to do the upgrade because you are still on phpbb 3.2.9 at that point.

give it a try.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Markitos_59
Registered User
Posts: 6
Joined: Fri Jan 10, 2020 6:13 pm

Re: "The installer detected a timeout" when updating from 3.2.9

Post by Markitos_59 »

Thanks-- I'll give it a shot and report back...
Markitos_59
Registered User
Posts: 6
Joined: Fri Jan 10, 2020 6:13 pm

Re: "The installer detected a timeout" when updating from 3.2.9

Post by Markitos_59 »

Nope-- sadly, I still got the timeout error when setting my php version to 7.2. And when I drop it further to version 7.1, I get the error message "You are running an unsupported PHP version. Please upgrade to PHP 7.1.3 or higher before trying to install or update to phpBB 3.3". Could you suggest anything else? Maybe a specific modification of the php.ini? Thanks!
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10588
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster

Re: "The installer detected a timeout" when updating from 3.2.9

Post by Noxwizard »

If you're getting a timeout immediately, check your server's error log to see if there are any PHP errors.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
Markitos_59
Registered User
Posts: 6
Joined: Fri Jan 10, 2020 6:13 pm

Re: "The installer detected a timeout" when updating from 3.2.9

Post by Markitos_59 »

Sorry-- I don't know how to check my web server's error logs
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: "The installer detected a timeout" when updating from 3.2.9

Post by david63 »

Markitos_59 wrote: Sat Jan 11, 2020 3:20 am Sorry-- I don't know how to check my web server's error logs
There should be an option in your control panel - if not you will need to ask your hosts as the location can vary from host to host.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Markitos_59
Registered User
Posts: 6
Joined: Fri Jan 10, 2020 6:13 pm

Re: "The installer detected a timeout" when updating from 3.2.9

Post by Markitos_59 »

OK-- Found it. I reset my error log and then ran the phpbb install, getting the same timeout error. This resulted in the following error log entry:

20200111T061737: www.dentaltwins.net/dentalchat/install/app.php/update
PHP Fatal error: Uncaught Error: Call to undefined function phpbb\db\driver\mysql_query() in /hermes/bosnacweb02/bosnacweb02ab/b1195/ipw.dentaltw/public_html/dentalchat/phpbb/db/driver/mysql.php:189
Stack trace:
#0 /hermes/bosnacweb02/bosnacweb02ab/b1195/ipw.dentaltw/public_html/dentalchat/phpbb/db/driver/factory.php(345): phpbb\db\driver\mysql->sql_query('SELECT config_n...', 0)
#1 /hermes/bosnacweb02/bosnacweb02ab/b1195/ipw.dentaltw/public_html/dentalchat/phpbb/config/db.php(71): phpbb\db\driver\factory-

Does this give you any actionable information?
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: "The installer detected a timeout" when updating from 3.2.9

Post by 3Di »

In your ROOT/config.php file replace mysql with mysqli, should do.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Markitos_59
Registered User
Posts: 6
Joined: Fri Jan 10, 2020 6:13 pm

Re: "The installer detected a timeout" when updating from 3.2.9

Post by Markitos_59 »

I found the answer at: viewtopic.php?p=14913981#p14913981
Re: Fatal Error Migrating existing forum to PHP 7 host
Post by david63 » Wed Jan 17, 2018 8:27 pm

That error is sometimes caused by having an invalid database type in your config.php file. If you have mysql as the database type then that has been removed from PHP7 and you need to change it to mysqli.
Thanks everybody!

Return to “[3.3.x] Support Forum”