bonjour a tous,
voila j'ai un petit problème, mais quand j'utilise WAMP ca marche très bien, mais que je met le tout en ligne ya ce bug ( je suis chez free )voila le début de mon code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 Warning: session_start() [function.session-start]: open(/mnt/154/sdc/a/b/numberoneacademy/sessions/sess_11ca743d892ea4751efeafc3f9d53905, O_RDWR) failed: No such file or directory (2) in /mnt/154/sdc/a/b/numberoneacademy/index.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/154/sdc/a/b/numberoneacademy/index.php:2) in /mnt/154/sdc/a/b/numberoneacademy/index.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/154/sdc/a/b/numberoneacademy/index.php:2) in /mnt/154/sdc/a/b/numberoneacademy/index.php on line 2
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <?php session_start(); if(!array_key_exists('log', $_SESSION)) { $_SESSION['log'] = FALSE; } if(!array_key_exists('voteid', $_SESSION)) { $_SESSION['voteid'] = 1; } if(!array_key_exists('vote', $_SESSION)) { $_SESSION['vote'] = 1; } ?>
Partager