Help with Instant WP

by 8 replies
10
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
#programming #error message #instant #php code
  • 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
  • Thanks Unomateo,

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

    Chas
    • [1] reply
    • 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
      • [1] reply
  • 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
    • [1] reply
    • 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
  • 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.

Next Topics on Trending Feed