Seagull: Unable to load schema for database and table

I just copied a Seagull project I created a while back to a new development server to do some testing. Copying the www.mydomain.conf.php to localhost.conf.php and changing the database settings to connect to my local database resulted in this when trying to log in:

DataObjects_Usr: ERROR: Unable to load schema for database and table (turn debugging up to 5 for full error message) DB_DataObject Error: Unable to load schema for database and table (turn debugging up to 5 for full error message)

Well, turns out it was my the problem was that I had renamed my database. The entities files created by Seagull requires the database to have the same name as it originally had.

So, renaming my local database to have the same name as the production site fixed everything. Just thought I’d throw it out here in case someone experiences the same problem and does a quick google ;-)

2 Comments
  1. Hi Demian :-)

    Yeah, I understand that this comes from the generated dataobjects.

    Thanks for that tip! IMHO, it’s easier just to have the development/production environment as similar as possible though – something I always try to have .. this was just a slip ;-)

Leave a Reply