I'm running Drupal 6 and randomly getting this error. It doesn't seem to be effecting anything, but I can see it when I'm logged out occasionally, which means my visitors are seeing it too (not good):
warning: is_dir()[function.is-dir]: open_basedir restriction in effect. File (/tmp/mysql.sock) is not within the allowed path(s): (/home/user/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/user/public_html/includes/file.inc on line 922
I am completely lost on this one. I've been able to troubleshoot many Drupal errors in the past, but this one is over my head. mysql.sock - does that have to do with a socket connection? Anyways, any help anyone can provide is much appreciated!!