Hi Louie,

> <?php
> App::import('Sanitize');
> class CatalogsController extends AppController
> {
>
> *Fatal error*: Class 'App' not found in *
>
> > /Volumes/Web/Www/adminpage2/app/controllers/catalogs_controller.php* on
> > line *2*
>
> Its weird. I think this is the proper way of instantiating the App::import.
> However, I got the error -> Class 'App' not found? hehe.
>
> Any ideas? Do I have to clear my cache again? or check the import path?
> anyway, I am going to check again.

Try App::import('Core', 'Sanitize');

Hope that helps!

--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to