tattie 0 Newbie Poster

where are all of these functions you have coming from? get_header(), have_posts(), is_year(), ect.. your problem might be in them.
i will rewrite your code to help and see if i can find any errors. plz post the functions so we can look at them.

thanks soo soo much if you do that that would be so kind

and thanks for the help eveyone i really do suck sometimes lol

tattie 0 Newbie Poster

omg i give in

theres a prob with line one now
http://www.janetjackson.org.uk

tattie 0 Newbie Poster

i am and the header is in the right directory

here is my code again and i dont have a clue what is wrong

<!--THIS INCLUDES HEADER.PHP--><?php get_header() ;?><!-- END -->

<div class="side"><?php if (have_posts()) ;?>
<?php $post = $posts[0]; // Thanks Kubrick for this code ;?>

<?php if (is_category()) { ;?>
<h3><?php _e('Archive for '); echo single_cat_title() ;?></h3>
<?php } elseif (is_day()) { ;?>
<h3><?php _e('Archive for '); the_time('F j, Y') ;?></h3>

<?php } elseif (is_month()) { ;?>
<h3><?php _e('Archive for '); the_time('F, Y') ;?></h3>

<?php } elseif (is_year()) { ;?>
<h2><?php _e('Archive for '); the_time('Y') ;?></h2>

<?php } elseif (is_author()) { ;?>
<h3><?php _e('Author Archive') ;?></h3>

<?php } elseif (is_search()) { ;?>
<h3><?php _e('Search Results') ;?></h3>
<?php } ;?>
<?php while (have_posts()): the_post() ;?>

<!--TITLE TAG-->
<h1><?php the_title() ;?></h1>
<!--END-->


<!--TIME DATE CATEGORY WORDS-->
<h2><?php the_time('F jS, Y'); ;?> by <?php the_author(); ;?>  &nbsp;  <?php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments'), 'commentslink', __('sorry, Comments off for this post.')) ;?> &nbsp;  <BR>
Filed Under: <?php the_category(', ') ;?> &nbsp;
</h2>
<!--END-->

<?php if (is_search()) { ;?>
<?php the_excerpt() ;?>
<?php } else { ;?>
<?php the_content(__('Read more &#187;'));?>


<!--COMMENTS TAG-->

<!--END-->
<br /> <br />

<?php comments_template(); // Get wp-comments.php template ;?>

<?php } ;?>

<!--
<?php trackback_rdf() ;?>
-->

<?php endwhile ;?>
<?php posts_nav_link('', __(''), __('&laquo; Previous entries')) ;?>
<?php posts_nav_link('  ', __(''), __('')) ;?>
<?php posts_nav_link('', __('Next entries &raquo;'), __('')) ;?>

<?php else: ?>
<h3><?php _e('Not Found'); ?></h3>
<p><?php _e('Sorry, but no posts matched your criteria.'); …
tattie 0 Newbie Poster

nope it is still coming up with

Parse error: syntax error, unexpected T_ELSE in /home/tattie/public_html/index.php on line 60

tattie 0 Newbie Poster

nope still not working

tattie 0 Newbie Poster

thanks sooo much i have fixed most on it

now on line 60 it says there is somthing wrong

<?php else ;?>

tattie 0 Newbie Poster

i have tried that as well and its still not working

its really weird it was working fine a few weeks ago and then the whole thing kinda died

tattie 0 Newbie Poster

right ok i think i have most of it fixed..here is the new code

<!--THIS INCLUDES HEADER.PHP--><?php get_header() ;?><!-- END -->

<div class="side"><?php if (have_posts()) ;?>
<?php $post = $posts[0]; // Thanks Kubrick for this code ;?>

<?php if (is_category()) { ;?>
<h3><?php _e('Archive for '); echo single_cat_title() ;?></h3>
<?php } elseif (is_day()) { ;?>
<h3><?php _e('Archive for '); the_time('F j, Y') ;?></h3>

<?php } elseif (is_month()) { ;?>
<h3><?php _e('Archive for '); the_time('F, Y') ;?></h3>

<?php } elseif (is_year()) { ;?>
<h2><?php _e('Archive for '); the_time('Y') ;?></h2>

<?php } elseif (is_author()) { ;?>
<h3><?php _e('Author Archive') ;?></h3>

<?php } elseif (is_search()) { ;?>
<h3><?php _e('Search Results') ;?></h3>
<?php } ;?>
<?php while (have_posts()) ; the_post() ;?>

<!--TITLE TAG-->
<h1><?php the_title() ;?></h1>
<!--END-->


<!--TIME DATE CATEGORY WORDS-->
<h2><?php the_time('F jS, Y'); ;?> by <?php the_author(); ;?>  &nbsp;  <?php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments'), 'commentslink', __('sorry, Comments off for this post.')) ;?> &nbsp;  <BR>
Filed Under: <?php the_category(', ') ;?> &nbsp;
</h2>
<!--END-->

<?php if (is_search()) { ;?>
<?php the_excerpt() ;?>
<?php } else { ;?>
<?php the_content(__('Read more &#187;'));?>


<!--COMMENTS TAG-->

<!--END-->
<br /> <br />

<?php comments_template(); // Get wp-comments.php template ;?>

<?php } ;?>

<!--
<?php trackback_rdf() ;?>
-->

<?php endwhile: ?>
<?php posts_nav_link('', __(''), __('&laquo; Previous entries')): ?>
<?php posts_nav_link('  ', __(''), __('')): ?>
<?php posts_nav_link('', __('Next entries &raquo;'), __('')): ?>

<?php else ; ?>
<h3><?php _e('Not Found'); ?></h3>
<p><?php _e('Sorry, but no posts matched your criteria.'); ?></p>
<?php endif; ?>
</div>

<!--THIS INCLUDES FOOTER.PHP-->
<?php …
tattie 0 Newbie Poster

thanks so much bit it is still not working

http://www.janetjackson.org.uk it still shows the same message

tattie 0 Newbie Poster

Hey guys im really new to php and i had it all worked out untill this came along

it says this

Parse error: syntax error, unexpected T_STRING in /home/tattie/public_html/index.php on line 1

i really really dont know what to do and i would be so grateful if someone could tell me what is wrong

here is the code

<!--THIS INCLUDES HEADER.PHP--><? php get_header(); ?><!-- END -->

<div class="side"><?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Thanks Kubrick for this code ?>

<?php if (is_category()) { ?>
<h3><?php _e('Archive for '); echo single_cat_title(); ?></h3>

<?php } elseif (is_day()) { ?>
<h3><?php _e('Archive for '); the_time('F j, Y'); ?></h3>

<?php } elseif (is_month()) { ?>
<h3><?php _e('Archive for '); the_time('F, Y'); ?></h3>

<?php } elseif (is_year()) { ?>
<h2><?php _e('Archive for '); the_time('Y'); ?></h2>

<?php } elseif (is_author()) { ?>
<h3><?php _e('Author Archive'); ?></h3>

<?php } elseif (is_search()) { ?>
<h3><?php _e('Search Results'); ?></h3>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>

<!--TITLE TAG-->
<h1><?php the_title(); ?></h1>
<!--END-->


<!--TIME DATE CATEGORY WORDS-->
<h2><?php the_time('F jS, Y'); ?> by <?php the_author(); ?>  &nbsp;  <?php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments'), 'commentslink', __('sorry, Comments off for this post.')); ?> &nbsp;  <BR>
Filed Under: <?php the_category(', ') ?> &nbsp;
</h2>
<!--END-->

<?php if (is_search()) { ?>
<?php the_excerpt() ?>
<?php } else { ?>
<?php the_content(__('Read more &#187;')); ?>


<!--COMMENTS TAG-->

<!--END-->
<br /> <br />

<?php comments_template(); // Get wp-comments.php template ?>

<?php } ?>

<!--
<?php trackback_rdf(); ?> …