index.php error after upgrade

If you aren't speaking german, you can ask for support or post your request here.
Antworten
dpwrestle
Beiträge: 1
Registriert: 19. Feb 2016, 06:29

index.php error after upgrade

Beitrag von dpwrestle »

Upgraded Admidio on Arvixe host website, and now receive 500 Internal error via Chrome...

Debugged down to the following code where I see Debug 1, Debug 2a, and no Debug 2b using Safari...

Thoughts most welcome...Dave

echo "Debug 1<br>";
// connect to database
try
{
$gDb = new Database($gDbType, $g_adm_srv, null, $g_adm_db, $g_adm_usr, $g_adm_pw);
}
catch(AdmException $e)
{
$e->showText();
}
echo "Debug 2a<br>";
// if database doesn't contain the components table then link to update wizard
// because database Admidio version is lower then 3.0
if($gDb->query('SELECT 1 FROM '.TBL_COMPONENTS, false) === false)
{
echo "Debug 2b<br>";
header('Location: adm_program/installation/update.php');
echo "Debug 3<br>";
}
Benutzeravatar
fasse
Administrator
Beiträge: 6170
Registriert: 12. Nov 2005, 16:06

Re: index.php error after upgrade

Beitrag von fasse »

Hi Dave,

which Version of Admidio do you use before?

Fasse
Antworten