@Daniel > *Fatal error*: Class 'App' not found in *
That means there is not such class... so changing parameters would make no difference. @Louie: Are you using Cake 1.2? If yes, then it is a very old one... If not, App::import() is for Cake 1.2 Regards, - Dardo Sordi. On Tue, Nov 18, 2008 at 7:33 AM, Daniel Hofstetter <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---