Bonjour,
J’essaie d’installer Dolibarr en suivant la démarche mais j’ai un message d’erreur dès le début de l’install…
- j’ai téléchargé la version 3.4 de dolibarr (version 3.4 par rapport à un module futur à installer)
- je l’ai extraite et déplacé sur mon ftp dans un répertoire nomé dolibarr
- j’ai créé une base de donné sur mon hébergeur
Donc je me rend sur htdocs pour lancer l’install, j’arrive sur www.xxx.fr/dolibarr/htdocs/install/index.php et je me retrouve directement face au code erreur suivant :
Parse error: syntax error, unexpected T_NEW in /home/xxx/www/dolibarr/htdocs/install/inc.php on line 221
Ce qui correspond à la ligne suivante (en gras) sur le fichier inc.php
if (! defined(‹ SYSLOG_FILE_NO_ERROR ›)) define(‹ SYSLOG_FILE_NO_ERROR ›,1);
// We init log handler for install
$handlers = array(‹ mod_syslog_file ›);
foreach ($handlers as $handler)
{
$file = DOL_DOCUMENT_ROOT.’/core/modules/syslog/’.$handler.’.php’;
if (!file_exists($file))
{
throw new Exception(‹ Missing log handler file ‹ .$handler. ›.php ›);
}
require_once $file;
$loghandlerinstance = new $handler();
if (!$loghandlerinstance instanceof LogHandlerInterface)
{
throw new Exception(‹ Log handler does not extend LogHandlerInterface ›);
}
if (empty($conf->loghandlers[$handler])) $conf->loghandlers[$handler]=$loghandlerinstance;
}
D’où peut venir le problème ? d’autant que j’ai déjà eu l’occasion d’installé Dolibarr sur un autre site…