Moved to WordPress a few days ago. My website now gives a permission denial error everytime it's loaded: http://juicedsportsblog.com Here is the error: Warning: require(/home/mhblatt/public_html/wp-includes/compat.php) [function.require]: failed to open stream: Permission denied in /home/mhblatt/public_html/wp-settings.php on line 117 Fatal error: require() [function.require]: Failed opening required '/home/mhblatt/public_html/wp-includes/compat.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mhblatt/public_html/wp-settings.php on line 117 Here are some lines before and after line 117 with line 117 in bold of file WP-Settings.php: if ( !defined('PLUGINDIR') ) define('PLUGINDIR', 'wp-content/plugins'); // no leading slash, no trailing slash require (ABSPATH . WPINC . '/ compat.php'); require (ABSPATH . WPINC . '/functions.php'); if ( file_exists(ABSPATH . 'wp-content/db.php') ) require_once (ABSPATH . 'wp-content/db.php'); else Got any ideas on how to fix it?
I changed some folder permissions and now I still have a white page on my domain, but the error messages disappeared. ...Whatever that means...
Yea, ABSPATH is absolute path, and dont know what that means, but my guess is, the ABSPATH is wrong in the configs, check where its defined maybe?
Are you sure the absolute path is correct? I have had these probs before. You can test the path with $_SERVER['PATH_TRANSLATED']
I mean, I'm not sure ABSPATH is defined correctly, but I know that, if defined correctly, the path mentioned in wp-settings would work. Here is how ABSPATH appears to be defined in config: define('ABSPATH', dirname(__FILE__).'/'); require_once(ABSPATH.'wp-settings.php'); ?> I know they menitoned ABSPATH in wp-settings a few times before and it didn't get errors there, and they mentioned it a lot after and I didn't see errors for those lines.
The path names are all correct. The permissions are not. Insure that all directories are chmoded to 755 and all files to 644. Also insure that the owner/group for such files directories are public. Peace,