Forums

[resolved] Failed install, failed to open stream, no such file upgrade.php (4 posts)

  1. bigworldstudio
    Member
    Posted 4 years ago #

    I have followed the install instructions but was not able to access the install page. Please see the error message below for details.

    I'm not very familiar with PHP, but it looks like install.php is calling for upgrade.php and looking for it in the includes directory. In my install, upgrade.php is in the wp-admin folder.

    So far, I have tried re-installing all files, unzipping and re-installing the upgrade.php file, and copying the upgrade.php file into the includes director. The error message hasn't changed.

    I really appreciate your help!

    Warning: main(./includes/upgrade.php) [function.main]: failed to open stream: No such file or directory in /home/lifeis3d/public_html/wp-admin/install.php on line 10

    Fatal error: main() [function.require]: Failed opening required './includes/upgrade.php' (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /home/lifeis3d/public_html/wp-admin/install.php on line 10

  2. whooami
    Member
    Posted 4 years ago #

    no, its actually looking for it inside wp-admin/includes/ and thats where the file is, IF you look inside the zip.

    If its inside your wp-admin directory, you didnt maintain the folder hierarchy that exists in the zip either when you unpakced the files, or when you uploaded them.

    Nix lesson:

    (./includes/upgrade.php)

    the dot (.) indicates the current directory.

  3. bigworldstudio
    Member
    Posted 4 years ago #

    Thanks Whooami!
    Based on your response I figured out the my first extraction of the zip file was missing a bunch of documents and some sub-folders (including the wp-admin/includes sub-folder. Don't know what happened but it's fixed now.

    Have a great weekend!

  4. whooami
    Member
    Posted 4 years ago #

    u2! Go Giants?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.