Friday, June 22, 2012

Model cache problem in cakephp.


Hi friends,
I struggled with this issue once, when i worked with cakephp.
we did some changes in model like added the new coloumn in a table and added a new table in database,
and uploaded the code to live server.

But when we checked the site , there were no difference to earliar version.

Everything worked fine, except that the changes in model and database did not reflect.

After a long searching i found the solution :

I deleted the cache folder in /app/tmp/cache/models .

There is another way
--First change the debug level to 3 in your core.php file.
--Reload your application in browser.
--Change the debug level back to 0.

That’s it.

No comments:

Post a Comment