Hi,

1. Whenever I open an admin URL, such as /admin/videos, I get the following
warning:

2007-11-27 23:28:18 Warning: Warning (2):
fopen(C:\...\tmp\cache\persistent\cake_core_object_map) [
http://php.net/function.fopen function.fopen ]: failed to open stream:
Permission denied in [CORE\cake\libs\file.php, line 144]

This doesn't appear to happen with non-admin routes.

2. When accessing my add URL, /admin/videos/add, it seems
Auth::isAuthorised() is being called 3 times, twice with an unknown action
(admin_img):

2007-11-27 23:34:07 Debug: Group ID: 4
2007-11-27 23:34:07 Debug: ACO alias: Videos/admin_add
2007-11-27 23:34:10 Debug: Group ID: 4
2007-11-27 23:34:10 Debug: ACO alias: Videos/admin_img
2007-11-27 23:34:10 Debug: Group ID: 4
2007-11-27 23:34:10 Debug: ACO alias: Videos/admin_img

(Group ID = the ARO)

3. (far less important) Am I supposed to be able to access
$this->params['controller'] in beforeFilter() for an admin route? Seems to
work for other routes, but with admin routes it can't find the 'controller'
array index. Perhaps related to #2 above.

Please help.

Glen.
-- 
View this message in context: 
http://www.nabble.com/Big-problems-with-admin-routing-and-Auth-ACL-tf4884616.html#a13980501
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to