Précédent   Forum des professionnels en informatique > PHP > Langage > Sessions
Sessions Forum d'entraide sur les sessions avec PHP. Avant de poster -> FAQ sessions, Cours sessions et Sources sécurité
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 15/04/2007, 19h42   #1
Membre à l'essai
 
Inscription : août 2006
Messages : 54
Détails du profil
Informations forums :
Inscription : août 2006
Messages : 54
Points : 20
Points : 20
Par défaut erreur session_start(); comprend pas

Bonjour,

J'ai bien lu qu'il ne fallait rien au dessus d'un session_start() et c'est bien ce que je fait mais j'ai ces erreurs :

Citation:
Warning: session_start() [function.session-start]: open(/mnt/147/free.fr/e/8/pts.annonces/sessions/sess_5158f52779cde03e85861effe3936c7b, O_RDWR) failed: No such file or directory (2) in /mnt/147/free.fr/e/8/pts.annonces/db.php on line 1

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/147/free.fr/e/8/pts.annonces/db.php:1) in /mnt/147/free.fr/e/8/pts.annonces/db.php on line 1

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/147/free.fr/e/8/pts.annonces/db.php:1) in /mnt/147/free.fr/e/8/pts.annonces/db.php on line 1
en fait j'ai une page index.php qui appel via un include ma page haut.php qui elle appelle la page db.php et mon session_start() et a la premiere ligne de ma page db.php

Si dans l'adresse j'appel la page db.php j'ai ca :

Citation:
Warning: session_start() [function.session-start]: open(/mnt/147/free.fr/e/8/pts.annonces/sessions/sess_ddc395d98d29224df0cfc36c0ba77a3f, O_RDWR) failed: No such file or directory (2) in /mnt/147/free.fr/e/8/pts.annonces/db.php on line 1

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/147/free.fr/e/8/pts.annonces/db.php:1) in /mnt/147/free.fr/e/8/pts.annonces/db.php on line 1

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/147/free.fr/e/8/pts.annonces/db.php:1) in /mnt/147/free.fr/e/8/pts.annonces/db.php on line 1

Warning: Unknown(): open(/mnt/147/free.fr/e/8/pts.annonces/sessions/sess_ddc395d98d29224df0cfc36c0ba77a3f, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/147/free.fr/e/8/pts.annonces/sessions) in Unknown on line 0
je comprend pas...

si quelqu'un à une idée...

Merci !
lonycc est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/04/2007, 19h47   #2
En attente de confirmation mail
 
Inscription : juin 2002
Messages : 6 164
Détails du profil
Informations forums :
Inscription : juin 2002
Messages : 6 164
Points : 6 404
Points : 6 404
Vous n'auriez pas oublié de créer votre répertoire "sessions" par hasard ?
julp est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/04/2007, 19h58   #3
Membre à l'essai
 
Inscription : août 2006
Messages : 54
Détails du profil
Informations forums :
Inscription : août 2006
Messages : 54
Points : 20
Points : 20
Merci !!! J'avais pas vu qu'il fallait creer un repertoire sessions chez free. désolé
lonycc est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 02h42.


 
 
 
 
Partenaires

Hébergement Web