Monday, September 29, 2008

Re: Fatal error: Class 'Dispatcher' not found - please help

i still have problem witch home.pl fucking shit

http://www.aeonmedia.eu/
http://www.aeonmedia.eu/aeonmedia

i have this rools
if (strpos('aeonmedia.eu', $_SERVER['SERVER_NAME']) !== false) {
ini_set('include_path', '/aeonmedia/..:/aeonmedia:.');
define('APP_PATH', '/aeonmedia');
define('CORE_PATH', '/');
}


On 27 Wrz, 22:12, "3lancer.eu" <kilc...@gmail.com> wrote:
> Oh, got it kind of working, the workaround was quite strange however:
>
> //this must be set on home.pl
> if (strpos('example.com', $_SERVER['SERVER_NAME']) !== false) {
>         ini_set('include_path', '/app/..:/app:.');
>         define('APP_PATH', '/app');
>         define('CORE_PATH', '/');
>
> }
>
> around line 77 in app/webroot/index.php. Maybe that will save someone
> hours of debugging.
>
> The strpos check is there only to allow running dev version on a
> separate domain where cake works fine...
>
> Regards,
> Piotr
--~--~---------~--~----~------------~-------~--~----~
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: