I saw this tiny detail that looks odd:
"Error: Database table fams s for model Fams was not found."

Somewhere you are referencing a Model called "Fams" which tries to
load a table calles "fams s". That is the missing table. Check
everywhere for any reference to Fams at all, one of them should
probably be Fam instead. Or have you found some new bug in Scaffold?

I am still with brian on the constant thing. That error has always
meant I forgot to quote a string.



On Aug 9, 10:57 pm, JuanWalker <juanwal...@gmail.com> wrote:
> Has anyone solved this I can't find the solution and the problem is
> not with quotes
>
> On 21 jul, 11:24, brian <bally.z...@gmail.com> wrote:
>
>
>
> > What sort of quotes do you have in 'Fams'? There's an 'undefined
> > constant' error there, suggesting your quotes aren't correct. Perhaps
> > they're the "fancy" kind? Don't edit scripts with anything that
> > outputs those.
>
> > On Tue, Jul 21, 2009 at 5:58 AM, biancmb<mauro.bertolo...@gmail.com> wrote:
>
> > > Guys, I am trying hard to make CakePHP work.
> > > I have followed all instructions. Official docs and other guides.
> > > The cake page renders fine. Triple-checked models and controllers,
> > > config files, etc.
> > > Still getting the "missingtable.." message.
> > > Already tried to delete the ceche files, etc.
> > > What is left to do?
> > > Am Imissinganything?
> > > The web seems to be inundated by people like me, all getting the same
> > > error message.
> > > I'd love to work with cakePHP, I believe it's a valid alternative to
> > > RoR and plain PHP, which I have been using for a while.
> > > I am comfortable with sysadmin, apache, mysql, linux, windows, php,
> > > etc.
>
> > > I am now using XAMPP on WindowsXP. But I get the same message under
> > > easyphp.
> > > I will try on my linuxbox at home as soon as I get the chance.
> > > -------- output ofhttp://localhost/prod/
> > >  Your tmp directory is writable.
>
> > > The FileEngine is being used for caching. To change the config edit
> > > APP/config/core.php
>
> > > Yourdatabaseconfiguration file is present.
>
> > > Cake is able to connect to thedatabase.
>
> > > -------- output ofhttp://localhost/prod/fams
> > > Notice (8): Use of undefined constant Fams - assumed ' Fams ' [CORE
> > > \cake\dispatcher.php, line 453]
>
> > >MissingDatabaseTable
>
> > > Error:Databasetablefams s for model Fams was not found.
>
> > > Notice: If you want to customize this error message, create app\views
> > > \errors\missing_table.ctp
>
> > > --------controller   fams_controller.php
> > > <?php
> > > class FamsController extends AppController {
> > > var $name = ‘Fams’;
> > > var $scaffold;
> > > }
> > > ?>
>
> > > ---------model    fam.php
> > > <?php
> > > class Fam extends AppModel {
> > > var $name = ‘Fam’;
> > > }
> > > ?>
> > > --------------------
> > > Note the DB contains atablenamed "fams"
>
> > > What is wrong?
--~--~---------~--~----~------------~-------~--~----~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to