On Tue, Jun 24, 2008 at 4:37 PM, Sanfly <[EMAIL PROTECTED]> wrote: > > So i quickly changed the debug mode on my live website to '2' (Silly I > know, but I dont know how to display debug info on one page when the > site is set to '0', if anyone can tell me would appreciate), tried > again, copied the debug info, which didnt show any errors. > > Then when I did the refresh, It appeared that it had worked!! I > checked the database, and indeed it had been updated!!! > > But when I flicked the debug mode back to '0' it no longer works > again!!!! arrrrggghhhh. > > Any ideas what is going on here? How can I diagnose the problem if > there isnt one when its in full debug mode?
Any time you go from debug '0' to another debug setting, make sure that you delete stuff in APP/tmp before you switch back. The fact that the code works when debug = 2 means that it will work just fine when debug = 0. It's probably crashing because you have cached model and other information in APP/tmp. Always good practice to delete stuff in APP/tmp every time you put a change into production as well. Just my opinion. -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
