简体   繁体   中英

cake php router

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

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.

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'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM