Saturday, March 28, 2009

Re: New Install - Where is the Dispatch

Some basic question:

Have you configured ROOT (must point to cake folder, if default setup
is not used) properly on webroot/index.php?

look for something like
//define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS
LOCATED. DO NOT ADD A TRAILING DIRECTORY SEPARATOR');

or

define('ROOT', dirname(dirname(dirname(__FILE__))));

Try deleting files on tmp/cache/persistent

Saludos,

Pablo Viojo
pviojo@gmail.com
http://pviojo.net
(#260 y creciendo!)

------------------------------------------------------------
Ayudar nos hace felices!
http://needish.com - http://helperman.org


On Sat, Mar 28, 2009 at 2:07 PM, almasty <me@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-CakePHP under `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: