Tuesday, August 16, 2011

Re: Missing Database Table

Did you correct database name in database.php ? Cake says "table not
found" also in case of not found database.

On 15 авг, 18:47, culp <alan.culp...@googlemail.com> wrote:
> Hello, I'm new to cake so please bear with me here.
>
> I've set up an application locally, tested it and all runs fine.  I've
> uploaded it to a remote production server and, with exactly the same
> settings I'm getting the following error message
>
> Missing Database Table
>
> Error: Database table shipments for model Shipment was not found.
>
> Troubleshooting so far:-
>
> I've checked through phpmyadmin and the table does exist.
>
> I've cross checked core.php and phpmyadmin and the database names do
> match
>
> I've emptied the tmp/cache directories on the remote server.
>
> I've uncommented the line "Configure::write('Cache.disable', true);"
> in core.php
>
> Configure::write('debug', 3); on the remote site.
>
> Stilll having the same error messages.
>
> Possible theories:-
>
> The database name is "gacworld_shipments" the table name is
> "shipments" on the remote server, is the similar name causing a clash?
> My local version that works has a database named gacworldwide.
>
> On my local version I'm using the root mysql user, on the remote
> version I'm not, is it some sort of user priviledge problem?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate