HELP! My pod pages are blank!

0

I really, really hope someone can shed some light on this issue and help. I've been adding new pods to my development site this afternoon and for some reason the pages are blank when I view them on the site! They were working okay earlier and now whenever I add a new "person" to my site and then view their page it simply shows as a blank page.

I have done nothing different and even created an identical page as one that is actually working but that still shows as a blank page. I then tried to delete some pods and add them back but again, these now show up as blank pages.

I'm using 1.8.7 and deactivated all other plugins, just to see if that was the cause - it wasn't. I've also tested on Chrome, Safari and Firefox.

I have 6 pods and 97 items in total across all pods. The problem pod is my "person" pod and currently includes 7 items.

Please, can anyone help. Thanks.

asked May 25 '10 at 12:37

daretothink

11

add comment
enter at least 15 characters

5 Answers

1

Let's see some page / template code...

answered May 25 '10 at 12:41

chriscarvache

73

add comment
enter at least 15 characters
1

You don't necessarily need the Wordpress loop here. I'd suggest putting the <?php pods\_content(); ?> outside of the loop. Also make sure while editing the PODS page that you have selected this wordpress template. Another thing to do would be to turn on PHP error reporting.

Let me know if any of this helps...

answered May 25 '10 at 1:02

chriscarvache

73

add comment
enter at least 15 characters
1

You can turn on error reporting by placing this at the top of your theme's functions.php file.

  error_reporting(E_ALL);
  ini_set('display_errors', '1');

answered May 26 '10 at 7:50

jackson

33

Thanks jackson for letting me know. – daretothink May 26 '10 at 9:33
add comment
enter at least 15 characters
0

Hi. My Pages code is:

<?php
$slug = pods_url_variable('last');
$Record = new Pod('interview',$slug);
echo $Record->showTemplate('interview_details');

I am using a WP template to display the page which has this code:

<?php
/*
Template Name: Single Interview
*/
?>
    <?php get_header();?>
  <div id="main">                               
        <div id="maintext">
          <?php
          global $post;
      $substitle = get_post_meta($post->ID,"subtitle",true);
      if ($substitle) echo "<h1>$substitle</h1>";
      ?>

      <?php if (have_posts()) : ?>
      <?php while (have_posts()) : the_post(); ?>
                    <?php pods_content(); ?>
            <?php endwhile;?>
            <?php endif;?>                                
       </div><!-- end of maintext -->
        </div><!-- end of main -->
        <div id="side">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('Interview Single') ) : ?>
<?php endif; ?></div>
        <?php get_footer();?>

My template code is:

<h1>{@name}</h1>
<p>{@photo, photo_size}</p>
<p class="large"><b>Profile:</b> {@profile}</p>
<p><b>Availability:</b> {@availability.name}</p>
<p><b>Genre:</b> {@genre, multi_selection}</p>
<a href="javascript: history.go(-1)"><img style="margin-right:10px" class="image" src="back.png" alt="Back to Previous Page" title="Back to Previous Page" /></a><a href="/contact/?select={@name}"><img src="enquire.png" class="image" alt="Enquiry" title="Enquiry" /></a>

answered May 25 '10 at 12:51

daretothink

11

add comment
enter at least 15 characters
0

Thanks so much for your help with this - I went into a bit of a panic there! What I ended up doing was removing the WP loop altogether and that seems to have done the trick so far. I've gone ahead and added about 5 more items and they are all showing correctly on the site.

Can you tell me how/where I turn on the PHP error reporting?

answered May 25 '10 at 2:31

daretothink

11

add comment
enter at least 15 characters