I am getting these errors after I install buddylist:

warning: main() [function.main]: open_basedir restriction in effect. File(/buddylist_views.inc) is not within the allowed path(s): (/var/www/vhosts/imaginetdesigns.com/httpdocs:/tmp:/usr/share/pear) in /var/www/vhosts/imaginetdesigns.com/httpdocs/drupal/modules/buddylist/buddylist.module on line 5.
warning: main(buddylist_views.inc) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/imaginetdesigns.com/httpdocs/drupal/modules/buddylist/buddylist.module on line 5.
warning: main() [function.include]: Failed opening 'buddylist_views.inc' for inclusion (include_path='.:/usr/share/pear:') in /var/www/vhosts/imaginetdesigns.com/httpdocs/drupal/modules/buddylist/buddylist.module on line 5.

It looks like the file path is incorrect for the includes file but I am not sure. Any help with solving this would be great.

Comments

kbourne’s picture

I believe that is referring to an PHP settings issue. A quick search on the net brought up this link: http://us.php.net/features.safe-mode, which I think touches on this. I was using a certain mass hosting company that wouldn't help with this issue, so I was able to avoid these errors by switching hosting companies. I had the same message for a number of modules, always when they are referencing other files, such as the .inc file.

If you have access to the file, I believe this is the line (from that link) that applies:

In httpd.conf, open_basedir can be turned off (e.g. for some virtual hosts) the same way as any other configuration directive with "php_admin_value open_basedir none".

john morahan’s picture

Status: Active » Closed (duplicate)

Duplicate of http://drupal.org/node/130281
(well, actually that one is the duplicate, but it's already fixed)