page.php causing 500 – internal server error
-
Hi Guys,
I’ve been chopping and changing around in my page.php and have got to the point where something’s invalid (unclosed <?php tag?) and causes a internal server error. Was wondering if anyone could look at the code and tell me what’s out of place.
`<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/get_header(); ?>
<div id=”content” class=”narrowcolumn” role=”main”>
<div id=”news-bar”><!–News Sidebar–>
<h2>News</h2>
<?php query_posts(“showposts=3”); ?>
<?php while (have_posts()) : the_post(); ?>
“>
<?php the_title(); ?>
<?php the_time(‘M j, Y’); ?>
<?php the_excerpt();?>
<?php endwhile; ?>
<div id=”news-footer”></div>
</div><h2 class=”page-title”><?php the_title(); ?></h2>
<div class=”entry”>
<?php the_content(‘<p class=”serif”>Read the rest of this page »</p>’); ?><?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?></div>
<?php get_footer(); ?>’
Thanks in advance ??
- The topic ‘page.php causing 500 – internal server error’ is closed to new replies.