You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CakePHP Bleeding Edge
Hello,
I was wondering why I got all the warnings and the cake_core_path
cache were containing only Array.
I just start a blank app and this one does not have problem.
After investigating I found out the problem, in my core.php I have 3
cache configuration, and the last definition has got "serialize" =>
false.
This was the problem, in __loadBootstrap the cache::setting is called
and merge to build the '_cake_core' configuration.
Because my last configuration had the serialize => false, my
_cake_core inherit of this serialize => false, this explain the
content of my cached cake_core_path file.
The solution was to move this particular cache definition at first
place, the last one having the serialize => true and then it's ok.
I also have the Auth component now complaining about the User model is
not found. I will keep searching.
francky06l
unread,
Nov 20, 2007, 2:16:20 PM11/20/07
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CakePHP Bleeding Edge
I found the solution for the User model, in db_acl.php line 130 :
this :if (!App::import($name)) {
should be : if (!App::import('model', $name)) {
when modifying this, everything seems fine (I haven't tested
everything yet)...