dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #819] new install crash


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #819] new install crash
Date: Sat, 13 Apr 2013 15:47:39 +0200

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

new install crash

État

 Détails
Last Modified On:  13/04/2013 15:47 Submitted by:  Nicolas LESCURE (solariane)
Submitted on:  13/04/2013 15:47 Dolibarr version:  3.3.1
PHP version:  5.3 Database type and version:  
OS Type/Version:  Debian / Squeeze Category:  Other
Severity:  5 - Major 
Summary:  new install crash
Description:  Doing a source install of dolibarr on a debian server with NGINX as web front, I kept getting a broken page on the second step of the install.

looking at the log I've got :


PHP message: PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class DoliDB._pgsql does not exist' in /var/www/dev/dolibarr/htdocs/core/lib/functions.lib.php:51
Stack trace:
#0 /var/www/dev/dolibarr/htdocs/core/lib/functions.lib.php(51): ReflectionClass->__construct('DoliDB._pgsql')
#1 /var/www/dev/dolibarr/htdocs/install/fileconf.php(311): getStaticMember('DoliDB._pgsql', 'versionmin')
#2 {main}
thrown in /var/www/dev/dolibarr/htdocs/core/lib/functions.lib.php on line 51

I've look neither @the rule of coding / pushing a patch nor @the impact it might have elsewhere => I've done a quick an dirty patch as follow

Old Code -
$classObj = new ReflectionClass($class);
$result = null;

New Code -
$result = null;
try {
$classObj = new ReflectionClass($class);
} catch (Exception $e) {
return $result;
}


Step to reproduce bug:  try a new install :-)
 Etat
Resolution:  Aucun Assigned to:  Aucun
Status:  Open 

Répondre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]