Support » Fixing WordPress » Failed to open stream / no such file or directory with a TWIST

  • Server upgrading Friday, which will kill my existing WP 3.1 blog. So I’m installing 4.7.3 fresh in new subdirectory of existing WP 3.1 site AND using the same database. Domain is a subweb. Server is running PHP 5.3. (New one will run 5.6) Once working, I’ll point the domain at the new directory. (Not sure whether subweb/shared db might affect this?)

    Going to domain /subdirectory/wp-admin/install gets me the errors below. The only themes that show in wp-content/themes are twentyfifteen, twentyseventeen, and twentysixteen. When I typo’d the subdirectory name, though, I saw the gnarly 404 page with what appears to be the old blog’s theme (Thesis 1.8). Planning to go to Thesis 2+ once things are working.

    I did mod the wp-config file with db info and memory use limits. Other than that, the entire install is fresh out of the box.

    Thanks for any help!

    Warning: require_once(/users/domain.com/htdocs/directory/new subdirectory/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /users/domain.com/htdocs/directory/new subdirectory/wp-admin/install.php on line 36

    Fatal error: require_once() [function.require]: Failed opening required ‘/users/domain.com/htdocs/directory/new subdirectory/wp-load.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /users/domain.com/htdocs/directory/new subdirectory/wp-admin/install.php on line 36

    • This topic was modified 3 years, 4 months ago by jaycher.
    • This topic was modified 3 years, 4 months ago by jaycher.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you list all files and folders you see inside your /users/domain.com/htdocs/directory/new subdirectory/?

    • This reply was modified 3 years, 4 months ago by montrealist.

    Hi montrealist–thanks for the quick reply!
    Sure, three folders, nothing else visible via ftp:
    wp-admin
    wp-content
    wp-includes

    So, tried uploading all files again to catch any that were missed, which STILL didn’t add files to this directory. I had to select them separately from the directory folders and upload them. Files and folders there now:

    wp-admin
    wp-content
    wp-includes

    index.php
    license.txt
    readme.html
    wp-activate.php
    wp-blog-header.php
    wp-comments-post.php
    wp-config.php
    wp-cron.php
    wp-links-opml.php
    wp-load.php
    wp-login.php
    wp-mail.php
    wp-settings.php
    wp-signup.php
    wp-trackback.php
    xmlrpc.php

    Now I get the same thing, slightly different…

    Warning: require(/users/domain.com/htdocs/directory/subdirectory/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /users/domain.com/htdocs/directory/subdirectory/wp-settings.php on line 19

    Fatal error: require() [function.require]: Failed opening required ‘/users/domain.com/htdocs/directory/subdirectory/wp-includes/load.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /users/domain.com/htdocs/directory/subdirectory/wp-settings.php on line 19

    *Just realized the old blog’s theme appears on the 404 because that IS the old blog…

    • This reply was modified 3 years, 4 months ago by jaycher.
    • This reply was modified 3 years, 4 months ago by jaycher.
    • This reply was modified 3 years, 4 months ago by jaycher.
    • This reply was modified 3 years, 4 months ago by jaycher.
    • This reply was modified 3 years, 4 months ago by jaycher.

    NEW INFO: Tried the same WP 4.7.3 install in another subdirectory but using a NEW db–no problem. Using the old db is the issue.

    NEW QUESTION: Can I get all post / page / comment info from the old db and put it into the new, so I don’t have to rebuild the entire blog? Thanks for any help!

    Yep – and you can even use a plugin if you don’t want to do it manually. I find WP Migrate DB Pro (has a free version as well, not sure what features are lacking in it) handles the task really well.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Failed to open stream / no such file or directory with a TWIST’ is closed to new replies.