Open demianturner opened 11 years ago
[jsheth] Oops - I think I made a mistake here in my original description. For whatever reason, the installer did not create these files (unless I failed to check the correct option during installation).
[jsheth] I get the following error when I try to log in:
DB_DataObject Error: Unable to load schema for database and table (turn debugging up to 5 for full error message)
[jsheth] Workaround (Thanks to AJ):
Copy Module.php from an existing entities dir into the entities dir first
Disable authorization in var/
Click on 'rebuild dataobjects'.
I am not sure why the installer did not do this ... ?!
[demian] hiya jsheth
you need to point out that you're using pgsql, not many users are and they don't get this prob. i just installed pg recently, not sure if i will get time to look into it, but i can guarantee prob will be a constraint failure, therefore sql loading failure, therefore db_dataobject loading failure. let me know if you find the particulars.
[jsheth] Hi owner/Demian,
Yes this occurs on PostgreSQL. Sorry, I should have mentioned that. I will investigate this problem, and try to find out which constraint is failing, and how to fix it. Thanks for categorizing it.
My other (redone) patches for 0.4.8 are on the way. I will open tickets as necessary for each bug fix and corressponding patches.
If you check out the 0.4.x stable branch from SVN, the var/cache/entities/ directory is empty. This prevents the user from logging in, and Seagull fails with the error that says Login.php could not be found.
Solution: pre-populate and check in these missing files, which are generated by DB_DataObject.