Parse Error
-
I finally figured out why my old template was messing up, so I went through and completley re-installed wp (it was in the wrong directory) and thought it’d be fixed, but now I get this parse error:
Parse error: parse error in /home/thefad3/public_html/index.php on line 46
but the line 46 in my template is the call for the comments link?
The page: https://www.thefad3d.net/index.php
The code:
<HTML>
<head profile="https://gmpg.org/xfn/1">
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
<TITLE>
TheFad3d.net - With a broken heart and straight face..
</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="style.css">
</HEAD>
<BODY LFTMARGIN="10" TOPMARGIN="10">
<TABLE WIDTH="748" cellpadding="0" CELLSPACING="0">
<TR>
<TD WIDTH="748" HEIGHT="500">
<IMG SRC="silver.jpg" WIDTH="748" HEIGHT="500">
</TD>
</TR>
</TABLE>
<TABLE WIDTH="748" CELLPADDING="10" CELLSPACING="0">
<TR>
<TD VALIGN="top" WIDTH="200">
<? include("left.txt"); ?>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<?php the_date(); ?>
" title="<?php the_title(); ?>"><?php the_title(); ?>
<?php _e("In:"); ?> <?php the_category() ?> — <?php the_author() ?> @ <?php the_time('g.ia', display') ?> <?php edit_post_link(); ?></div>
<div class="storycontent">
<?php the_content(); ?>
</div>
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
<?php include(ABSPATH . 'wp-comments.php'); ?>
</div>
<?php endforeach; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php endif; ?>
</div>
<center><label for="s"><?php _e('Search:'); ?></label>
<form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
<div>
<input type="text" name="s" id="s" size="15" /><input type="submit" name="submit" value="<?php _e('Search'); ?>" />
</div>
</form>
<?php _e('Archives:'); ?>
<?php wp_get_archives('type=monthly'); ?></center>
/wp-login.php"><?php _e('Login'); ?>
<?php _e('Meta:'); ?>
<p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by WordPress"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform")); ?></cite>
<? include("right.txt"); ?>
<? include("footer.txt"); ?>
- The topic ‘Parse Error’ is closed to new replies.