PHP Errors: [function.is-writable] – Help!
-
Hello guys,
I am having a problem that’s irritating me for days.
First of all I am using the latest WordPress (2.6.3)
The problem is that on my admin panel , either on the footer or on some boxes I see this kind of PHP Errors:
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(error_log) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/axxxxxx/public_html/wp-includes/wp-db.php on line 500
PHP Error Message
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(error_log) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/axxxxxx/public_html/wp-includes/wp-db.php on line 500
I ‘ve chmodded the whole wp-includes directory – including subfolders and files – to 777 but still no solution.
The 500 line on wp-db.php is the following:
499: $log_file = @ini_get(‘error_log’)
500: if ( !empty($log_file) && (‘syslog’ != $log_file) && !is_writable($log_file) )
501: $log_error = false;Any help is really appreciated.
- The topic ‘PHP Errors: [function.is-writable] – Help!’ is closed to new replies.