Quantcast

Problem with DEBUG set to 1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Problem with DEBUG set to 1

Shalanga

Hello Bakers, i have problem in creating a new user.

I have no ideia, so i came here to ask for help.

When i create a new user, i create new rows in others table base on the
last index of the new user...

the problem is that it work FINE when debug is set to 1 (development),
when i set to 0 (production) the user is created (with some NULL fields
instead of string) and the other table are not!

Can someone tell me what could be?
Nothing more was done, i ONLY set DEBUG to 0...

Thank you all.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problem with DEBUG set to 1

Chris Hartjes

On 12/4/06, Ismael S. Kafeltz <[hidden email]> wrote:
>
>
> Can someone tell me what could be?
> Nothing more was done, i ONLY set DEBUG to 0...
>
> Thank you all.

I would suggest you go into the /tmp/cache directory in your Cake
application and delete whatever you find there.  DEBUG 0 causes Cake
to cache a lot things, and this can cause problems if you switch
between DEBUG 0 and DEBUG 1 while developing.

Personally, I do all my development work with DEBUG set to 1.

--
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Loading...