Hi all, I'm doing some tests to setup the core for a new application using cakephp 1.2.5 and I'm having a weird problem with admin routing. I've installed cakephp following the instructions for an advanced installation - http://book.cakephp.org/view/35/Advanced-Installation -. I've created 2 controllers for testing which do not use models. I've setup cake to use admin routing (core.php - Configure::write ('Routing.admin', 'admin')) and created an admin method in my users controller called admin_set. Now, if I try to access the method typing http://admin.assicurazione.ksubuntu/admin/users/set I get an 404 error page. If I try to access the method typing http://admin.assicurazione.ksubuntu/users/admin_set I get a cake error page with this message "Private Method in UsersController Error: UsersController::admin_set() cannot be accessed directly."
A fanny thing is that I had the same error 2 days ago. Because I couldn't fix it I've reinstalled cake and after that everything was working correctly. Today, without having changed anything it's not working again. I don't understard what is going on. I hope someone could give me an help. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
