8 replies
I downloaded a site from Hostgator and when I attempted to accesss the site via Instant WP got the following error messages:



Warning: include(C:\Users\chas\Downloads\instant WP\InstantWP_4.1\iwpserver\htdocs\instantwp\..\wor dpress\wp-includes\version.php) [function.include]: failed to open stream: No such file or directory in C:\Users\chas\Downloads\instant WP\InstantWP_4.1\iwpserver\htdocs\instantwp\index. php on line 5

Warning: include() [function.include]: Failed opening 'C:\Users\chas\Downloads\instant WP\InstantWP_4.1\iwpserver\htdocs\instantwp\..\wor dpress\wp-includes\version.php' for inclusion (include_path='.;C:\Users\chas\Downloads\instant WP\InstantWP_4.1\iwpserver\server\php\PEAR') in C:\Users\chas\Downloads\instant WP\InstantWP_4.1\iwpserver\htdocs\instantwp\index. php on line 5


I located the line referenced and here it is:

include $current_folder.
'\\..\\wordpress\\wp-includes\\version.php';

Does anyone see the problem?

Will appreciate any help.

Chas
#error message #instant #php code
  • Profile picture of the author Unomateo
    In the error I see a space between index .php - It probably should be index.php (no space)

    The error states it can't find the index.php file
    {{ DiscussionBoard.errors[4679972].message }}
  • Profile picture of the author chashenry73
    Thanks Unomateo,

    I will try that solution and let you know if it works.

    Chas
    {{ DiscussionBoard.errors[4680041].message }}
    • Profile picture of the author chashenry73
      Unomateo,

      It certainly appears to have a space in the file name, but it does not. The entire paragraph in index.php is as follows:


      // load the instantwp functions
      include 'functions.php';
      include $current_folder.
      '\\..\\wordpress\\wp-includes\\version.php';
      $config = load_config($base_dir);
      $install_name = $config['install_name'];
      $install_dir = $config['install_dir'];
      $version = $config['version'];
      $debugger = $config['debugger'];

      I suspect that that the bold lines are where the problem is, however, I do not know squat about php.

      Thank you for your interest.

      Chas
      {{ DiscussionBoard.errors[4680163].message }}
      • Profile picture of the author Unomateo
        try removing the double backslashes, should only be one
        {{ DiscussionBoard.errors[4680289].message }}
        • Profile picture of the author chashenry73
          Unomateo,

          I did as suggested, but without success. Convert all 4 sets of double backslashes to single?
          {{ DiscussionBoard.errors[4680430].message }}
  • Profile picture of the author iuditg
    Maybe that theme is not compatible with the version of wordpress you are using. Are you using the latest wordpress version 3.2.1 ?

    include $current_folder.
    '\\..\\wordpress\\wp-includes\\version.php';

    The above line suggest something is wrong with your wordpress version
    {{ DiscussionBoard.errors[4680783].message }}
    • Profile picture of the author chashenry73
      Hello Unomateo and iuditg,

      Thanks for responding to my call for help. Your responces are greatly appreciated. I will let you know what the problem is if I ever discover it.

      Chas
      {{ DiscussionBoard.errors[4693190].message }}
  • Profile picture of the author lordspace
    when uploading your files on your hosting I'd suggest you install it fresh not just upload the files you currently have... because the hosting will be linux and you're running it on Windows.
    Signature

    Are you using WordPress? Have you tried qSandbox yet?

    {{ DiscussionBoard.errors[4695693].message }}

Trending Topics