Hi,

I'm attempting an advanced installation of Cake 1.3.2 on a linux
server and trying to get a global plugin directory working (i.e. I
want a plugins folder /project/plugins which is shared by all my cake
apps).

I am not sure what is supposed to go in the bootstrap file, I've tried
(after reading a few different sites):

$pluginPaths = array('/project/plugins/',);

and

App::build(array(
    'plugins' => array('/project/plugins/', '/var/www/vhosts/site.com/
app/plugins/')
));

Attempting the second method results in the following error messages:

Warning (2): file_exists() [function.file-exists]: open_basedir
restriction in effect. File(/project/plugins/) is not within the
allowed path(s): (/var/www/vhosts/site.com/httpdocs:/var/www/vhosts/
site.com/app:/usr/share/cake) [CORE/cake/libs/folder.php, line 111]

and

Warning (2): is_dir() [function.is-dir]: open_basedir restriction in
effect. File(/project/plugins/) is not within the allowed path(s): (/
var/www/vhosts/site.com/httpdocs:/var/www/vhosts/site.com/app:/usr/
share/cake) [CORE/cake/libs/folder.php, line 141]

Any guidance of the issue would be greatly appreciate

Regards

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to