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.

Blank home page when logged out + sub-pages render without styles

June 20, 2011 4:05am

Subscribe [3]
  • #1 / Jun 20, 2011 4:05am

    Haarball

    36 posts

    My site works fine when I’m logged in (as any user), but not when logged out. The home page is completely blank, while some of the inner pages are rendering without CSS, and the includes/header template isn’t showing either.

    Home page: http://www.sprintjeloy.no

    Inner page: http://www.sprintjeloy.no/lagene/kull_95_96/

    My php.ini memory_limit is set to 128. I’ve tried searching for solutions, but couldn’t find anything to solve this for me.

    Here’s my includes/header template: http://pastebin.com/SacFh19x

    Any ideas?

  • #2 / Jun 20, 2011 2:26pm

    Haarball

    36 posts

    Is my issue too open-ended? What other info can I provide that would make this an easier fix?

  • #3 / Jun 20, 2011 3:42pm

    Brandon Jones

    5500 posts

    Hi Haarball,

    A blank page typically indicates a suppressed PHP error. Open your site’s root index.php and make sure $debug is set to 1. Also, set Debug Preference to 2 in Output and Debugging Preferences. Do you see an error on the front-end now when you’re logged out?

  • #4 / Jun 20, 2011 4:08pm

    Haarball

    36 posts

    Not on the front page but I’m getting these on sub pages:

    A PHP Error was encountered
    
    Severity: Notice
    
    Message: Undefined offset: 0
    
    Filename: freebie/ext.freebie.php
    
    Line Number: 136
    
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Cannot modify header information - headers already sent by (output started at /home/4/s/sprintjeloy/www/system/codeigniter/system/core/Exceptions.php:170)
    
    Filename: libraries/Functions.php
    
    Line Number: 749
    
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Cannot modify header information - headers already sent by (output started at /home/4/s/sprintjeloy/www/system/codeigniter/system/core/Exceptions.php:170)
    
    Filename: libraries/Functions.php
    
    Line Number: 749
    
    A PHP Error was encountered
    
    Severity: Warning
    
    Message: Cannot modify header information - headers already sent by (output started at /home/4/s/sprintjeloy/www/system/codeigniter/system/core/Exceptions.php:170)
    
    Filename: structure/mod.structure.php
    
    Line Number: 1937
  • #5 / Jun 20, 2011 5:02pm

    Brandon Jones

    5500 posts

    Hi Haarball,

    Looks like an issue with the Freebie extension, and possibly Structure. First, try disabling extensions globally. That should eliminate the errors. If you’re still getting a blank page, try creating a new temporary template group (with some dummy content in the index template), and make that group your site’s default. Make sure that dummy content then appears on the homepage as it should.

  • #6 / Jun 21, 2011 3:20pm

    Haarball

    36 posts

    Disabling Freebie eliminated the errors. Does anyone have any idea why it would throw a fit for logged out users but not for users that are logged in?

    I also created a new template group, identical to the one I’ve been using, and that works, except there are no styles and the header template isn’t showing. I posted the header template in my original post. Is there anything in there that doesn’t look right to you?

  • #7 / Jun 21, 2011 5:09pm

    Haarball

    36 posts

    Oh, brother. For some reason, guests didn’t have access to the templates in my includes template group. Problem solved. Thanks for the help, Brandon.

  • #8 / Jun 22, 2011 10:50am

    Kyle Cotter

    730 posts

    Hi Haarball,

    So glad you got everything taken care of! And thanks to Brandon for assisting here.

    Please feel free to post again as needed.

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases