#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:  1.2.3.8166     |  
------------------------------+---------------------------------------------
Comment (by typeoneerror):

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

 - Download 1.2.3.8166[[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
 Error)[[BR]]

-- 
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 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to