Wednesday, March 13, 2013

Re: Error in productive Mode (Debug = 0): Class Security not found

Hi Euromark,

thanks for your answer.

> Do not use classes in your files without properly App::uses() them at the top of your classes

As you mention i put the following line in my Component:

  App::uses('Component', 'Controller', "Security", "Utility");

But also with this line in my component i get the "Security Class not found" error with debug < 1.

Its seems to be a problem with DebugKit. When i remove loading DebugKit in Bootstrap (remove CakePlugin::load('DebugKit'); ) i get the error in all debug modes....hmmm

Best regards,
  Kai.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: