Support » Fixing WordPress » failed to open stream: No such file or directory

  • Resolved garret10

    (@garret10)


    Not sure how to fix this issue. Got the white screen of death. Managed to fix it and then this happened when trying to replace files with new ones hoping to rid of malware… Thanks to anyone who can help!

    Warning: require_once(/home/content/59/9817559/html//wp-admin/includes/plugin.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/59/9817559/html/wp-content/plugins/wptouch-pro/core/multisite.php on line 4

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/59/9817559/html//wp-admin/includes/plugin.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/59/9817559/html/wp-content/plugins/wptouch-pro/core/multisite.php on line 4

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    garret10

    (@garret10)

    Thanks for your response!
    this is the new error code with both the active theme name changed as well as plugins.hold active

    Warning: require_once(/home/content/59/9817559/html/wp-admin/includes/admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/59/9817559/html/wp-admin/admin.php on line 82

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/59/9817559/html/wp-admin/includes/admin.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/59/9817559/html/wp-admin/admin.php on line 82

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    garret10

    (@garret10)

    Where do I locate the wp-config.php file in my current site?

    garret10

    (@garret10)

    Nevermind, found it.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    It’s in WordPress’s main directory.

    Edit: Awesome. 🙂

    garret10

    (@garret10)

    Awesome!! Thank you for your help today. Now time to look into further protection for the site…

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    You may want to implement some (if not all) of the recommended security measures.

    Hello James,

    I have 2 websites that I was not able to log into the back end. I followed all your steps and I solved the problem. Now the second website is giving me a hard time. I followed all your steps and I can’t get to the back end 🙁

    The error I get is the following:

    Warning: include(/home/sanju971/public_html/fishinginpuertorico.com/wp-content/uploads/2015/general.php): failed to open stream: No such file or directory in /home/sanju971/public_html/fishinginpuertorico.com/wp-config.php on line 45

    http://distinctivead.com/wp-admin/

    Hi above is my website url please help me solve it as i was unable to logged in i tried disabling all plugins as well also i updated the wordpress manually but after that i am getting these errors please tell me what went wrong help me out

    Warning: include(/home3/tfluker3/public_html/wp-admin/js/admin.php): failed to open stream: No such file or directory in /home3/tfluker3/public_html/wp-config.php on line 39

    Warning: include(): Failed opening ‘/home3/tfluker3/public_html/wp-admin/js/admin.php’ for inclusion (include_path=’.:/opt/php54/lib/php’) in /home3/tfluker3/public_html/wp-config.php on line 39

    Warning: Cannot modify header information – headers already sent by (output started at /home3/tfluker3/public_html/wp-config.php:39) in /home3/tfluker3/public_html/wp-includes/pluggable.php on line 1179

    Hello zazikhan,

    It seems that when you installed you updated your wordpress manually you affected the wp-config.php file which is the only file you’re not supposed to edit. I would recommend you to add the file to the directory and it should be fine. I hope you have a backup of the file.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘failed to open stream: No such file or directory’ is closed to new replies.