par
ninouee » 10 août 2014, 21:14
Bonjour à tous.
J'ai suivi un tutoriel pour insérer des étoiles de vote lié à une base de donnée.
Après avoir créé un fichier de test dans le dossier de gestion des étoiles j'ai pu tester mes votes et ça marche.
J'ai donc voulu tester mes vote ailleurs sur mon site car j'ai d'autres pages où on pourrait voter. En bougeant mon fichier dans un autre dossier j'ai bien fait attention à changer les paramètres de liens. Et en affichant ma page j'ai une erreur étrange: ma page s'affiche mais je n'ai plus rien qui apparaît après ma balise echo.

j'ai tout recommencer mais je ne comprend pas ce qui cloche...
Je suis certaine d'avoir fait une erreur quelque part et je voudrais savoir si vous pouviez m'expliquer où je me suis trompée pour comprendre et corriger mon erreur?
Car là je ne comprend vraiment pas pourquoi ça veut pas.
Voila quelques informations:
Page test qui fonctionne:
test1 (est dans le dossier de création des étoiles)
Page test qui ne fonctionne pas :
test2 (est à la racine du site)
Partie du code qui marche:
La page est dans le dossier
etoiles et pour y accéder il faut passer les dossiers: racine/etoiles
<?php require('vote/_drawrating.php'); ?>
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="description" content="Forum sur les séries TV, mes films et Galerie d'avatars et de signature gratuite." />
<meta name="keywords" content="avatar, avatars, signature, pix, set, wallpaper, série, TV show, télévision, cinéma, fond d'écran, image, séries, télévision, forum, galerie, acteur, actrice, personnage, épisode" />
<meta name="google-site-verification" content="53JdXAPGwzb3Elbl8y_olptnWmfea8asGdXXF1L2cbU" />
<title>CELEBRITES</title>
<link rel="icon" type="image/png" href="../favicon.png" />
<link rel="stylesheet" type="text/css" href="../entree.css">
<script src="js/behavior.js"></script>
<script src="js/rating.js"></script>
</head>
<body>
<div class="corps">
<?php include ("../header.php"); ?>
<?php include ("../menu.php"); ?>
<script src="../Menu/jquery.easing.1.3.js"></script>
<br />
<br />
<table>
<tr>
<td>
<img src="../Encyclopedie/Acteurs/artpres-zoe-saldana.png" width="300" height="400">
</td>
<td div class = "contour">
<span class="titre4">Zoe Saldana</span> <?php echo rating_bar('CELEBRITES','5'); ?>
<br /><br />
<strong>Nom complet</strong>: Zoe Yadira Saldaña Nazario<br /><br />
<strong>Nationalité</strong>:
<div style="margin-left: 20px;">
<li> <img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/USA.png" width="48" height="32" alt="USA"> Américaine</li>
<li><img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/Republic dominicaine.png" width="48" height="32"> Dominicaine</li></div><br /><br />
<strong>Date de naissance</strong>: 19 juin 1978 <br /><br />
<strong>Profession</strong>: actrice, réalisatrice et productrice <br /><br />
<br />
<strong>Sujet de discussions </strong>: <a href="http://dinguedeserietele.activebb.net/t9617-zoe-saldana" title="Zoe Saldana" target="new">Zoe Saldana</a><br /><br /><br />
<br />
</td>
</tr>
</table>
Partie du code qui ne fonctionne pas:
La page est à la racine du site.
<?php require('etoiles/vote/_drawrating.php'); ?>
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="description" content="Forum sur les séries TV, mes films et Galerie d'avatars et de signature gratuite." />
<meta name="keywords" content="avatar, avatars, signature, pix, set, wallpaper, série, TV show, télévision, cinéma, fond d'écran, image, séries, télévision, forum, galerie, acteur, actrice, personnage, épisode" />
<meta name="google-site-verification" content="53JdXAPGwzb3Elbl8y_olptnWmfea8asGdXXF1L2cbU" />
<title>CELEBRITES</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="entree.css">
<script src="etoiles/js/behavior.js"></script>
<script src="etoiles/js/rating.js"></script>
</head>
<body>
<div class="corps">
<?php include ("header.php"); ?>
<?php include ("menu.php"); ?>
<script src="Menu/jquery.easing.1.3.js"></script>
<br />
<br />
<table>
<tr>
<td>
<img src="Encyclopedie/Acteurs/artpres-zoe-saldana.png" width="300" height="400">
</td>
<td div class = "contour">
<span class="titre4">Zoe Saldana</span> <?php echo rating_bar('CELEBRITES','5'); ?>
<br /><br />
<strong>Nom complet</strong>: Zoe Yadira Saldaña Nazario<br /><br />
<strong>Nationalité</strong>:
<div style="margin-left: 20px;">
<li> <img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/USA.png" width="48" height="32" alt="USA"> Américaine</li>
<li><img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/Republic dominicaine.png" width="48" height="32"> Dominicaine</li></div><br /><br />
<strong>Date de naissance</strong>: 19 juin 1978 <br /><br />
<strong>Profession</strong>: actrice, réalisatrice et productrice <br /><br />
<br />
<strong>Sujet de discussions </strong>: <a href="http://dinguedeserietele.activebb.net/t9617-zoe-saldana" title="Zoe Saldana" target="new">Zoe Saldana</a><br /><br /><br />
<br />
</td>
</tr>
</table>
Bonjour à tous.
J'ai suivi un tutoriel pour insérer des étoiles de vote lié à une base de donnée.
Après avoir créé un fichier de test dans le dossier de gestion des étoiles j'ai pu tester mes votes et ça marche.
J'ai donc voulu tester mes vote ailleurs sur mon site car j'ai d'autres pages où on pourrait voter. En bougeant mon fichier dans un autre dossier j'ai bien fait attention à changer les paramètres de liens. Et en affichant ma page j'ai une erreur étrange: ma page s'affiche mais je n'ai plus rien qui apparaît après ma balise echo. :roll: j'ai tout recommencer mais je ne comprend pas ce qui cloche...
Je suis certaine d'avoir fait une erreur quelque part et je voudrais savoir si vous pouviez m'expliquer où je me suis trompée pour comprendre et corriger mon erreur?
Car là je ne comprend vraiment pas pourquoi ça veut pas.
Voila quelques informations:
Page test qui fonctionne: [url=http://ddstv.fr/etoiles/page_test.php]test1[/url] (est dans le dossier de création des étoiles)
Page test qui ne fonctionne pas : [url=http://ddstv.fr/page_test2.php]test2[/url] (est à la racine du site)
Partie du code qui marche:
La page est dans le dossier [b]etoiles[/b] et pour y accéder il faut passer les dossiers: racine/etoiles
[sql]<?php require('vote/_drawrating.php'); ?>
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="description" content="Forum sur les séries TV, mes films et Galerie d'avatars et de signature gratuite." />
<meta name="keywords" content="avatar, avatars, signature, pix, set, wallpaper, série, TV show, télévision, cinéma, fond d'écran, image, séries, télévision, forum, galerie, acteur, actrice, personnage, épisode" />
<meta name="google-site-verification" content="53JdXAPGwzb3Elbl8y_olptnWmfea8asGdXXF1L2cbU" />
<title>CELEBRITES</title>
<link rel="icon" type="image/png" href="../favicon.png" />
<link rel="stylesheet" type="text/css" href="../entree.css">
<script src="js/behavior.js"></script>
<script src="js/rating.js"></script>
</head>
<body>
<div class="corps">
<?php include ("../header.php"); ?>
<?php include ("../menu.php"); ?>
<script src="../Menu/jquery.easing.1.3.js"></script>
<br />
<br />
<table>
<tr>
<td>
<img src="../Encyclopedie/Acteurs/artpres-zoe-saldana.png" width="300" height="400">
</td>
<td div class = "contour">
<span class="titre4">Zoe Saldana</span> <?php echo rating_bar('CELEBRITES','5'); ?>
<br /><br />
<strong>Nom complet</strong>: Zoe Yadira Saldaña Nazario<br /><br />
<strong>Nationalité</strong>:
<div style="margin-left: 20px;">
<li> <img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/USA.png" width="48" height="32" alt="USA"> Américaine</li>
<li><img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/Republic dominicaine.png" width="48" height="32"> Dominicaine</li></div><br /><br />
<strong>Date de naissance</strong>: 19 juin 1978 <br /><br />
<strong>Profession</strong>: actrice, réalisatrice et productrice <br /><br />
<br />
<strong>Sujet de discussions </strong>: <a href="http://dinguedeserietele.activebb.net/t9617-zoe-saldana" title="Zoe Saldana" target="new">Zoe Saldana</a><br /><br /><br />
<br />
</td>
</tr>
</table>[/sql]
Partie du code qui ne fonctionne pas:
La page est à la racine du site.
[php]<?php require('etoiles/vote/_drawrating.php'); ?>
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="description" content="Forum sur les séries TV, mes films et Galerie d'avatars et de signature gratuite." />
<meta name="keywords" content="avatar, avatars, signature, pix, set, wallpaper, série, TV show, télévision, cinéma, fond d'écran, image, séries, télévision, forum, galerie, acteur, actrice, personnage, épisode" />
<meta name="google-site-verification" content="53JdXAPGwzb3Elbl8y_olptnWmfea8asGdXXF1L2cbU" />
<title>CELEBRITES</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="entree.css">
<script src="etoiles/js/behavior.js"></script>
<script src="etoiles/js/rating.js"></script>
</head>
<body>
<div class="corps">
<?php include ("header.php"); ?>
<?php include ("menu.php"); ?>
<script src="Menu/jquery.easing.1.3.js"></script>
<br />
<br />
<table>
<tr>
<td>
<img src="Encyclopedie/Acteurs/artpres-zoe-saldana.png" width="300" height="400">
</td>
<td div class = "contour">
<span class="titre4">Zoe Saldana</span> <?php echo rating_bar('CELEBRITES','5'); ?>
<br /><br />
<strong>Nom complet</strong>: Zoe Yadira Saldaña Nazario<br /><br />
<strong>Nationalité</strong>:
<div style="margin-left: 20px;">
<li> <img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/USA.png" width="48" height="32" alt="USA"> Américaine</li>
<li><img src="file:///D|/Users/Ninouee/Documents/avatar land/Pays/Republic dominicaine.png" width="48" height="32"> Dominicaine</li></div><br /><br />
<strong>Date de naissance</strong>: 19 juin 1978 <br /><br />
<strong>Profession</strong>: actrice, réalisatrice et productrice <br /><br />
<br />
<strong>Sujet de discussions </strong>: <a href="http://dinguedeserietele.activebb.net/t9617-zoe-saldana" title="Zoe Saldana" target="new">Zoe Saldana</a><br /><br /><br />
<br />
</td>
</tr>
</table>[/php]