Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support other schemas than InnoDB #11

Closed
kirbysayshi opened this issue Nov 8, 2011 · 3 comments
Closed

Support other schemas than InnoDB #11

kirbysayshi opened this issue Nov 8, 2011 · 3 comments

Comments

@kirbysayshi
Copy link

Just pulled the newest source, ran the sql file. Got the following error when I clicked the register button:

Uncaught fProgrammerException
-----------------------------
{doc_root}/tattle/user.php(41): fActiveRecord->__construct()
{doc_root}/tattle/inc/flourish/fActiveRecord.php(1115): User->configure()
{doc_root}/tattle/inc/classes/User.php(6): fORMRelated::setOrderBys(Object(User), 'Subscription', Array)
{doc_root}/tattle/inc/flourish/fORMRelated.php(1343): fORMSchema::getRouteName(Object(fSchema), 'users', 'subscriptions', NULL, '*-to-many')
{doc_root}/tattle/inc/flourish/fORMSchema.php(181)
The table users is not in a *-to-many relationship with the table subscriptions

My DB is forced to use MyISAM. I ran a previous build a few days ago, on MyISAM (different server) and that seemed to work just fine.

Is this a DB issue or a code issue related to registration?

EDIT:

Looking at the Flourish docs, it seems like it wants InnoDB regardless, but will function on MyISAM... but sounds like the programmer has to do more work. I'm very unfamiliar with Flourish.

@chrisdotm
Copy link
Contributor

This is a limitations with the ORM in flourish lib. http://flourishlib.com/docs/OrmConventions#MySQLStorageEngine

@kirbysayshi
Copy link
Author

Thanks!

I was just reading that as well. I think when we have some scheduled downtime I'll be enabling InnoDB.

Flourish looks pretty cool, too... this is the first I've heard of it.

Thanks for your patience!

@draco2003
Copy link
Contributor

FYI, I just commited a change that should add support back for MyISAM tables.
I have a bunch of things going out at once and need to smooth things out with a couple more commits, but anytime after tonight, i'd grab the latest code and see how it works on your DB. Thanks for trying Tattle, and for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants