team finally added there support for open_basedir, but not safe_mode
one.
On Mar 31, 8:10 pm, almasty <m...@shanemcgovern.com> wrote:
> The set-up I had was to have the shared cake libraries in
>
> /usr/local/cake_1.2.2.8120
>
> I had my app folder in
>
> /var/www/vhosts/mydomain.com/app
>
> and my webroot in
>
> /var/www/vhosts/mydomain.com/httpdocs
>
> The user was mydomain:psacln
>
> I found the `problem` was with the chmod permission in /usr/local/
> cake_1.2.2.8120. If I ran
>
> chmod -R mydomain:psacln /usr/local/cake_1.2.2.8120
>
> The problem went away, or I found I could also just turn off
> safe_mode.
>
> However, what I want is to have safe_mode on and allow every site on
> my server to have access to the shared cake lib. I cannot find the
> correct combination
> of permissions to do that. I've used ZEND and a few other frameworks
> without trouble just by adding the shared paths to
> safe_mode_include_dir but CakePHP just doesn't like that.
>
> Help?
>
> On Mar 28, 2:07 pm, almasty <m...@shanemcgovern.com> wrote:
>
> > Hi
>
> > I'm getting this error
>
> > Fatal error: Class 'Dispatcher' not found in /var/www/vhosts/
> > shakethembones.com/httpdocs/index.php on line 87
>
> > I've done a search on google and can find a couple of post about
> > getting this error but no solutions
>
> > I have just installed
>
> > I've used the instructions here
>
> >http://book.cakephp.org/view/308/Installing-CakePHPunder`Advanced
> > Setup: Alternative Installation Options`. I have the tmp dir with 777,
> > and my include paths, openbase dir etc in a vhost file contain the
> > cake lib, app and webroot just to take them off the radar in terms of
> > permissions.
>
> > Line 87 is a call to the Dispatcher class, which I guess is not
> > included as expected.
>
> > Can anyone point me in the right direction for an answer?
>
> > Al
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment