ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Suddenly getting a blank page

September 08, 2010 4:51pm

Subscribe [2]
  • #1 / Sep 08, 2010 4:51pm

    gazettejournal

    8 posts

    We have a members only section in the newspaper, that we just launched with much fanfare. Last week, it worked great. Now, all subscribers get on that page is - nothing - the page is completely blank. Even as super admin, the page is blank.

    We didn’t change anything between last week and this week. So I am at a complete loss as to what could be happening.

    Here is the code:

    <div class="clearfloat">
    
    {exp:weblog:entries weblog="pdf" limit="1" parse="inward"}
                
    
    
    <h2 class="title">{title}</h2>
    
    <div class="entry clearfloat">
    
    
        {if logged_in}    
            {Introduction}
            
            
             <ul>
            {download_file}
            
                
            <li><a href="http://{exp:linklocker">{filename}</a></li>
    
    
            {/download_file}
            </ul>    
            
            <hr>
            
            <a href="/subscribers/parts/">More PDF Archives:</a>
            <ul>
                {exp:weblog:entries weblog="pdf"  sort="asc" offset="1" dynamic="off"}
                    <li><a href="http://{url_title_path=subscribers/parts}">{title}</a></li>
                {/exp:weblog:entries}
                        <li class="cat-item"><a href="http://{path=Store/ct_product_detail/pdf_subscription_1yr_promo}"><em>Subscribe to the Gazette-Journal PDF Edition Today!</em></a></li>
            </ul>     
            
            
        {if:else} 
    
        <em>Only Registered Subscribers can access this material. Purchase an <a href="http://{path=Store/C17}">online subscription</a> today!
        Online Edition Subscribers can see more news and download the PDF version of the paper.
        
        <a href="http://{path=%27static_pages/login%27}%22&gtLogin&lt/a&gt">Login Here</a> , or <a href="http://{path=Store/C17}">Subscribe Now</a></em>
        {/if} 
    
    
    
    {/exp:weblog:entries} 
    
    
            </div>
  • #2 / Sep 09, 2010 4:01am

    John Henry Donovan

    12339 posts

    gazettejournal,

    What build and version of EE are you using?
    Can you list all the extensions you are using please?

    A blank page is usually indicative of a suppressed error. Can you try and get some error reporting going please and see if anything shows up

    In your template you have nested a weblog:entries tag within another which is not recommended. If you need to pull this info use an embed here with the second weblog:entries tag inside the embed

    Try reducing your template down to the base minimum and see if that works then start adding items back in to see where it breaks

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases