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 Pages

June 20, 2007 7:58pm

Subscribe [4]
  • #1 / Jun 20, 2007 7:58pm

    Hi,
    I just finished installing EE and keep getting blanks pages for both the main page and the admin page.
    It is hosted on a Windows Server 2003 with very recent versions of PHP and MySQL.
    I did the following according to what I have read elsewhere.
    1) Checked path.php. It was completely empty, so i added :
    <?php
    $system_path = “./system/”;
    ?>
    No Luck.
    2) Doublechecked the Cache folders. They were fine.
    3) Could not check the default page since admin page is balnk too.
    4) I have added the error reporting stuff. Nothing happens. I have even gone into php.ini and made sure that that the line error_reporting =  E_ALL is not commented out. It wasn’t.
    Any ideas as to what I should do next.
    Thank you
    Curt

  • #2 / Jun 20, 2007 7:59pm

    Lisa Wess

    20502 posts

    Path.php should not have been empty.  This may seem like a silly question - but you did run install.php? Is your /system/config.php empty, as well?

  • #3 / Jun 20, 2007 8:07pm

    Hi, yes i did everything via install.php and the config.php is full of data including the database info.
    One thing i did notice is that local files paths look weird with double slashes:
    $conf[‘photo_path’] = “C:\\inetpub\\ftproot\\LocalUser\\Tugboat\\www\\CMS\\images\\member_photos/”;
    is this normal?
    BTW, Thank you for the amaizng response time. 😊

  • #4 / Jun 20, 2007 8:14pm

    Lisa Wess

    20502 posts

    Ok, first lets get an appropriate path.php going:

    wiki with path.php - alter for your system directory, etc.

    Second, the blank pages are a big concern. Lets also make sure that we’re outputting errors, see this kb entry.

    And also - hrm, just quickly open index.php and system/index.php and make sure they’re populated.  They should be - they are in the download, but it will only take a moment to rule it out.

    Now, the install wizard ran ok, so we know that PHP is working on your site.  Lets go through these troubleshooting tips then we’ll go from there.  Um, hrm. Those double slashes, I don’t think I’ve ever seen anything like that, actually.  It might be worth making sure that the URL to your system directory doesn’t have those in config.php - don’t worry about the others for now, lets just see if we can get the main system running. =)

    I’m also going to pop this over to installation problems to satisfy my moderator urges, it’s more appropriate there. =)

  • #5 / Jun 21, 2007 5:07pm

    Ok. path.php is updated along the lines on the wiki link. with the system folder being changed to real folder name

    I checked for extra blank lines after the code in the index.php and path.php. there were none.

    I see lots of code in the index.php files. (124 lines of code) 125 once i added the error_reporting(E_ALL); and commented out the other error reporting; so it look like this:
    ini_set(‘display_errors’, 1);
    error_reporting(E_ALL);
    // error_reporting(0);

    I added the first line since just adding the error_reporting(E_ALL);  didn’t seem to work.

    Whereas the index.php in the system folder has 9 lines of code.

    Nothing outputs as error. Is this supposed to go to a log file or to the screen?

    Just fyi,
    the wizard is installed at http://www.tugboatenterprises.com/wizard.php
    and EE is installed in a subfolder called http://www.tugboatenterprises.com/CMS/
    and the renamed system folder is in http://www.tugboatenterprises.com/CMS/<system folder>
    When i go to the main page, i can see that page is doing loading.

    As for the double slashes, they only occur when config.php references locally, when it comes to URLS and relative links, they seem to have single slashes.
    The system path in config.php looks like this:
    $conf[‘system_folder’] = “system”;
    with system replaced with the new folder name.


    Thank you

  • #6 / Jun 21, 2007 7:07pm

    Derek Allard

    3168 posts

    In PHP, a “\” means “treat the next character literally”, so it sounds like your windows system is using the slash in “\” direction, instead of the typical “/”.  EE is then adding a “\” before it, so that the following “\” gets treated literally.  Make sense?

    Probably not a big deal, if you grab config via FTP, manually change it to single quotes and put it back up, does that help out?

  • #7 / Jun 21, 2007 8:24pm

    Ok. I did that. I still get blank pages. But i am sure that would have become an issue later on anyways.
    I did try also as an experiment, to rename the absolute paths to look become URLS, but no luck there either.
    Any suggestions.
    Should I try to reinstall EE?

  • #8 / Jun 22, 2007 12:12am

    Derek Allard

    3168 posts

    If that’s an option for you, it would be a good move, since we could start with a clean slate.  Don’t forget to backup your data first though.

  • #9 / Jun 25, 2007 4:23pm

    OK. That worked. I downloaded the latest version (1.6) and it worked fine. Not sure if it is because the new version or being reinstalled. But it works now 😊
    However now that i installed the Forums module. The theme and styling disappeared for the Admin panel, but teh public site looks fine.
    Thank you.
    Curt

  • #10 / Jun 25, 2007 4:32pm

    Lisa Wess

    20502 posts

    Installing the forum module shouldn’t effect your normal CP styling.  Can you try re-uploading the themes directory from a fresh download, and see if that helps?

    Just to confirm - the CP was styles correctly before the forum installation?

  • #11 / Jun 25, 2007 4:40pm

    Hi, yes it was working before.
    But i just managed to fix it. For some reason, the Theme Folder Path under Admin ›  System Preferences ›  General Configuration had removed all the slashes. Maybe it was a windows path thing. Once i added the slashes back in it worked fine.
    Thank you for you quick responses 😊
    You rock

  • #12 / Jun 25, 2007 4:45pm

    Lisa Wess

    20502 posts

    No problem, you’ve had a rough ride getting things running - but now you can dig in and play.  Let us know if you need any other help. =)

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

ExpressionEngine News!

#eecms, #events, #releases