When you move your app from a place to another, don't forget to empty the /app/tmp subfolders (cache models, persistent)
On 28 fév, 16:27, "Robson" <[EMAIL PROTECTED]> wrote: > i keep getting message on my production server, but it works ok on > developemnt > > Missing Model > > No class found for the Image model > > Notice: If you want to customize this error message, create app/views/ > errors/missing_model.thtml. > > Fatal: Create the class below in file : app/models/image.php > > Image Model : > > <?php > class Image extends AppModel { > var $name = 'Image'; > var $belongsTo=array('Project');} > > ?> > > Images controller > > <?php > > uses ("Sanitize"); > class ImagesController extends AppController > { > var $scaffold; > var $name="Images"; > var $uses=array("Image"); > > } > > ?> > > All works well on my localhost thou.... > > Localhost server: > -------------------------------- > Apache version :Apache/2.0.59 (Win32) > > PHP version :5.2.0 > > Loaded extensions : > bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, > iconv, json, odbc, pcre, Reflection, date, libxml, standard, > tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, > apache2handler, mbstring, mysql, mysqli, PDO, pdo_sqlite, SQLite > > MySQL version :5.0.27-community-nt > ------------------------------- > > My production server: > ---------------------------------------- > > Apache 1.3.37 (Unix) > PHP 5.2.0 > MySQL 4.1.21-standard > > ------------------------------------------ > > I use cake ver: 1.1.13.4450 > > If any1 got any ideas please share with me ;] > > Thanks in advance > Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---