Probème sur site
klomera
-
klomera -
klomera -
Bonjour,
Pour notre stage nous avons mis en place un site internet, le soucis il y a quelques erreurs, voici le site en question ==> http://www.capebat.com/
Une fois dessus quand on clique sur l'une des case sur la droite il y a plusieurs erreurs
Notice: Undefined index: idProjet in I:\Capebat.new\class\Admin.php on line 18
Notice: Undefined index: etape in I:\Capebat.new\class\Admin.php on line 30
Notice: Undefined variable: idProjet in I:\Capebat.new\class\Admin.php on line 395
Voici le bout de code pour la ligne 18 :
1 <?php
2
3 /**
4 *
5 *
6 */
7 class Admin{
8
9 public $idProjet = 0;
10
11 /**
12 * Constructor
13 */
14 function __construct(&$core){
15 $this->core = &$core;
16
17 if(isset($_GET['idProjet'])) $this->idProjet = $_GET['idProjet'];
18 else $this->idProjet = $_POST['idProjet'];
19
20 $this->core->html->assign('numProjet', $this->idProjet);
21 }
Merci
Pour notre stage nous avons mis en place un site internet, le soucis il y a quelques erreurs, voici le site en question ==> http://www.capebat.com/
Une fois dessus quand on clique sur l'une des case sur la droite il y a plusieurs erreurs
Notice: Undefined index: idProjet in I:\Capebat.new\class\Admin.php on line 18
Notice: Undefined index: etape in I:\Capebat.new\class\Admin.php on line 30
Notice: Undefined variable: idProjet in I:\Capebat.new\class\Admin.php on line 395
Voici le bout de code pour la ligne 18 :
1 <?php
2
3 /**
4 *
5 *
6 */
7 class Admin{
8
9 public $idProjet = 0;
10
11 /**
12 * Constructor
13 */
14 function __construct(&$core){
15 $this->core = &$core;
16
17 if(isset($_GET['idProjet'])) $this->idProjet = $_GET['idProjet'];
18 else $this->idProjet = $_POST['idProjet'];
19
20 $this->core->html->assign('numProjet', $this->idProjet);
21 }
Merci
A voir également:
- Probème sur site
- Site de telechargement - Accueil - Outils
- Site x - Guide
- Site pour partager des photos - Guide
- Quel site remplace coco - Accueil - Réseaux sociaux
- Site comme coco - Accueil - Réseaux sociaux