On 24/04/06, nate <[EMAIL PROTECTED]> wrote:
>
> The model class should be "Microsite", not "microsite". See here:
> http://manual.cakephp.org/pages/apb
>
> If it still doesn't work, there's probably a problem with your database
> connection, since it looks like Cake is unable to get the list of
> database tables.
I've traced to problem through to
cake/libs/model/dbo/dbo_postgres.php
(with Patrick Li's help)
there's a line:
$sql = "SELECT table_name as name FROM information_schema.tables
WHERE table_schema = 'public';";
and when none are found, the function returns null;
I changed that to return an empty array, so as not to create php array
errors anymore.
And then... i dropped my database, and gave my cake postgresql user
permission to create databases, recreated the database, and then
revoked the permissions from the cake user..
that still leaves the cake user with more permissions than you'd want
a web application to have, but it gets past all them errors for now.
(i'm paranoid)
now, back to "rapid" development...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---