Discussion:
Class 'Router' not found Error
avanrotciv
2010-09-22 11:07:52 UTC
Permalink
Hi,

I'm getting this error, when trying to run a fresh copy of cakephp:

Fatal error: Class 'Router' not found in ./cake/dispatcher.php on line
264

I just copy and paste the code version 1.3.4 from github, didn't to
any modification.

Any clues?

Thanks

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 cake-php-/***@public.gmane.org
To unsubscribe from this group, send email to
cake-php+unsubscribe-/***@public.gmane.org For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
cricket
2010-09-23 17:51:01 UTC
Permalink
Post by avanrotciv
Hi,
Fatal error: Class 'Router' not found in ./cake/dispatcher.php on line
264
I just copy and paste the code version 1.3.4 from github, didn't to
any modification.
Did you just go from 1.2.x to 1.3.4? If so, you'll need to update
app/webroot/index.php and app/config/core.php. See the migration
guide:

http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3

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 cake-php-/***@public.gmane.org
To unsubscribe from this group, send email to
cake-php+unsubscribe-/***@public.gmane.org For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Ray
2010-09-29 20:56:00 UTC
Permalink
i'm currently having the same issue... this is from a fresh version of
1.3.4 on php 5.2.1
Post by cricket
Hi,
Fatal error:Class'Router' not found in ./cake/dispatcher.php on line
264
I just copy and paste the code version 1.3.4 from github, didn't to
any modification.
Did you just go from 1.2.x to 1.3.4? If so, you'll need to update
app/webroot/index.php and app/config/core.php. See the migration
http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3
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 cake-php-/***@public.gmane.org
To unsubscribe from this group, send email to
cake-php+unsubscribe-/***@public.gmane.org For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Ray
2010-09-29 22:53:12 UTC
Permalink
I don't think that's it. I'm having the same problem with a new
installation of 1.3. This is with php 5.2.1 if that helps any.
Post by cricket
Did you just go from 1.2.x to 1.3.4? If so, you'll need to update
app/webroot/index.php and app/config/core.php. See the migration
http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3
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 cake-php-/***@public.gmane.org
To unsubscribe from this group, send email to
cake-php+unsubscribe-/***@public.gmane.org For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Loading...