Iluvatar+ Posted February 21, 2012 Share Posted February 21, 2012 I am using cakephp to develop a csm. I have a user controller with a edit profile action. The function it self works fine and it updates the database but when it returns to the view that displays the profile content from the db it shows only the out-dated data. Has anyone ran into this problem before? Quote Link to comment https://forums.phpfreaks.com/topic/257450-database-updated-but-not-showing-up-in-my-views/ Share on other sites More sharing options...
trq Posted February 21, 2012 Share Posted February 21, 2012 Post some relevant code. Quote Link to comment https://forums.phpfreaks.com/topic/257450-database-updated-but-not-showing-up-in-my-views/#findComment-1319508 Share on other sites More sharing options...
Iluvatar+ Posted February 21, 2012 Author Share Posted February 21, 2012 It's ok now i have found a solution. I just reloaded the Auth component data in my controller action Quote Link to comment https://forums.phpfreaks.com/topic/257450-database-updated-but-not-showing-up-in-my-views/#findComment-1319511 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.