You have installed Cake in a directory that is not allowed by your php
configuration.

http://www.php.net/manual/en/features.safe-mode.php

Look in your php.ini (possibly in /etc/) for the directive to change
the allowed directories. (But I am not sure Cake works that well under
"safe mode" even in an allowed directory.)

I guess your path is a symlink at some point?
~/workspace/www/blog/cake/console would normally be
/home/usename/workspace/www/blog... but according to php it is
/opt/lampp/htdocs/blog...

/Martin


On Apr 22, 12:10 pm, Cepheus <[email protected]> wrote:
> Hey everyone,
>
> I've installed cakephp by checking out the SVN repository. When I try
> to run the cake console, I receive the following output:
>
> [cep...@cephah-laptop ~/workspace/www/blog/cake/console]$ ./cake
>
> Warning: require_once(): open_basedir restriction in effect. File(/opt/
> lampp/htdocs/blog/cake/basics.php) is not within the allowed path(s):
> (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /opt/lampp/htdocs/blog/
> cake/console/cake.php on line 155
>
> Warning: require_once(/opt/lampp/htdocs/blog/cake/basics.php): failed
> to open stream: Operation not permitted in /opt/lampp/htdocs/blog/cake/
> console/cake.php on line 155
>
> Fatal error: require_once(): Failed opening required '/opt/lampp/
> htdocs/blog/cake/basics.php' (include_path='.:/usr/share/pear') in /
> opt/lampp/htdocs/blog/cake/console/cake.php on line 155
> [cep...@cephah-laptop ~/workspace/www/blog/cake/console]$
>
> I've tried looking around the web but I haven't found anything that
> worked. Does anyone know what I need to do to rectify this problem?
>
> Thanks in advance,
> Michael.
--~--~---------~--~----~------------~-------~--~----~
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