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.

Error on Windows 2008 R2 Server

October 20, 2010 6:09pm

Subscribe [2]
  • #1 / Oct 20, 2010 6:09pm

    futurestudios

    17 posts

    Hi,

    I’m attempting to install an instance of ExpressionEngine 1.6.9 onto a Windows 2008 R2 64 bit Server with IIS7.5 under PHP 5.3.2 with mySQL 5.1.45 and I’m getting the error:

    “Warning: include(./control/core/core.system.php): failed to open stream: No such file or directory in D:\Websites-Expression\*****\index.php on line 120 Warning: include(): Failed opening ‘./control/core/core.system.php’ for inclusion (include_path=’.;C:\\Program Files (x86)\\PHP\\pear;OP\\pear’) in D:\Websites-Expression\***** \index.php on line 120 The system path does not appear to be set correctly. Please open your path.php file and correct the path.”

    [This is with the “error_reporting(E_ALL);” entry in index.php in place]
    I’ve taken a look at all the various reports of this and tried a number of combinations of “./control/”, “../control/”, “control/”, “~/control/” etc in the “$system_path = “./control/”;” entry on line 9 of the path.php file in the root – All to no avail.

    I’ve also verified that it’s not a permissions issue – I [temporarily] set the root and all files below it to ‘Everyone – Read’ – still didn’t work.

    The PHP-mySQL-IIS7 Stack works fine - I have Mediawiki sites installed and running and the control panel is accessible from http://*****/control/index.php

    Any ideas?

  • #2 / Oct 21, 2010 8:16am

    Sue Crocker

    26054 posts

    Hi, futurestudios. I don’t believe we’ve seen anyone use your exact setup with EE1.6.9. About the only thing I can suggest is to put in a full system path in that setting.

    What I do is create a .php file called whereami.php and FTP it up to your server, then visit it using your browser.

    Here’s the contents of the file:

    <?php echo realpath(dirname(__FILE__)) . '/'; ?>

    The resulting text the server path.
    Does that help?

  • #3 / Oct 21, 2010 8:44am

    futurestudios

    17 posts

    When placing the “WhereAmI.php” into the root filespace, I get a response of ‘/’
    If I place the same file in the control subdirectory {i.e. renamed system directory}, I - unusually - get the following:

    D:\Websites-Expression\*****\control/

    Note the ‘mixed’ forward and backslashes…
    I then took another look at the General settings under Admin and couldn’t see anything there

    So that I am clear on the issue of “full system path” can you provide me with an example

    Thanks for the quick response - any more ideas? 😊

  • #4 / Oct 21, 2010 8:57am

    Sue Crocker

    26054 posts

    You get the mixed \ and / because the script is adding / at the end of the path. 😊 You’d use the server path with a trailing \ instead of a /.

    Try: D:\Websites-Expression\*****\control\ instead.

  • #5 / Oct 21, 2010 10:30am

    futurestudios

    17 posts

    mmmm….

    The original SystemPath variable line in the path.php [Line 9] was:

    $system_path = “./control/”
    which I changed to:
    $system_path = “D:\Websites-Expression\*****\control”

    ... and it worked!

    What puzzles me is that the first [original] entry is a relative reference to the root and the second is an absolute filespace reference.
    I assume that the code is bright enough to determine which is intended…

    Thanks for your help, Sue. much appreciated.

  • #6 / Oct 21, 2010 10:34am

    Sue Crocker

    26054 posts

    I don’t know why it didn’t, but I’m glad it’s working for you.. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases