Probleme site:Fatal error: Call to undefined
Résolu/Fermé
Frassetu
Messages postés
51
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
29 mai 2010
-
18 août 2007 à 22:14
Noah - 31 mai 2008 à 12:54
Noah - 31 mai 2008 à 12:54
bonsoir j'ai un probleme, j'ai un site free et aujourd'hui j'ai trouver un kit graphique mais quand je l'envoi sur mon site et je me rend sur mon site il y a marqué ca : Fatal error: Call to undefined function: get_header() in/mnt/165/sda/2/9/nomdemonsite/index.php on line 1, merci de m'aider
A voir également:
- Probleme site:Fatal error: Call to undefined
- Site de telechargement - Accueil - Outils
- Site comme coco - Accueil - Réseaux sociaux
- Quel site remplace coco - Accueil - Réseaux sociaux
- Site pour vendre des objets d'occasion - Guide
- Site inaccessible - Guide
5 réponses
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 569
18 août 2007 à 23:44
18 août 2007 à 23:44
Salut,
affiche les premières lignes de ton index.php
affiche les premières lignes de ton index.php
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 569
19 août 2007 à 02:14
19 août 2007 à 02:14
Re,
regarde le synopsis de la fonction get_headers
regarde le synopsis de la fonction get_headers
Frassetu
Messages postés
51
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
29 mai 2010
14
19 août 2007 à 02:19
19 août 2007 à 02:19
c'est ca dont tu parle ?
Date: Sun, 19 Aug 2007 00:32:41 GMT
Server: Apache/ProXad [Jun 19 2007 23:14:00]
X-Powered-By: PHP/4.4.3-dev
Connection: close
Content-Type: text/html
Date: Sun, 19 Aug 2007 00:32:41 GMT
Server: Apache/ProXad [Jun 19 2007 23:14:00]
X-Powered-By: PHP/4.4.3-dev
Connection: close
Content-Type: text/html
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 569
19 août 2007 à 02:38
19 août 2007 à 02:38
la fonction get_headers
array get_headers ( string url [, int format] )
prends en paramètre un URL et optionnel un format et retourne un tableau
dans ton script je ne vois pas un URL
array get_headers ( string url [, int format] )
prends en paramètre un URL et optionnel un format et retourne un tableau
dans ton script je ne vois pas un URL
Frassetu
Messages postés
51
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
29 mai 2010
14
19 août 2007 à 02:51
19 août 2007 à 02:51
regarde ce que j'ai fait :
sauf que maintenant il dis que c'est la ligne 4 :(
<?php
$url = 'http://frassetu.free.fr'; ?>
<?php (get_headers($url)); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>">
<h1 class="decay"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="descr"><?php the_time('F jS, Y') ?> by <?php the_author() ?></div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postinfo">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','',' |'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h1 class="decay">Not Found</h1>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
sauf que maintenant il dis que c'est la ligne 4 :(
<?php
$url = 'http://frassetu.free.fr'; ?>
<?php (get_headers($url)); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>">
<h1 class="decay"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="descr"><?php the_time('F jS, Y') ?> by <?php the_author() ?></div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postinfo">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','',' |'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h1 class="decay">Not Found</h1>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Frassetu
Messages postés
51
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
29 mai 2010
14
2 mars 2008 à 23:43
2 mars 2008 à 23:43
aucune solution trouvé, alors j'ai changer de kit
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
19 août 2007 à 02:08
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>">
<h1 class="decay"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="descr"><?php the_time('F jS, Y') ?> by <?php the_author() ?></div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postinfo">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','',' |'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h1 class="decay">Not Found</h1>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>