Submitted by richard@drupalfr.org on
Bonjour, je viens d'installer Drupal sur mon serveur (apache), mais j'ai plusieurs messages d’erreurs
Notice: Undefined index: pass in c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc on line 37
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc:37) in c:\web\easyphp1-8\www\drupal\includes\bootstrap.inc on line 760
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc:37) in c:\web\easyphp1-8\www\drupal\includes\bootstrap.inc on line 760
Warning: Cannot modify header information - headers already sent by (output started at c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc:37) in c:\web\easyphp1-8\www\drupal\includes\bootstrap.inc on line 562
Warning: Cannot modify header information - headers already sent by (output started at c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc:37) in c:\web\easyphp1-8\www\drupal\includes\bootstrap.inc on line 563
Warning: Cannot modify header information - headers already sent by (output started at c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc:37) in c:\web\easyphp1-8\www\drupal\includes\bootstrap.inc on line 564
Warning: Cannot modify header information - headers already sent by (output started at c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc:37) in c:\web\easyphp1-8\www\drupal\includes\bootstrap.inc on line 565
Warning: Cannot modify header information - headers already sent by (output started at c:\web\easyphp1-8\www\drupal\includes\database.mysql.inc:37) in c:\web\easyphp1-8\www\drupal\includes\bootstrap.inc on line 566
Merci de vos réponses,et joyeux noel
Le premier message d'erreur
Permalien Soumis par jptavan le 29 Décembre, 2006 - 17:56
Le premier message d'erreur "Notice: Undefined index: ..." n'est pas très grave. C'est son affichage qui provoque les suivant.
Il faut mettre dans le php.ini :
error_reporting = E_ALL & ~E_NOTICE
à la place de
error_reporting = E_ALL
Voir http://www.php.net/manual/en/ref.errorfunc.php#ini.error-reporting
Sinon, ton erreur vient sans doute d'un mot de passe vide pour la connexion mysql : voir http://drupal.org/node/71758
Merci de ta réponse je
Permalien Soumis par richard le 29 Décembre, 2006 - 18:20
Merci de ta réponse je travail dessus et je te tien au courant et bravo pour ta rapidité
richard
Bonsoir, j'ai eu le même
Permalien Soumis par lclem le 3 Janvier, 2007 - 18:45
Bonsoir,
j'ai eu le même problème et il faut bien remplacer :
error_reporting = E_ALL
par :
error_reporting = E_ALL & ~E_NOTICE
en allant dans : configuration, puis PHP, de Easy PHP...
Merci bien pour l'info et bravo !
lclem