Support » Fixing WordPress » Problem….Syntax Error….Can’t View Site

  • Resolved HealthyGirl


    Hi everyone,
    I hope someone can help. There apparently is a problem with my index.php file. Here is the error message I’m getting:

    Parse error: syntax error, unexpected ‘>’ in /mnt/w0708/d33/s41/b02fc13d/www/ on line 33

    I have looked at the file and on that specific line, but am not finding anything that looks wrong. Here’s the code….can someone help me out?

    <?php get_header(); ?>
    <div id=”content”>
    <?php if (have_posts()) :?>
    <?php $postCount=0; ?>
    <?php while (have_posts()) : the_post(); $loopcounter++;?>
    <?php $postCount++;?>

    <div class=”entry entry-<?php echo $postCount ;?>”>

    <div class=”entrytitle_wrap”>
    <div class=”entrydate”><div class=”dateMonth”><?php the_time(‘M’);?></div><div class=”dateDay”><?php the_time(‘j’); ?></div> </div>
    <div class=”entrytitle”>
    <?php if ($postCount==1):?>
    <h1>” rel=”bookmark” title=”Link to <?php the_title(); ?>”><?php the_title(); ?></h1>
    <?php else : ?>
    <h2>” rel=”bookmark” title=”Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <?php endif; ?>

    <div class=”endate”><?php the_author(); ?> on <?php the_time(‘F jS, Y’); ?></div>


    <div class=”entrybody”>

    <?php the_content(‘Read the rest of this entry »’); ?>
    <?php the_tags( ‘<p>Tags: ‘, ‘, ‘, ‘</p>’); ?>

    <div class=”entrymeta”>
    <div class=”postinfo”>

    <?php if ($postCount==1) social_bookmarks();>
    <span class=”filedto”><?php the_category(‘, ‘) ?> </span>
    <span class=”commentslink”><?php comments_popup_link(‘No comments yet, be the first »’, ‘1 Comment, join up »’, ‘% Comments, read on »’);?></span>
    <?php if ($postCount==1) { if(function_exists(‘wp_print’)) { print_link(); }} ?>

    <?php edit_post_link(‘Edit’, ‘ | ‘, ”); ?>


    <?php if ($loopcounter == 1) { include (TEMPLATEPATH . ‘/ad_middle.php’); } ?>

    <?php endwhile; ?>

    <div id=”nav-global” class=”navigation”>
    <div class=”nav-previous”>
    next_posts_link(‘« Previous entries’);
    echo ‘ ‘;
    previous_posts_link(‘Next entries »’);


    <?php else : ?>
    <h2>Not Found</h2>
    <div class=”entrybody”>Sorry, but you are looking for something that isn’t here.</div>
    <?php endif; ?>

    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem….Syntax Error….Can’t View Site’ is closed to new replies.