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.

Another blank index sufferer (fresh install)

March 03, 2008 10:35am

Subscribe [0]
  • #1 / Mar 03, 2008 10:35am

    Katrar

    10 posts

    I too am suffering the blank index syndrome. =) I get the CP just fine, but when I try to view the blog’s main index I get nothing. I have been looking for self help in these forums and found out how to output error messages. This is what I get:

    Warning: main(path.php) [function.main]: failed to open stream: No such file or directory in /hermes/bosweb/web274/b2740/d5.irongala/public_html/eeindex.php on line 96

    Fatal error: main() [function.require]: Failed opening required ‘path.php’ (include_path=’.:/usr/local/lib/php-4.4.7/lib/php’) in /hermes/bosweb/web274/b2740/d5.irongala/public_html/eeindex.php on line 96

    It is a fresh install, not an upgrade, nearly everything is stock, with the logical blocks theme on install being the only exception.

    I am building up EE alongside WordPress, which it will eventually replace, which is why index has been renamed to eeindex.php for dev purposes. And it is located in the root where it should be.

    I’m afraid I do not know what to do at this point. I’ve seen some reference to problems with PHP at the host level but am not sure what I would say or ask for if I need to contact them.

    If there is any additional information that would be more helpful I will do my best to get it. And thanks in advance for any guidance or help in getting EE up and running.

  • #2 / Mar 03, 2008 11:26am

    Robin Sowell

    13255 posts

    Hm- ftp in, you should have a path.php file in the same directory as your index page.  Grab it, open it up in an editor- what’s in there?  (If it’s not there?  Then we know the problem!)

  • #3 / Mar 03, 2008 6:19pm

    Katrar

    10 posts

    I opened path.php and this is its contents:

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./main/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $global_vars = array(); // This array must be associative
    
    ?>

    Does anything here look off?

    Oh… and you mentioned path.php should be in the same directory as index.php (or in my case eeindex.php)? path.php is located within my expressionengine container directory (one level deep from root) which is where it ftp’d to. I copied it to root and got the following error message when I tried to visit index:

    The system path does not appear to be set correctly. Please open your path.php file and correct the path.

  • #4 / Mar 03, 2008 7:07pm

    Sue Crocker

    26054 posts

    Katrar, do you have a directory off of the root called main?

  • #5 / Mar 03, 2008 7:17pm

    Katrar

    10 posts

    No, the main directory is the former system directory (renamed as per installation suggestion).

    It’s located within an EE container directory called /ExpressionEngine1.6.2/ that is in the root.

    Do I need to edit path.php to show:

    ./ExpressionEngine1.6.2/main/

    And is that the correct syntax? Thanks!

  • #6 / Mar 03, 2008 7:44pm

    Sue Crocker

    26054 posts

    OK, it’s a lot easier to have the system directory be just one level below the root (at least in my experience), so that you can just have the ./main/ directory be in the path. But as it stands now, you’d edit the path.php to use ./ExpressionEngine1.6.2/main/

    See if that works for you.

  • #7 / Mar 03, 2008 8:03pm

    Katrar

    10 posts

    Ok that helped a lot, its getting to the site now, which is a definate step in the right direction. =)

    Now that I’m at first base though I am not sure the theme is fully implementing. Would you mind taking a look and telling me if what is displaying its supposed to, using the logical blocks theme?

    The site is… http://www.irongalaxy.com/eeindex.php

    It seems that its not displaying the images that are part of the site theme. Are there additional changes I need to make?

    Also, is it common that installations that aren’t based in root have little problems? I put the installation in a container directory just for orderliness but I can certainly reinstall it if you recommend it.

  • #8 / Mar 03, 2008 8:13pm

    Sue Crocker

    26054 posts

    Katrar, your image links are coming back as 404’s.

    <a href="http://www.irongalaxy.com/themes/site_themes/logical_blocks/lb_header.gif">http://www.irongalaxy.com/themes/site_themes/logical_blocks/lb_header.gif</a>

    Do you have a directory called themes off of the root? You may just need to move the /themes folder into the root.

    I work on roughly 5 sites a week, and it’s just easier if the sites are set up the same basic way. The only difference is the system’s directory name.

    Also while you’re at it, move your images folder to the root too. 😊

    If everything else is working, I’d say leave it alone.

  • #9 / Mar 03, 2008 9:21pm

    Katrar

    10 posts

    It wasn’t too much trouble to just reinstall so I did that, and with the more conventional folder placement I’m not having any more difficulties. Thanks for your assistance. 😊

  • #10 / Mar 03, 2008 9:23pm

    Sue Crocker

    26054 posts

    Excellent! Did that fix the problems with your logical blocks theme? It should have.

  • #11 / Mar 03, 2008 9:57pm

    Katrar

    10 posts

    Yep, no further problems with the theme.

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

ExpressionEngine News!

#eecms, #events, #releases