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
2010-09-08 15:59:36
I done this too, But the result is same
maheswaran
2010-09-08 18:25:55
any other suggestions
maheswaran
2010-09-08 18:26:12
Try clearing the entire `tmp` directory.
webbiedave
2010-09-08 18:31:29
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
2010-09-08 20:20:47
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
2010-09-09 10:29:12