Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » WordPress »

Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

Estas en el tema de Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()" en el foro de WordPress en Foros del Web. Hola, buen día. Soy nuevo programando, en php y me baje algunos temas de WordPress he intentado ejecutar las pags. y siempre me vota el ...
  #1 (permalink)  
Antiguo 02/07/2007, 02:06
 
Fecha de Ingreso: julio-2007
Mensajes: 3
Antigüedad: 16 años, 9 meses
Puntos: 0
Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

Hola, buen día.

Soy nuevo programando, en php y me baje algunos temas de WordPress he intentado ejecutar las pags. y siempre me vota el mismo error.

Fatal error: Call to undefined function get_header() in
C:\AppServ\www\WordPress Themes\005-10\index.php on line 1


tengo todos las paginas en el mismo directorio incluyendo "header.php", a que se podria deberse todos los temas tienen el mismo error expuesto, bueno ojala amigos que puedan orientarme soy rapido captando y recien estoy empezando cómo dije.... y disculpen si no estoy formulando bien mi pregunta.... bueno sin más que decir por el momento hasta pronto y gracias por todo y por leerme.
  #2 (permalink)  
Antiguo 02/07/2007, 05:16
 
Fecha de Ingreso: enero-2006
Ubicación: Maracay, Edo. Aragua
Mensajes: 206
Antigüedad: 18 años, 3 meses
Puntos: 0
Re: Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

Coloca el código a ver. Pero por lo visto estás llamando a una función que no está definida o que no existe.
  #3 (permalink)  
Antiguo 02/07/2007, 14:58
 
Fecha de Ingreso: julio-2007
Mensajes: 3
Antigüedad: 16 años, 9 meses
Puntos: 0
Información Re: Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

bueno aqui envio el codigo del index.php .... alguna observación? estare muy agradecido, cómo dije este error se repite en todos los temas, y las paginas las tengo en el mismo directorio asi, que no entiendo??

Código PHP:
<?php get_header(); ?>

<div id="maintext">

    <?php if (have_posts()) : ?>

        <?php while (have_posts()) : the_post(); ?>
        <div class="postblock">
        <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
        <p class="date"><?php the_time('F jS, Y'?> by <strong><?php the_author() ?></strong></p>


        <?php the_content('Read the rest of this entry &raquo;'); ?>


        <p class="postmetadata">Posted in <?php the_category(', '?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments »''1 Comment »''% Comments »'); ?></p>

                <!--
                <?php trackback_rdf(); ?>
                -->
        </div>
        <?php endwhile; ?>

        <p class="navigation">
            <span class="left"><?php posts_nav_link('','','&laquo; Older Entries'?></span> <span class="right"><?php posts_nav_link('','Newer Entries &raquo;',''?></span>
        </p>

    <?php else : ?>

        <h2 class="center">Not Found</h2>
        <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
        <?php include (TEMPLATEPATH "/searchform.php"); ?>

    <?php endif; ?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
  #4 (permalink)  
Antiguo 02/07/2007, 15:21
Avatar de mauled  
Fecha de Ingreso: marzo-2005
Ubicación: Cd. de México.
Mensajes: 3.001
Antigüedad: 19 años, 1 mes
Puntos: 33
Re: Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

la función se llama get_headers() y no get_header().


Saludillos.
  #5 (permalink)  
Antiguo 03/07/2007, 02:05
 
Fecha de Ingreso: julio-2007
Mensajes: 3
Antigüedad: 16 años, 9 meses
Puntos: 0
Desacuerdo Re: Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

no quiero ser pesado, pero tampoco funcionaa.... , vale creo que ya debo estár a punto de tirar la toalla....
  #6 (permalink)  
Antiguo 03/07/2007, 08:15
Avatar de mauled  
Fecha de Ingreso: marzo-2005
Ubicación: Cd. de México.
Mensajes: 3.001
Antigüedad: 19 años, 1 mes
Puntos: 33
Re: Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

Pues esta función únicamente es "accesible" si tienes php 5 en tu servidor, en versiones anteriores no funciona.

Saludillos.
  #7 (permalink)  
Antiguo 03/07/2007, 08:36
Avatar de GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Re: Alguién me Ayudaria, "Fatal error:Call to undefined function get_header()"

Tema movido a Aplicaciones Prefabricadas.

Trata de publicar en los temas correctos.

Saludos.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:50.