Blank Page – template – no idea why
-
Hi,
The issue is here:
http://www.citirecruitment.com/?page_id=20
This page displays all the blog posts – and uses a page_blog.php template file. It works fine. I then have different sub-blogs that only list specific catagories such as:
http://www.citirecruitment.com/?page_id=113 – Mining Blog
http://www.citirecruitment.com/?page_id=117 – RecruitmentTo do this I made a copy of the page_blog.php and renamed it to page_blog_mining.php and point the posts to that specific template. In the normal blog template file it uses this:
Normal Blog Template:
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts=10'.'&paged='.$paged); ?> <?php if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <?php global $more; $more = 0; ?>
And to show specific catergories e.g. Mining Blog Template
'$temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts=10'.'&paged='.$paged); ?> <?php query_posts('category_name=mining&showposts=10'); ?> <?php if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <?php global $more; $more = 0; ?>
This worked fine until only a few days ago – now when you click the sub-blog file eg:
http://www.citirecruitment.com/?page_id=113 – Mining BlogIt goes to a blank page with no errors or source code. No files have been changed (for 4 months) and this worked great until a few days ago. I’m at a loss to troubleshoot this because i can’t view any errors – there is no point of reference. I deactivated any recently installed plugins – which had no effect.
Is there a error log file i can look at – i just don’t know why its stopped working now….
thanks in advance.
- The topic ‘Blank Page – template – no idea why’ is closed to new replies.