Bonjour à tous.
Alors voila, j’ai développé quelques petites fonctionnalités necessaires à mon projet en dehors de Drupal.
Je me retrouve donc avec des fichier .php dans mon dossier drupal. J’appelle ces fichiers à partir du site réalisé avec Drupal.
Bref tout marche bien, cependant Drupal me lance les warnings suivant :
Warning : session_start() [function.session-start] : Cannot send session cache limiter - headers already sent (output started at /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/import.php:1) in /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/includes/bootstrap.inc on line 1031
Warning : Cannot modify header information - headers already sent by (output started at /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/import.php:1) in /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/includes/bootstrap.inc on line 630
Warning : Cannot modify header information - headers already sent by (output started at /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/import.php:1) in /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/includes/bootstrap.inc on line 631
Warning : Cannot modify header information - headers already sent by (output started at /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/import.php:1) in /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/includes/bootstrap.inc on line 632
Warning : Cannot modify header information - headers already sent by (output started at /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/import.php:1) in /homepages/27/d247997454/htdocs/PRODUCTION/AGENDA/ADMIN/includes/bootstrap.inc on line 633
Ces messages apparaissent dans mon site Drupal mais aussi dans ma page. Comment les traiter ???
Merci à vous !!!
- Vous devez vous identifier ou créer un compte pour écrire des commentaires

C’est le genre de messages que l’on a lorsque l’on envoie des données (genre html) avant des informations de sessions, qui passent dans l’entête http (header).
Il faudrait voir si le module n’envoie pas des choses un peu trop rapidement…
vincent59
2594
Effectivement, dison j’ai lancé mon code en mode gytan. En intégrant le tout proprement les warning disparaissent…
MERCI
klikissy
5