Timeout installation 3.2.1 to 3.2.2

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
nl1sms
Registered User
Posts: 111
Joined: Wed May 25, 2005 4:24 pm
Location: Holland

Timeout installation 3.2.1 to 3.2.2

Post by nl1sms » Mon Jan 08, 2018 8:01 am

I uploaded all the files went to /install and immediately after pressing update i get the wellknown error:

The installer detected a timeout
The installer has detected a timeout, you may try to refresh the page, which may lead to data corruption. We suggest that you either increase your timeout settings or try to use the CLI.


Mij max execution setting has been made higher by my hoster. How can i fix this? I use the automatic updater 3.2.1 to 3.2.2.
Cheers

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5332
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Timeout installation 3.2.1 to 3.2.2

Post by Marc » Mon Jan 08, 2018 8:55 am

Does it really happen right after you click on the update tab or while running the update? You can try to purge the installer cache in [phpBB root]/cache/installer by removing the contents of that folder. Do not confuse the path with [phpBB root]/phpbb/installer.

User avatar
nl1sms
Registered User
Posts: 111
Joined: Wed May 25, 2005 4:24 pm
Location: Holland

Re: Timeout installation 3.2.1 to 3.2.2

Post by nl1sms » Mon Jan 08, 2018 8:56 am

It happens right after i click on update. It does not install anything at all.

I'll have a look... thanx..

edit:

There are some files in the installer map. I deleted them tried to update again but still a timeout.

edit2:

Okay, so i deleted all the files on my server except files images ext store. Uploaded the complete package and run the installer. Could do a database update and everything seems to work fine. But when in ACP it says that the version is 3.2.1 and not 3.2.2. ?!?!?!

I don't want to do this on my live forum as i have some code changes. I want to use the automatic updater. Help. ;)
Last edited by nl1sms on Mon Jan 08, 2018 9:22 am, edited 1 time in total.

janus_zonstraal
Registered User
Posts: 2697
Joined: Sat Aug 30, 2014 1:30 pm

Re: Timeout installation 3.2.1 to 3.2.2

Post by janus_zonstraal » Mon Jan 08, 2018 9:20 am

nl1sms wrote:
Mon Jan 08, 2018 8:56 am
It happens right after i click on update. It does not install anything at all.

I'll have a look... thanx..

edit:

There are some files in the installer map. I deleted them tried to update again but still a timeout.
Same problem here.
Sorry! My English is bat ;) !!!

CD130
Registered User
Posts: 74
Joined: Thu Nov 13, 2014 2:09 pm

Re: Timeout installation 3.2.1 to 3.2.2

Post by CD130 » Mon Jan 08, 2018 9:34 am

Same here. I used the version on phpbb.nl.

janus_zonstraal
Registered User
Posts: 2697
Joined: Sat Aug 30, 2014 1:30 pm

Re: Timeout installation 3.2.1 to 3.2.2

Post by janus_zonstraal » Mon Jan 08, 2018 9:49 am

CD130 wrote:
Mon Jan 08, 2018 9:34 am
Same here. I used the version on phpbb.nl.
#MeToo
Sorry! My English is bat ;) !!!

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5332
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Timeout installation 3.2.1 to 3.2.2

Post by Marc » Mon Jan 08, 2018 9:52 am

A timeout might also be a sign of a PHP error. Please take a look at your server's PHP error logs and post the result (if any) here.

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24741
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Timeout installation 3.2.1 to 3.2.2

Post by Paul » Mon Jan 08, 2018 10:17 am

There is a error in the download from phpBB.nl. There should be a new package soon.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Cliff Evans
Registered User
Posts: 35
Joined: Fri Jan 17, 2014 11:36 am

Re: Timeout installation 3.2.1 to 3.2.2

Post by Cliff Evans » Mon Jan 08, 2018 10:23 am

I am getting the same her on localhost, do not want to try on live forum!

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24741
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Timeout installation 3.2.1 to 3.2.2

Post by Paul » Mon Jan 08, 2018 10:31 am

Cliff Evans wrote:
Mon Jan 08, 2018 10:23 am
I am getting the same her on localhost, do not want to try on live forum!
The problem reported above is due to a error in the package downloaded from phpBB.nl, if you didn't download it from there you should open a new topic.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
***Blaze***
Registered User
Posts: 51
Joined: Tue May 22, 2007 6:21 am
Location: Dankov, Russia
Name: Aleksej
Contact:

Re: Timeout installation 3.2.1 to 3.2.2

Post by ***Blaze*** » Mon Jan 08, 2018 11:27 am

The same for me!!! Any body help.

Code: Select all

The installer detected a timeout

The installer has detected a timeout, you may try to refresh the page, which may lead to data corruption. We suggest that you either increase your timeout settings or try to use the CLI.

Code: Select all

Installing Data: \phpbb\db\migration\data\v32x\fix_user_styles.
My website ublaze.ru

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Timeout installation 3.2.1 to 3.2.2

Post by Mick » Mon Jan 08, 2018 11:30 am

nl1sms wrote:
Mon Jan 08, 2018 8:01 am
I use the automatic updater 3.2.1 to 3.2.2. Cheers
Why, have you been editing core code? Try following Knowledge Base - Updating 3.2.x
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20955
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Timeout installation 3.2.1 to 3.2.2

Post by RMcGirr83 » Mon Jan 08, 2018 11:36 am

Same issue
08-Jan-2018 05:32:34 America/Chicago] PHP Fatal error: Call to a member function fetch_array() on resource in /home/rmcgirr8/public_html/install/update/new/phpbb/db/migration/data/v32x/fix_user_styles.php on line 42
$result->fetch_array();

:?:

EDIT: fixed by changing dbms in config.php from mysql to mysqli
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5332
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Timeout installation 3.2.1 to 3.2.2

Post by Marc » Mon Jan 08, 2018 12:21 pm

RMcGirr83 wrote:
Mon Jan 08, 2018 11:36 am
Same issue
08-Jan-2018 05:32:34 America/Chicago] PHP Fatal error: Call to a member function fetch_array() on resource in /home/rmcgirr8/public_html/install/update/new/phpbb/db/migration/data/v32x/fix_user_styles.php on line 42
$result->fetch_array();

:?:

EDIT: fixed by changing dbms in config.php from mysql to mysqli
This is unfortunately an issue in the migration that was overlooked and will be fixed asap. In the mean time the issue can also be solved with this on other DBMS types:
Fix: Open phpbb/db/migration/data/v32x/fix_user_styles.php & find:

Code: Select all

$enabled_styles = $result->fetch_array();
Replace with:

Code: Select all

$enabled_styles = $this->db->sql_fetchrowset($result);

User avatar
nl1sms
Registered User
Posts: 111
Joined: Wed May 25, 2005 4:24 pm
Location: Holland

Re: Timeout installation 3.2.1 to 3.2.2

Post by nl1sms » Mon Jan 08, 2018 12:45 pm

The timeout problem was caused by the dutch package download. That's fixed now but when i try to upload the complete package and update it gives the error:

The file differ failed to open Array.
[phpBB Debug] "file_get_contents(../install/update/new/language/nl/email/user_resend_inactive.txt): failed to open stream: No such file or directory" in file /home/name/public_html/test_forum/forum/install/update/new/phpbb/install/module/update_filesystem/task/diff_files.php on line 182
[phpBB Debug] "Array to string conversion" in file /home/name/public_html/test_forum/forum/install/update/new/phpbb/language/language.php on line 313

Anyone?

Locked

Return to “[3.2.x] Support Forum”