Probleme de connexion sur mon site
Résolu/Fermé
VortexUrukog
Messages postés
41
Date d'inscription
samedi 2 décembre 2017
Statut
Membre
Dernière intervention
28 mai 2019
-
10 oct. 2018 à 02:36
VortexUrukog Messages postés 41 Date d'inscription samedi 2 décembre 2017 Statut Membre Dernière intervention 28 mai 2019 - 12 oct. 2018 à 20:36
VortexUrukog Messages postés 41 Date d'inscription samedi 2 décembre 2017 Statut Membre Dernière intervention 28 mai 2019 - 12 oct. 2018 à 20:36
A voir également:
- Probleme de connexion sur mon site
- Site de telechargement - Accueil - Outils
- Gmail connexion - Guide
- Site comme coco - Accueil - Réseaux sociaux
- Site inaccessible n'autorise pas la connexion - Guide
- Quel site remplace coco - Accueil - Réseaux sociaux
1 réponse
VortexUrukog
Messages postés
41
Date d'inscription
samedi 2 décembre 2017
Statut
Membre
Dernière intervention
28 mai 2019
4
10 oct. 2018 à 05:06
10 oct. 2018 à 05:06
J'ai rajouter un code qui m'affiche les erreurs mais je ne voit pas en quoi ce sont des erreurs :
Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d756189236/htdocs/forum/mon-compte/index.php:4) in /homepages/32/d756189236/htdocs/forum/mon-compte/index.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d756189236/htdocs/forum/mon-compte/index.php:4) in /homepages/32/d756189236/htdocs/forum/mon-compte/index.php on line 19
Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d756189236/htdocs/forum/mon-compte/index.php:4) in /homepages/32/d756189236/htdocs/forum/mon-compte/index.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /homepages/32/d756189236/htdocs/forum/mon-compte/index.php:4) in /homepages/32/d756189236/htdocs/forum/mon-compte/index.php on line 19
1 <!DOCTYPE html>
2 <html lang="fr">
3
4 <?php
5 session_start();
6 include("../includes/head.php");
7 include("../includes/header.php");
8
9 ?>
10
11 <?php
12
13 header('Content-type: text/html; charset=utf-8');
14 date_default_timezone_set('Europe/Paris');
15
16 require_once("../config/bdd.php");
17
18 if (!(isset($_SESSION['username']))) {
19 header('location: ../connexion');
20 exit;
21 }
10 oct. 2018 à 07:23
Commence par placer le maximum de ton code php AVANT ton html.
Ca devrait déjà corriger une partie de tes soucis.
Pour info
https://forums.commentcamarche.net/forum/affich-37584947-php-gestion-des-erreurs-debogage-et-ecriture-du-code
12 oct. 2018 à 20:36