tags:

views:

50

answers:

3

while I run the cake php application? Fatal error: Class 'Router' not found in C:\wamp\www\tickerping\app\config\routes.php on line 34 how to solve this

A: 

This can happen due to class caching. Clear the cache (everything in /tmp/cache).

webbiedave
I done this too, But the result is same
maheswaran
any other suggestions
maheswaran
Try clearing the entire `tmp` directory.
webbiedave
A: 

Make sure the file C:\wamp\www\tickerping\cake\libs\router.php exists. This is the file for the Router class. If so, I would recommend posting your index.php file so we can see what your path variables are set too.

jostster
A: 

Have you ever had Cake running on that server?

Check that mod_rewrite is installed/enabled. You can do this by making a file called phpinfo.php in your webroot containing the line <?php echo phpinfo.php ?>. Navigate to that page in the browser and search for 'rewrite'.

Leo