Permissions and compat.php
-
Oh dear. I just tried to ‘harden’ my WP blog using the security tutorial on this site, and something has gone horribly wrong. I found myself suddenly unable to do anything at all, despite only having changed the said CHMOD permissions to 744. I now receive this error page:
Warning: main(/…/…/…/…/wp-includes/compat.php) [function.main]: failed to open stream: Permission denied in /home/…/public_html/…/wp-settings.php on line 117
Warning: main(/…/…/…/…/wp-includes/compat.php) [function.main]: failed to open stream: Permission denied in /home/…/public_html/…/wp-settings.php on line 117
Fatal error: main() [function.require]: Failed opening required ‘/…/…/…/…/wp-includes/compat.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/…/public_html/…/wp-settings.php on line 117
Line 117 in wp-settings.php being
require (ABSPATH . WPINC . ‘/compat.php’);
I’ve now been forced to put a 777 CHMOD on everything to see if it reverses the error. It hasn’t. I’m now unable to move within my admin, and get that error every time I try to do anything.
Clearly I’ve made a big mistake but does anyone know how to remedy it?
Huge thanks in advance…
Lewis
- The topic ‘Permissions and compat.php’ is closed to new replies.