Internal error during upgrade

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rea5245
Posts: 2
Joined: 28 Jan 2021, 16:18

Internal error during upgrade

Post by rea5245 »

Hi,

I'm upgrading to 2.24.2 by creating a new folder and copying the 2.24.2 files into it. I also copied my old config_inc.php into the folder.

I went to <my domain>/admin/install.php and all the checks were good except:
Checking there is no 'config_inc.php' file in 1.2.x location. BAD Move config_inc.php to config/config_inc.php.
So I moved my config_inc.php to the config directory, clicked Retry and got:
INTERNAL APPLICATION ERROR

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Pressing the Back button just re-displays this error.

The config_inc.php file is just:

Code: Select all

<?php

	$g_hostname = 'localhost';

	$g_db_type = 'mysql';

	$g_database_name = '<my database name>';

	$g_db_username = '<my database name>';

	$g_db_password = '<database password>';

?>
(The values in the file are the real db name and password; I've just removed them here.)

I'm running PHP 7.4.14.

How can I troubleshoot this?

Thank you.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Internal error during upgrade

Post by atrol »

Code: Select all

$g_db_type = 'mysql';
As a first step change to

Code: Select all

$g_db_type = 'mysqli';
Check your webserver and PHP logs for errors.
Please use Search before posting and read the Manual
rea5245
Posts: 2
Joined: 28 Jan 2021, 16:18

Re: Internal error during upgrade

Post by rea5245 »

That was it! Thank you!
Post Reply