Message erreur plus complet
This commit is contained in:
parent
ed45dad87f
commit
8020bd953a
@ -536,7 +536,7 @@ if ($_POST["action"] == "set")
|
|||||||
print $langs->trans("ServerConnection")." : ";
|
print $langs->trans("ServerConnection")." : ";
|
||||||
print $dolibarr_main_db_host;
|
print $dolibarr_main_db_host;
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
print $langs->trans("Error");
|
print '<font class="error">'.$db->error.'</div>';
|
||||||
print "</td></tr>";
|
print "</td></tr>";
|
||||||
|
|
||||||
// Affiche aide diagnostique
|
// Affiche aide diagnostique
|
||||||
|
|||||||
@ -69,7 +69,7 @@ Examples=Exemples
|
|||||||
WithNoSlashAtTheEnd=Sans le slash "/" à la fin
|
WithNoSlashAtTheEnd=Sans le slash "/" à la fin
|
||||||
DirectoryRecommendation=Il est recommandé de mettre ce répertoire en dehors du répertoire des pages web.
|
DirectoryRecommendation=Il est recommandé de mettre ce répertoire en dehors du répertoire des pages web.
|
||||||
LoginAlreadyExists=Existe déjà
|
LoginAlreadyExists=Existe déjà
|
||||||
DolibarrAdminLogin=Login de l'administrateur Dolibarr
|
DolibarrAdminLogin=Login de l'utilisateur administrateur de Dolibarr
|
||||||
FailedToCreateAdminLogin=Echec de la création du compte administrateur Dolibarr.
|
FailedToCreateAdminLogin=Echec de la création du compte administrateur Dolibarr.
|
||||||
AdminLoginAlreadyExists=Compte administrateur Dolibarr '%s' déjà existant.
|
AdminLoginAlreadyExists=Compte administrateur Dolibarr '%s' déjà existant.
|
||||||
WarningRemoveInstallDir=Attention, pour des raisons de sécurité, une fois l'installation terminé, il est nécessaire de supprimer le répertoire install.
|
WarningRemoveInstallDir=Attention, pour des raisons de sécurité, une fois l'installation terminé, il est nécessaire de supprimer le répertoire install.
|
||||||
|
|||||||
@ -108,8 +108,8 @@ class DoliDb
|
|||||||
{
|
{
|
||||||
$this->connected = 0;
|
$this->connected = 0;
|
||||||
$this->ok = 0;
|
$this->ok = 0;
|
||||||
$this->error="Mysql PHP functions are not available in this version of PHP";
|
$this->error="Mysqli PHP functions are not available in this version of PHP. Try to use another driver.";
|
||||||
dolibarr_syslog("DoliDB::DoliDB : Mysql PHP functions are not available in this version of PHP");
|
dolibarr_syslog("DoliDB::DoliDB : Mysql PHP functions are not available in this version of PHP. Try to use another driver.");
|
||||||
return $this->ok;
|
return $this->ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user