#6484: Fatal error: Cannot redeclare config() cakephp
    Reporter:  typeoneerror   |         Owner:           
        Type:  Bug            |        Status:  new      
    Priority:  High           |     Milestone:  1.2.x.x  
   Component:  Config         |       Version:  1.2 Final
    Severity:  Critical       |    Resolution:           
    Keywords:  Config errors  |   Php_version:  PHP 5    
Cake_version:     |  
Comment (by typeoneerror):

 I created a sample setup that recreates the error, but it's too big to
 upload. Steps to recreate:

 - Download[[BR]]
 - Add app_controller.php

 class AppController extends Controller


 - Add IndexController

 class IndexController extends AppController


 - Add default template (/app/views/layouts/default.ctp)[[BR]]
 - Point webroot to /app/webroot (or don't; error effects bootstrapped app
 as well)[[BR]]

 - Should show the main page if you go to the webroot in a browser (so if
 you create a vhost like "http://myapp.dev";, should work fine)[[BR]]

 - Add /index to see the error ("http://myapp.dev/index"; fails with Fatal

Ticket URL: <https://trac.cakephp.org/ticket/6484#comment:2>
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 
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 
For more options, visit this group at 

Reply via email to