Closed ghost closed 12 years ago
Following is from error.log under tmp folder
Error: [MissingActionException] Action UsersController::profile() could not be found.
Fixed in 3.1.1
This problem still persist. The situation is, I login to the the forum, when the next link I click after the page loads is either "Profile" or "Dashboard", it throws the above error.
Sorry I can't reproduce this. This exact error is a Cake error, not really the plugins fault.
sounds like a class conflict. do you have another class (controller) called exactly the same? you are only allowed to have a single class with this name in your whole app. otherwise you create a conflict which would result in pretty much the same issue you are describing (after a few page refreshs in debug mode the cache will renew itself - hence the correct class would be loaded at this point)
And that is why I wish Cake 2.0 used namespaces :P
fortunately we only need to wait another few months - 3.0 will be awesome :)
Yeah, gonna be a major upgrade pain however.
Well, I am gonna provide the automagic for it - as usual :)
Oh yeah! I had the same controller name on my app/Controller. Thanks dereuromark!
Error: The action dashboard is not defined in controller UsersController
Error: Create UsersController::dashboard() in file: app/Controller/UsersController.php. <?php class UsersController extends AppController { public function dashboard() { } }
As soon as user logs into forum, when he clicks on profile or dashboard hyperlink it gives out this error. After couple of page refresh it works fine. Not sure what the problem is.