Topic: Fatal error!
Muy buenas.
Fatal error: Call to undefined function get_header() in /home/jo5vt47t/public_html/nimuchomenos/index.php on line 1
Eso es lo que me dice cuando intento conectarme a mi web ![]()
No sé por qué ha ocurrido esto...siempre me ha ido bien la web. No entiendo.
Este es el código del index.php
No sé por qué está mal el "get_header()"...creo que siempre eso está así bien. ¿o podeis ver algún error?
<?php get_header(); global $blog_postcount; ?>
<div id="leftcontainer">
<div id="content" class="narrowcolumn">
<div class="post" id="post-<?php the_ID(); ?>">
<div class="comicdate"><div class="comicnav"><a href="<?php first_comic(); ?>"> « Primero</a> |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php global $wp_query; $wp_query->is_single = true; ?><?php previous_post('%','« Previous','no','no','1',$blogcat); ?><?php global $wp_query; $wp_query->is_single = false; ?></div><?php the_time('l | F jS, Y') ?></div>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="entry"><?php the_content('Read the rest of this entry »'); ?></div>
<p class="postmetadata">Category: <?php the_category(', ') ?><?php the_tags(' | Tags: ', ', ', ''); ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('Comment »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endwhile; ?>
<?php else : ?></div><?php echo date('l | F jS, Y'); ?></div><h2 style="color:#7F0000">Welcome!</h2><div class="entry">The creator has not yet posted to the comic category. This area is just a placeholder.</div><p class="postmetadata"><a href="http://mindfaucet.com/comicpress/doc-2-1.html">See Documentation »</a></p></div>
<?php endif; ?>
</div>
<<div id="content" class="blogheader">
<div id="content" class="narrowcolumn">
<?php query_posts('showposts='.$blog_postcount.'&cat='.$blogcat);
while(have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time('F jS, Y') ?></small>
<div class="entry"><?php the_content('Read the rest of this entry »'); ?></div>
<div class="postmetadata"><?php the_tags('Tags: ', ', ', ' | '); ?><?php edit_post_link('Edit', '', ' | '); ?><?php comments_popup_link('Comment »', '1 Comment »', '% Comments »'); ?></div>
</div>
<?php endwhile; ?>
<small>
<?php query_posts('showposts=1&offset='.$blog_postcount.'&cat='.$blogcat);
while(have_posts()) : the_post(); ?>
[ <a href="<?php the_permalink() ?>">« Previous</a> ]
<?php endwhile; query_posts('offset=0'); ?>
</small>
</div>
</div>
<?php get_footer(); ?>Muchísimas gracias por vuestra atención.