• So when attempting to access my site’s back-end (i.e. the login page), I am met with this message:

    “Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home/public/wp-login.php’ (include_path=’.:/usr/local/php/5.4.27-nfsn1/lib/:/usr/local/php/lib/’) in Unknown on line 0″

    I haven’t found this specific problem in the forums, so I’m really kinda clueless. I have not recently changed anything about the site’s settings, only content. I host the site with nearlyfreespeech.net, but I’m not seeing any apparent issues with them. And it isn’t affecting the site’s pages themselves, only the management side of things.

    The site is moojuicecreamery.com if that helps.

    Thank you for any advice

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

    (@macmanx)

    Try manually resetting your plugins. 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 FTP or SFTP, 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).

    If neither of those work, try downloading WordPress again and delete then replace your copies of everything 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.

    Hi James, I am having the same issue, but I have no idea how to do any of the above mentioned. I have this error when I try to log in to my wordpress site to do edits:

    Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘/home/public/wp-login.php’ (include_path=’.:/usr/local/php/5.4.33-nfsn1/lib/:/usr/local/php/lib/’) in Unknown on line 0

    Any advice for a layman? I know how to use FTP, as that’s how I created the site, but I’m super new to this. Would love if you can help me!

    Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘E:/xampp/htdocs/index.php’ (include_path=’.;E:\xampp\php\PEAR’) in Unknown on line 0

    any help?

    HEllo all,

    mkjonese I can see you solved this.. What did you do!!

    I am suffering the same problem! Thanks in advance

    Hi all,

    As Little Package said, he linked the solution, all ends to change the permission:

    From rhays

    No, no php problem. We routinely shut off permissions to wp-login.php on sites that are being actively brute force attacked. Just change the permissions on wp-login.php back to 755 and it will execute normally. Change permissions back to 600 when you log out so that your site will be immune to brute force attacks.

    So if you see this error in the future, check the permissoion settings for wp-login.php.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Failing to open stream on login page’ is closed to new replies.