Erreur 404 sur un fichier existant.

Ryan1er Messages postés 87 Date d'inscription   Statut Membre Dernière intervention   -  
Spykees Messages postés 16 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,

J'ai un problème .

Dans ce dossier :
https://www.000webhost.com/migrate?static=true
Vous voyez bien que le fichier existe , mais quand on clique dessus , ERREUR !

Avez-vous une solution ?

J'en profite aussi pour ce fichier, dans mon code HTML local , il y a le menu , et tout , mais dans le code sur le site , ya pas Oo
https://www.000webhost.com/migrate?static=true

Merci.



A voir également:

9 réponses

Ryan1er Messages postés 87 Date d'inscription   Statut Membre Dernière intervention   12
 
UP svp :'(
0
A.Nonymous
 
Présence éventuelle d'un fichier htaccess ou de règles RewriteEngine dans le fichier de conf.

Pour la 2nde partie, attention aux chemins.
0
Ryan1er Messages postés 87 Date d'inscription   Statut Membre Dernière intervention   12
 
J'ai pas htaccess .

Quel fichier de conf ?
0
Ryan1er Messages postés 87 Date d'inscription   Statut Membre Dernière intervention   12
 
2eme partie , c'est pas ça , voilà :

A mon code distant , sur FTP :


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title></title>
<link rel="shortcut icon" href="favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<meta http-equiv="content-language" content="fr" />
<link href="style.css" title="Défaut" rel="stylesheet" type="text/css" media="screen" />
<!--[if lt IE 8]><style type="text/css">/* Only Hack for IE */#main, #page{ height:1%; }.bg{ height:1000em; } </style><![endif]-->
</head>
<body>

<div id="conteneur"><!-- Conteneur Global -->
<div id="header"></div><!-- header -->
<div id="header2"></div><!-- header2 -->

<div id="right" class="contenu"><!-- Colonne droite-->


<div class="news">
<span>Inscription</span><br />
<?php
session_start();
if(!file_exists("config_script.php"))
{
header("Location:INSTALL/index.php");
exit;
}
if(file_exists("INSTALL/index.php"))
{
echo"<link rel='stylesheet' type='text/css' href='style.css'><title>Fichiers d'installation</title>
<center><b><br><br><a href='INSTALL/del.php'>Supprimer les fichiers d'installation</a></b></center>";
exit;
}
require_once("config_script.php");
connexion();
echo"<body onload='if(top!=self) top.location.href=self.location.href;'>
<link rel='stylesheet' type='text/css' href='style.css'>
<title>$TITRE_PAGE</title><body bgcolor='$_COULEUR_FONT'>";
if(isset($_GET['erreur']))
{
$erreur=$_GET['erreur'];
if($erreur=="pseudo")
{
echo"<center><b>"._PAGE_INDEX_ERRPSEUDO."</b></center>";
}
if($erreur=="passe")
{
echo"<center><b>"._PAGE_INDEX_ERRPASS."</b></center>";
}
if($erreur=="secure")
{
echo"<center><b>"._PAGE_INDEX_ERRLOG."</b></center>";
}
if($erreur=="level")
{
echo"<center><b>"._PAGE_INDEX_LEVEL."</b></center>";
}
}
if($_ACTIVE_ADMIN=="1" && $_ACTIVE_MAIL_MEMBRE=="1")
{
echo"<center><b><br>"._PAGE_INDEX_CONFLIT."</b></center>";
exit;
}
if(!@$_SESSION['idm'] || !$_SESSION['pseudom'])
{
echo"<form name='form1' method='post' action='verif_login.php'>
<div align='center'><body bgcolor='$_COULEUR_FONT'>
<table width='251' border='0' cellspacing='0' ".$_CONF_AFF_SCRIPT.">
<tr>
<td colspan='2' bgcolor='$_COULEUR_TABLE_FONT' class='menu'><center>"._PAGE_INDEX_AUTHE."</center></td>
</tr>
<tr>
<td colspan='2'>
</td>
</tr>
<tr>
<td colspan='2'><div align='center'>"._PAGE_INDEX_IDEN."</div><br></td>
</tr>
<tr>
<td width='119'>"._PAGE_INDEX_PSEUDO."</td>
<td width='120'><input style='input' type='text' name='pseudo_membre'></td>
</tr>
<tr>
<td>"._PAGE_INDEX_PASSE."</td>
<td><input type='password' name='passe_membre'></td>
</tr>
<tr>
<td height='29' colspan='2'><div align='center'>
<input type='submit' name='Submit' value='"._PAGE_INDEX_ENTER."' onClick=\"this.value='Chargement...'\">
</div></td>
</tr>
<tr>
<td colspan='2'><div align='center'><a href='inscription.php'>"._PAGE_INDEX_INS."</a></div></td>
</tr>
<tr>";
if($_TYPE_HEBER=="EasyPHP ou Local")
{}
else
{
echo"<tr>
<td colspan='2'><div align='center'><a href='passe_perdu.php'>"._PAGE_INDEX_PERDU."</a></div></td>
</tr>";
}
if($_ACT_INSNEWS=="1")
{
if($_TYPE_HEBER=="EasyPHP ou Local")
{}
else
{
echo"<tr>
<td colspan='2'><div align='center'><a href='ins_news.php'>"._PAGE_INDEX_NEWS."</a></div></td>
</tr>";
}
}
echo"<tr>
<td colspan='2'><div align='center'><a href='zadmin/index.php' target='_blank'>"._PAGE_INDEX_ADMIN."</a></div></td>
</tr>";
if($_AUTOR_VIEW_CONNEC=="1")
{
echo"<tr>
<td colspan='2'><div align='center'><a href='online.php'>"._PAGE_INDEX_CONECT."</a></div></td>
</tr>";
}
if($_AUTOR_LISTE=="1")
{
echo"<tr>
<td colspan='2'><div align='center'><a href='liste_membres.php'>"._PAGE_INDEX_LISTE."</a></div></td>
</tr>";
}
echo"</table>
</div>
</form>
";
exit;
}
else
{
$idm=$_SESSION['idm'];
$pseudom=htmlentities($_SESSION['pseudom']);
@$requete_verif=mysql_query("SELECT * FROM ".PREFIXE."membres WHERE pseudo='$pseudom' AND idm='$idm'") or die (mysql_error());
$nb_verif=mysql_num_rows($requete_verif);
if($nb_verif==0)
{
echo"<form name='form1' method='post' action='verif_login.php'>
<div align='center'><body bgcolor='$_COULEUR_FONT'>
<table width='251' border='0' cellspacing='0' ".$_CONF_AFF_SCRIPT.">
<tr>
<td colspan='2' bgcolor='$_COULEUR_TABLE_FONT' class='menu'><center>"._PAGE_INDEX_AUTHE."</center></td>
</tr>
<tr>
<td colspan='2'>
</td>
</tr>
<tr>
<td colspan='2'><div align='center'>"._PAGE_INDEX_IDEN."</div><br></td>
</tr>
<tr>
<td width='119'>"._PAGE_INDEX_PSEUDO."</td>
<td width='120'><input style='input' type='text' name='pseudo_membre'></td>
</tr>
<tr>
<td>"._PAGE_INDEX_PASSE."</td>
<td><input type='password' name='passe_membre'></td>
</tr>
<tr>
<td height='29' colspan='2'><div align='center'>
<input type='submit' name='Submit' value='"._PAGE_INDEX_ENTER."' onClick=\"this.value='Chargement...'\">
</div></td>
</tr>
<tr>
<td colspan='2'><div align='center'><a href='inscription.php'>"._PAGE_INDEX_INS."</a></div></td>
<tr>";
if(!$_TYPE_HEBER=="EasyPHP ou Local")
{
echo"<tr>
<td colspan='2'><div align='center'><a href='passe_perdu.php'>"._PAGE_INDEX_PERDU."</a></div></td>
</tr>";
}
if($_ACT_INSNEWS=="1")
{
if(!$_TYPE_HEBER=="EasyPHP ou Local")
{
echo"<tr>
<td colspan='2'><div align='center'><a href='ins_news.php'>"._PAGE_INDEX_NEWS."</a></div></td>
</tr>";
}
}
echo"<tr>
<td colspan='2'><div align='center'><a href='zadmin/index.php' target='_blank'>"._PAGE_INDEX_ADMIN."</a></div></td>
</tr>";
if($_AUTOR_VIEW_CONNEC=="1")
{
echo"<tr>
<td colspan='2'><div align='center'><a href='online.php'>"._PAGE_INDEX_CONECT."</a></div></td>
</tr>";
}
if($_AUTOR_LISTE=="1")
{
echo"<tr>
<td colspan='2'><div align='center'><a href='liste_membres.php'>"._PAGE_INDEX_LISTE."</a></div></td>
</tr>";
}
echo"</table>
</div>
</form>
";
exit;
}
}
echo"<link rel='stylesheet' type='text/css' href='style.css'><body bgcolor='$_COULEUR_FONT'>
<title>$TITRE_PAGE</title><br><br><center><b>"._PAGE_INDEX_ALREA."$pseudom</b><br>
<br><a href='zadmin/page_admin.php'>"._PAGE_INDEX_ADMIN1."</a>
<br><a href='$_REDIRECT_MEMBRE'>"._PAGE_INDEX_MEMBRE."</a>
<br><a href='logout.php'>"._PAGE_INDEX_DECOX."</a></center>";
?><br /><br />
</p>
</div><!-- Fin news -->




</div><!-- Fin Colonne droite-->

<div id="left" class="blocmenu"><!-- Colonne gauche -->

<div class="titre">Menu</div><!-- Menu -->
<ul>
<li><a href="index.html" title="">Accueil</a></li>
<li><a href="ecouter.html" title="">Ecouter</a></li>
<li><a href="emissions.html" title="">Emissions</a></li>
<li><a href="chat.html" title="">Chat</a></li>
<li><a href="creeremission.html" title="">Créer son émission</a></li>
<li><a href="parleradmin.html" title="">Parler à un administrateur</a></li>
<li><a href="dedicaces.html" title="">Dédicaces</a></li>
<li><a href="https://www.000webhost.com/migrate?static=true" title="">Forum</a></li>
<li><a href="/fonction/partenaires.html" title="">Partenaires</a></li>
</ul><!-- Fin Menu -->
<div class="titre">Membres</div><!-- Menu -->
<ul>
<li><a href="Espace Membre/index.php" title="">Connexion</a></li>
<li><a href="Espace Membre/inscription.php" title="">Inscription</a></li>
</ul><!-- Fin Menu -->

<br>



</div><!-- Fin colonne gauche -->

<!-- Ne pas supprimer -->
<div id="bgleft" class="bg left"></div>
<div id="bgright" class="bg right"></div>
<div class="separateur"></div>
<!-- Ne pas supprimer -->

<div id="pied"><!-- Pied -->
<!-- mention de copyright Ne pas retirer sans autorisation écrite -->
<p class="lien">© -15'Radio <a href="Connexion.php" onclick="window.open(this.href); return false;" title="kit graphique gratuit" >Megalien(essai)</a>| Design by <a href="http://kitgraphiquegratuit.org/" onclick="window.open(this.href); return false;" title="kit graphique gratuit" >kitgraphiquegratuit.org</a></p>
<!-- mention de copyright Ne pas retirer sans autorisation écrite -->
</div><!-- Fin Pied -->
</div><!-- Conteneur Global -->

</body>
</html>
<a href="index.php">index.php</a>


Et sur ma source locale dans dreamweaver :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title></title>
<link rel="shortcut icon" href="favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<meta http-equiv="content-language" content="fr" />
<link href="style.css" title="Défaut" rel="stylesheet" type="text/css" media="screen" />
<!--[if lt IE 8]><style type="text/css">/* Only Hack for IE */#main, #page{ height:1%; }.bg{ height:1000em; } </style><![endif]-->
</head>
<body>

<div id="conteneur"><!-- Conteneur Global -->
<div id="header"></div><!-- header -->
<div id="header2"></div><!-- header2 -->

<div id="right" class="contenu"><!-- Colonne droite-->


<div class="news">
<span>Inscription</span><br />
<body onload='if(top!=self) top.location.href=self.location.href;'>
<link rel='stylesheet' type='text/css' href='style.css'>
<title>-15'Radio | Membres</title><body bgcolor='#FFFFFF'><form name='form1' method='post' action='verif_login.php'>
<div align='center'><body bgcolor='#FFFFFF'>
<table width='251' border='0' cellspacing='0' style='border-collapse: collapse; border: 1px dotted $_COULEUR_BORDURE'>
<tr>
<td colspan='2' bgcolor='#CCCCCC' class='menu'><center>Authentification</center></td>
</tr>
<tr>
<td colspan='2'>
</td>
</tr>
<tr>
<td colspan='2'><div align='center'>Veuillez vous identifier : </div><br></td>
</tr>
<tr>
<td width='119'>Pseudonyme : </td>
<td width='120'><input style='input' type='text' name='pseudo_membre'></td>
</tr>
<tr>
<td>Password : </td>
<td><input type='password' name='passe_membre'></td>
</tr>
<tr>
<td height='29' colspan='2'><div align='center'>
<input type='submit' name='Submit' value='Entrer' onClick="this.value='Chargement...'">
</div></td>
</tr>
<tr>
<td colspan='2'><div align='center'><a href='inscription.php'>Inscription</a></div></td>
</tr>
<tr><tr>
<td colspan='2'><div align='center'><a href='passe_perdu.php'>Pass Perdu?</a></div></td>
</tr><tr>
<td colspan='2'><div align='center'><a href='ins_news.php'>Newsletter</a></div></td>
</tr><tr>
<td colspan='2'><div align='center'><a href='zadmin/index.php' target='_blank'>Zone admin</a></div></td>
</tr><tr>
<td colspan='2'><div align='center'><a href='online.php'>Voir Connectés</a></div></td>
</tr><tr>
<td colspan='2'><div align='center'><a href='liste_membres.php'>Liste Membres</a></div></td>
</tr></table>
</div>
</form>


Serais-ce parce que j'ai mis du HTML dans mon FTP ?
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
Spykees Messages postés 16 Date d'inscription   Statut Membre Dernière intervention  
 
quel est l'extension du fichier dont tu montre le code ci-dessu ?
0
Ryan1er Messages postés 87 Date d'inscription   Statut Membre Dernière intervention   12
 
php
0
Spykees Messages postés 16 Date d'inscription   Statut Membre Dernière intervention  
 
De la ligne 268 à 278 tu re déclare un header html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title></title>
<link rel="shortcut icon" href="favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<meta http-equiv="content-language" content="fr" />
<link href="style.css" title="Défaut" rel="stylesheet" type="text/css" media="screen" />
<!--[if lt IE 8]><style type="text/css">/* Only Hack for IE */#main, #page{ height:1%; }.bg{ height:1000em; } </style><![endif]-->
</head>
<body>


surprime les lignes 268 à 278

ca vas déjà résoudre le souci d'affichage. ensuite c'est quoi qui ne s'affiche pas ? je comprends pas vraiment
0
Ryan1er Messages postés 87 Date d'inscription   Statut Membre Dernière intervention   12
 
Dans index.php ou connexion.html ?
0
Spykees Messages postés 16 Date d'inscription   Statut Membre Dernière intervention  
 
dans le fichier qui contient le code que tu à montré plus haut
0