#6484: Fatal error: Cannot redeclare config() cakephp ------------------------------+--------------------------------------------- Reporter: typeoneerror | Owner: Type: Bug | Status: closed Priority: High | Milestone: 1.2.x.x Component: Config | Version: 1.2 Final Severity: Critical | Resolution: needmoreinfo Keywords: Config errors | Php_version: PHP 5 Cake_version: 1.2.3.8166 | ------------------------------+--------------------------------------------- Changes (by jperras):
* status: new => closed * resolution: => needmoreinfo Comment: A few things: 1. Your controller does not follow convention; it should be pluralized. 2. Considering that 'index' is usually used as a controller action, using it as a Controller name is not the best idea. 3. Your example IndexController contains no actions, which will produce an error anyways, since the Dispatcher will automatically use the 'index' action of your controller if your route does not specify an action. [[BR]] [[BR]] Does this error occur if your controller is not named 'IndexController' ? -- Ticket URL: <https://trac.cakephp.org/ticket/6484#comment:3> CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/> Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tickets cakephp" group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---