bossanova808 / CommerceRegisterOnCheckout

ARCHIVED: SEE README Allow user registration during Craft Commerce V1 checkouts.
Other
33 stars 3 forks source link

Error after plugin install #2

Closed 8cylinder closed 7 years ago

8cylinder commented 7 years ago

This plugin looks like exactly what I need, but I've run into an error.

After installing the plugin but before any code has been added to the templates, this error happens when going through the checkout process on a fresh install of Craft Commerce (version 2.6.2959).

CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'craft.craft_commerceregisteroncheckout' doesn't exist. The SQL statement executed was: select * from craft_commerceregisteroncheckout where orderNumber='df410f931c1af96c06f88b3342146300'

This is on the shop/checkout/payment page.

Should I manually create the table it's asking for?

bossanova808 commented 7 years ago

Yeah that is my bad. I moved some code into a migration to change a table, when I changed how this works, but I appear to have forgotten to put the bit in that installs the table - sorry!

I'll do a fix now. You'll need to grab the new version (once I close this) - and then uninstall and re-install it to trigger the table creation.

bossanova808 commented 7 years ago

Hey

If you grab master from https://github.com/bossanova808/CommerceRegisterOnCheckout - can you give that a try? It's a bit awkward for me to test it right now but it should be fine. Let me know then i can push it out properly.

8cylinder commented 7 years ago

Thanks, that fixed it!
The table gets created when installing.