Wednesday, March 3, 2010

Re: Get table missing error yet table exists - after porting from dev to production

Hi anl,

I checked with a couple of controllers without a table with $useTable
= false in place on the model and they load up fine..

its just when it tries to access anything with the database, its
difficult to check else where as the authentication i've put in place
prevents me from access the rest of the site until i've logged in ;-)

Any ideas?

i thought at first it was the permissions on the postgress database
for the particular user i'm using but it states all privledges been
given... its very strange,

Chris

On Mar 3, 5:36 pm, anl hp <anle...@gmail.com> wrote:
> start checking if any of your models do not use a database table?
>
> --
> anl
>
> On Wed, Mar 3, 2010 at 6:31 PM, Bailey <baileys...@gmail.com> wrote:
> > Hi everyone,
>
> > I've finished my cake site in a dev local environment and now i'm
> > trying to move it across to the production web server with is
> > commercial host, theres no ssh so i'm doing everything through sftp.
>
> > I moved my app folder across and cake folder across behind the
> > webroot, set up the paths in the index.php in the public html
>
> > (for ref my public html dir is outside the app folder)
>
> > Yet when i go to the web address it states:
>
> > Missing Database Table
> > Error: Database table tables for model table was not found.
>
> > I've set up the database exactly the same way from dev, in fact its
> > just a database dump with some tweaks.
>
> > It's reconising the correct controller to load up first but it cant
> > find the table for it, yet the table exists in the db and the db
> > connection is connecting to it.
>
> > Can anyone understand why this might be happening?
>
> > Appreciate your help!
> > Chris
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > 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+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: