Amlioration messages erreur install
This commit is contained in:
parent
f37d932265
commit
7ffc7aab6d
@ -81,6 +81,7 @@ else
|
||||
clearstatcache();
|
||||
if (is_readable($conffile) && filesize($conffile) > 8)
|
||||
{
|
||||
dolibarr_install_syslog("conf file '$conffile' already exists");
|
||||
$confexists=1;
|
||||
include_once($conffile);
|
||||
|
||||
@ -91,9 +92,10 @@ if (is_readable($conffile) && filesize($conffile) > 8)
|
||||
else
|
||||
{
|
||||
// Si non on le crée
|
||||
dolibarr_install_syslog("we try to creat conf file '$conffile'");
|
||||
$confexists=0;
|
||||
$fp = @fopen($conffile, "w");
|
||||
if($fp)
|
||||
if ($fp)
|
||||
{
|
||||
@fwrite($fp, '<?php');
|
||||
@fputs($fp,"\n");
|
||||
@ -108,12 +110,13 @@ else
|
||||
// Si fichier absent et n'a pu etre créé
|
||||
if (! file_exists($conffile))
|
||||
{
|
||||
print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ConfFileDoesNotExists",'conf.php');
|
||||
print "<br />";
|
||||
//print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ConfFileDoesNotExistsAndCouldNotBeCreated",$conffile);
|
||||
print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ConfFileDoesNotExistsAndCouldNotBeCreated",'conf.php');
|
||||
print "<br /><br />";
|
||||
print $langs->trans("YouMustCreateWithPermission",'htdocs/conf/conf.php');
|
||||
print "<br /><br />";
|
||||
|
||||
print $langs->trans("CorrectProblemAndReloadPage");
|
||||
print $langs->trans("CorrectProblemAndReloadPage",$_SERVER['PHP_SELF']);
|
||||
$err++;
|
||||
}
|
||||
else
|
||||
|
||||
@ -98,7 +98,7 @@ function pHeader($soutitre,$next,$action='set')
|
||||
print '<title>'.$langs->trans("DolibarrSetup").'</title>';
|
||||
print '</head>';
|
||||
print '<body>';
|
||||
print '<span class="titre"><a class="titre" href="index.php">'.$langs->trans("DolibarrSetup").'</a></span>';
|
||||
print '<span class="titre"><a class="titre" href="'.$_SERVER["PHP_SELF"].'">'.$langs->trans("DolibarrSetup").'</a></span>';
|
||||
|
||||
print '<form action="'.$next.'.php" method="POST">';
|
||||
print '<input type="hidden" name="action" value="'.$action.'">';
|
||||
|
||||
@ -3,10 +3,11 @@ InstallEasy=We tried to make Dolibarr setup as easy as possible. Just follow ins
|
||||
MiscellanousChecks=Prerequisites checks
|
||||
DolibarrWelcome=Welcome on Dolibarr
|
||||
ConfFileExists=Configuration file <b>%s</b> exists.
|
||||
ConfFileDoesNotExists=Configuration file <b>%s</b> does not exist !
|
||||
ConfFileDoesNotExistsAndCouldNotBeCreated=Configuration file <b>%s</b> does not exist and could not be created !
|
||||
ConfFileCouldBeCreated=Configuration file <b>%s</b> could be created.
|
||||
ConfFileIsNotWritable=Configuration file <b>%s</b> is not writable. Check permissions. For first install, your web server must be granted to be able to write into this file during configuration process ("chmod 666" for example on Unix like OS).
|
||||
ConfFileIsWritable=Configuration file <b>%s</b> is writable.
|
||||
ConfFileDoesNotExists=Configuration file <b>%s</b> does not exist !
|
||||
PHPSupportSessions=This PHP supports sessions.
|
||||
ErrorPHPDoesNotSupportSessions=Your PHP installation does not support sessions. This feature is required to make Dolibarr working. Check your PHP setup.
|
||||
ErrorDirDoesNotExists=Directory %s does not exists.
|
||||
@ -87,7 +88,7 @@ Start=Start
|
||||
InstallNotAllowed=Setup not allowed by <b>conf.php</b> permissions
|
||||
NotAvailable=Not available
|
||||
YouMustCreateWithPermission=You must create file %s and set write permissions on it for web server during install process.
|
||||
CorrectProblemAndReloadPage=Correct problem and <a href="index.php">reload page</a> (Press F5 key).
|
||||
CorrectProblemAndReloadPage=Correct problem and <a href="%s">reload page</a> (Press F5 key).
|
||||
AlreadyDone=Already migrated
|
||||
DatabaseVersion=Database version
|
||||
ServerVersion=Database server version
|
||||
|
||||
@ -3,10 +3,11 @@ InstallEasy=Nous avons tent
|
||||
MiscellanousChecks=Vérification des pré-requis
|
||||
DolibarrWelcome=Bienvenue dans Dolibarr
|
||||
ConfFileExists=Le fichier de configuration <b>%s</b> existe.
|
||||
ConfFileDoesNotExists=Le fichier de configuration <b>%s</b> n'existe pas !
|
||||
ConfFileDoesNotExistsAndCouldNotBeCreated=Le fichier de configuration <b>%s</b> n'existe pas et n'a pu être créé !
|
||||
ConfFileCouldBeCreated=Le fichier de configuration <b>%s</b> a pu être créé.
|
||||
ConfFileIsNotWritable=Le fichier de configuration <b>%s</b> n'est pas inscriptible. Vérifiez les permissions. Pour une première installation, votre serveur web doit avoir le droit d'écrire dans ce fichier lors du processus d'installation ("chmod 666 %s" par exemple sur des systèmes d'exploitaion Unix).
|
||||
ConfFileIsWritable=Le fichier de configuration <b>%s</b> est inscriptible.
|
||||
ConfFileDoesNotExists=Le fichier de configuration <b>%s</b> n'existe pas!
|
||||
PHPSupportSessions=Cette installation de PHP supporte les sessions.
|
||||
ErrorPHPDoesNotSupportSessions=Cette installation de PHP ne supporte pas les sessions. Cette fonctionnalité est requise pour que Dolibarr puisse fonctionner. Veuillez vérifier votre configuration PHP.
|
||||
ErrorDirDoesNotExists=Le répertoire %s n'existe pas.
|
||||
@ -87,7 +88,7 @@ Start=D
|
||||
InstallNotAllowed=Configuration non autorisée par les permissions de <b>conf.php</b>
|
||||
NotAvailable=Non disponible
|
||||
YouMustCreateWithPermission=Vous devez créer le fichier %s et donner les permissions d'écrire dans ce fichier à votre serveur web pendant le processus d'installation.
|
||||
CorrectProblemAndReloadPage=Corrigez le problème et <a href="index.php">rechargez la page</a> (Pressez la touche F5).
|
||||
CorrectProblemAndReloadPage=Corrigez le problème et <a href="%s">rechargez la page</a> (Pressez la touche F5).
|
||||
AlreadyDone=Déjà migré
|
||||
DatabaseVersion=Version de la base de données
|
||||
ServerVersion=Version du serveur de bases de données
|
||||
|
||||
@ -4,6 +4,7 @@ MiscellanousChecks=V
|
||||
DolibarrWelcome=Bienvenue sur Dolibarr
|
||||
ConfFileExists=Le fichier de configuration <b>%s</b> existe.
|
||||
ConfFileDoesNotExists=Le fichier de configuration <b>%s</b> n'existe pas !
|
||||
ConfFileDoesNotExistsAndCouldNotBeCreated=Le fichier de configuration <b>%s</b> n'existe pas et n'a pu être créé !
|
||||
ConfFileCouldBeCreated=Le fichier de configuration <b>%s</b> a pu être créé.
|
||||
ConfFileIsNotWritable=Le fichier <b>%s</b> n'est pas modifiable. Pour une première installation, modifiez ses permissions. Le serveur Web doit avoir le droit d'écrire dans ce fichier le temps de la configuration ("chmod 666" par exemple sur un OS compatible Unix).
|
||||
ConfFileIsWritable=Le fichier <b>%s</b> est modifiable.
|
||||
@ -88,7 +89,7 @@ Start=D
|
||||
InstallNotAllowed=Installation non autorisée par les permissions du fichier <b>conf.php</b>
|
||||
NotAvailable=Non disponible
|
||||
YouMustCreateWithPermission=Vous devez créer un fichier %s et donner les droits d'écriture dans celui-ci au serveur web durant le processus d'installation.
|
||||
CorrectProblemAndReloadPage=Corrigez le problème et <a href="index.php">rechargez la page</a> (Touche F5).
|
||||
CorrectProblemAndReloadPage=Corrigez le problème et <a href="%s">rechargez la page</a> (Touche F5).
|
||||
AlreadyDone=Déjà migré
|
||||
DatabaseVersion=Version de la base
|
||||
ServerVersion=Version du serveur de base de donnée
|
||||
|
||||
Loading…
Reference in New Issue
Block a user