Load the model before manually instantiating: loadModel('FileHandler');
$FileHandler =& new FileHandler(); BTW, there's no such thing as CakePHP 1.1.14, yet :) -MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -----Mensaje original----- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Scott Sharkey Enviado el: Viernes, 23 de Febrero de 2007 06:18 p.m. Para: cake-php@googlegroups.com Asunto: Problems with FileHandler between 1.1.5 and 1.1.12? I've been using the FileHandler class for uploading, and it seems to be working fine in versions of cake up to about 1.1.7. But when trying to use the same code under 1.1.12 (and probably 1.1.14) it's telling me Fatal error: Cannot instantiate non-existent class: filehandler in /home/websvr/realconst/dev/app/controllers/admin_controller.php on line 36 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---