Openbase_dir redirection error
Errors from would-be user of SCF:
* warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/css/layout.css) is not within the allowed path(s): (/var/www/vhosts/example.net/subdomains/scf/httpdocs:/tmp) in /var/www/vhosts/example.net/subdomains/scf/httpdocs/includes/common.inc on line 1730.
* warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/css/admin.css) is not within the allowed path(s): (/var/www/vhosts/example.net/subdomains/scf/httpdocs:/tmp) in /var/www/vhosts/example.net/subdomains/scf/httpdocs/includes/common.inc on line 1730.
* warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/css/screen.css) is not within the allowed path(s): (/var/www/vhosts/example.net/subdomains/scf/httpdocs:/tmp) in /var/www/vhosts/example.net/subdomains/scf/httpdocs/includes/common.inc on line 1730.
This wouldn't seem to be related to the framework, or Drupal.
Something about the :/tmp usage or maybe the subdomains I would guess:
subdomains/scf/httpdocs:/tmp
subdomains/scf/httpdocs/includes
http://www.sixapart.com/movabletype/kb/dynamic/open_basedir_re.html
This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your Movable Type installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").
The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.
And, from a long thread about another PHP system:
open_basedir restriction in effect
Is a host limitation when it comes to including php scripts.
Actually I think I have worked out your issue, your login script and forums are on different domains. The login script is at
http://kodakumi.co.uk/test/login-test.php
and the forum is at
That will not work, it would be like my forum trying to include files from phpBB.com to work rather than using files in its own web root. That is why you are getting the open_basedir error, it is a security thing to stop your files being included from other places other than inside your domain :)
http://www.ktuk.net/phpBB3/viewtopic.php?f=32&t=2414&st=0&sk=t&sd=a&start=45#p120795
See also:
http://www.mydigitallife.info/2007/03/15/php-scripts-open_basedir-restriction-in-effect-error/
Comments
Post new comment