Problem with CakePHP 2.2.1 and Themes/Plugins
Reported by Jamieson Rhyne | July 29th, 2012 @ 07:11 AM | in 1.4.3 (closed)
The following needs to be added to the app/Config/bootstrap.php file, to support version 2.2.1 of CakePHP. If you do not, this causes Themes and Plugins not to properly resolve their paths. https://groups.google.com/forum/?fromgroups#!topic/croogo/YXZgGq0X8fI
// Enable the Dispatcher filters for plugin assets, and // CacheHelper. Configure::write('Dispatcher.filters', array(
'AssetDispatcher',
'CacheDispatcher'
));
// Add logging configuration. CakeLog::config('debug', array(
'engine' => 'FileLog',
'types' => array('notice', 'info', 'debug'),
'file' => 'debug',
)); CakeLog::config('error', array(
'engine' => 'FileLog',
'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
'file' => 'error',
));
Comments and changes to this ticket
-

Rachman Chavik July 29th, 2012 @ 03:09 PM
Thanks,
At this point, > 1.4.2 is targeted on cakephp 2.1.x. However, I will probably include this in 1.4.3 later.
Note that a similar patch has already been applied in 1.5 branch that is under heavy development.
-

Rachman Chavik July 29th, 2012 @ 03:11 PM
- Milestone set to 1.4.3
- Milestone order changed from 123 to 0
-

Jamieson Rhyne July 29th, 2012 @ 08:17 PM
I'm creating a production website. Are there any other known compatibility issues? Should I downgrade my cakephp?
-

Rachman Chavik July 30th, 2012 @ 06:10 PM
Jamieson,
Not to my knowledge. You just need to make sure that items listed in the 2.2 CakePHP migration guide are updated accordingly
-

Rachman Chavik August 11th, 2012 @ 12:26 PM
- State changed from new to resolved
- Assigned user set to Rachman Chavik
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »