Update to 3.2.2 crashes

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Lighthope
Registered User
Posts: 51
Joined: Fri Jun 24, 2005 11:17 pm
Contact:

Update to 3.2.2 crashes

Post by Lighthope » Fri Mar 30, 2018 7:13 pm

Attempting to update from 3.2.0 to 3.2.2

During database update, receive the following 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.

Installing Data: \phpbb\db\migration\data\v32x\fix_user_styles.
I have already applied the fix noted in the Known issues in 3.2.2 post, to wit in the file \phpbb\db\migration\data\v32x\fix_user_styles I have replaced the line
$enabled_styles = $result->fetch_array();

with the code
$enabled_styles = array();
while ($row = $this->db->sql_fetchrow($result))
{
$enabled_styles[] = (int) $row['style_id'];
}

I still get the above error.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66328
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Update to 3.2.2 crashes

Post by Lumpy Burgertushie » Fri Mar 30, 2018 7:23 pm

make sure that in your config.php file you have mysqli instead of mysql


make that change and purge the cache.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Lighthope
Registered User
Posts: 51
Joined: Fri Jun 24, 2005 11:17 pm
Contact:

Re: Update to 3.2.2 crashes

Post by Lighthope » Fri Mar 30, 2018 7:30 pm

Lumpy Burgertushie wrote:
Fri Mar 30, 2018 7:23 pm
make sure that in your config.php file you have mysqli instead of mysql


make that change and purge the cache.

robert
That did it. Thanks.

Post Reply

Return to “[3.2.x] Support Forum”