WordPress.org

Ready to get started?Download WordPress

Forums

PHP Help - Parse Error (2 posts)

  1. webs05
    Member
    Posted 7 years ago #

    Parse error: parse error, unexpected T_STRING in /home/content/w/e/b/webs05/html/wordpress/wp-content/themes/GinsengCoffee/index.php on line 67

    Below is the relevant code, with the line of interest pointed out:

    <div id="wrapper">
          <div id="content">
             <?php if (have_posts()) : ?>
    	    <?php while (have_posts()) : the_post(); ?>
    	       <div class="post" id="post-<?php the_ID(); ?>">
    	          <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    LINE WITH ERROR ->  <small>Posted: <?php the_time('F jS, Y'); ?><!-- by <?php the_author() ?> --></small>  <-TO HERE
    	        <div class="entry">
    		   <?php the_content('Read the rest of this entry &raquo;'); ?>
                    </div>
    		<p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php if(function_exists('wp_print')) { print_link(); } ?> <strong>|</strong> <?php digg_it(); ?> <strong>|</strong> <?php hugg_it(); ?> </p>
    	        </div>
    		<?php comments_template(); ?>
    		<?php endwhile; ?>
    		<p align="center"><?php wp_pagenavi(); ?></p>
    	  <?php else : ?>
    		<h2 align="center">Not Found</h2>
    		<p align="center">Sorry, but you are looking for something that isn't here.</p>
    	  <?php endif; ?>
    	  <br /><br />
          </div>
  2. webs05
    Member
    Posted 7 years ago #

    Nevermind, I fixed it. The problem was not with the line pointed out, but with another line up above.

Topic Closed

This topic has been closed to new replies.

About this Topic