Re: troubles with cake_1.1.13.4450
Great ! it works! to work on my Category Model, I need to type now : loadModel('Category'); $r = new Category; $b = $r-findAll(); the rests classes are loaded directly. Thaxs so much ! --- Dan On 1 mar, 20:41, Mariano Iglesias [EMAIL PROTECTED] wrote: You need to provide us with more information than that for us to understand your problem. If it is working on 1.1.8 it is most likely because you are doing: $model = new Model() When in 1.1.13 you should be doing: loadModel('Model'); $model = new Model(); -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 [EMAIL PROTECTED] Enviado el: Jueves, 01 de Marzo de 2007 07:41 p.m. Para: Cake PHP Asunto: Re: troubles with cake_1.1.13.4450 No,, sorry No case. the cakephp frwk cant load my model. Its curious coz in version 1.1.8 its works perfectly. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: troubles with cake_1.1.13.4450
Hi Dan I cant load one of my class, i think the load modules is more strict but not understand my errror Fatal Error - Cant Load `Category` Class Model etc ect I would start by checking the class names of controller and model, if I have an error like that, it is usually my fault and caused by a mistake in class names that I have made. Also if you are using Ant or similar to build the project to a test server, then you may have duplicate files if a file name has changed. Just a couple of thoughts for you. Regards, Langdon --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: troubles with cake_1.1.13.4450
No,, sorry No case. the cakephp frwk cant load my model. Its curious coz in version 1.1.8 its works perfectly. --- Dan On 1 mar, 17:59, Langdon Stevenson [EMAIL PROTECTED] wrote: Hi Dan I cant load one of my class, i think the load modules is more strict but not understand my errror Fatal Error - Cant Load `Category` Class Model etc ect I would start by checking the class names of controller and model, if I have an error like that, it is usually my fault and caused by a mistake in class names that I have made. Also if you are using Ant or similar to build the project to a test server, then you may have duplicate files if a file name has changed. Just a couple of thoughts for you. Regards, Langdon --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
RE: troubles with cake_1.1.13.4450
You need to provide us with more information than that for us to understand your problem. If it is working on 1.1.8 it is most likely because you are doing: $model = new Model() When in 1.1.13 you should be doing: loadModel('Model'); $model = new Model(); -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 [EMAIL PROTECTED] Enviado el: Jueves, 01 de Marzo de 2007 07:41 p.m. Para: Cake PHP Asunto: Re: troubles with cake_1.1.13.4450 No,, sorry No case. the cakephp frwk cant load my model. Its curious coz in version 1.1.8 its works perfectly. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---