Page Not Completely Displaying

Permalink
Hi, I have a client site (http://lockerhooking.com/links) where some of the pages, Links & Gallery are not displaying correctly. My theme is fine and the page layouts used on the two broken pages are working correctly on other pages of the same type.

The HTML just seems to cut off right about where the "main" block is supposed to begin output. This prevents the footer_required code from executing so I don't get the admin toolbar. If I browse through prior revisions of the page they all have the same truncated HTML, but I know that the pages were working previously.

The Gallery page may be using a custom block, but the Links page is just a series of <p><a /></p> tags.

I've looked through my apache2 error logs and set php.ini to display E_ALL as well as turning on debugging in the Concrete5 dashboard, but I'm not getting any errors logged anywhere.

 
cubewebsites replied on at Permalink Best Answer Reply
There's not really much I can learn from the actual site, would be better if the template PHP code was made available.

It seems to be an error in the template, or with a block type depending on what comes after the image block.

Try figuring out if its a block by commenting out any
$a->display($c)
lines in your theme file, one at a time to see if it loads any better
taiidani replied on at Permalink Reply
The theme code is fairly simple:

defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('elements/header.php', array('bodyClass' => 'twocolumn'));
?>
        <div id="content" class='frame'>
                <aside>
                        <div class='inner'>
                                <?php $a = new Area('Sidebar'); $a->display($c); ?>
                                <div class='clear'></div>
                        </div>
                </aside>
                <section>
                        <div class='inner'>
                                <?php $a = new Area('Main'); $a->display($c); ?>
                                <div class='clear'></div>
                        </div>


If I remove the Sidebar area the code will execute a piece of the Main area and then break again. If I remove both of the areas then the rest of the html will print.

The only blocks in the Links page should be standard Content blocks. I went to edit one of them on another page and found that Tiny_MCE is broken...is there a way I can pull out the data from the blocks on this page and place them in a new page?
taiidani replied on at Permalink Reply
Alright, well thank you for your help. The client decided to use a different service than Concrete5 so I had to bring down the site.

I did figure out what was wrong with TinyMCE. The Rich Text Editor settings needed a third configuration line for the buttons; I set it to "" which worked wonders.

I still couldn't figure out what was wrong with the pages not displaying though...