-
Notifications
You must be signed in to change notification settings - Fork 60
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
MySQL said: Table 'db-name.craft_freeform_submissions_form-name' doesn't exist #1648
Comments
Sorry for the trouble you're experiencing, @mariuswestgaard. Are you noticing any other issues with Freeform? E.g. saving forms in the form builder, submitting the form on the front end, viewing and editing submissions in the control panel? Is it possible for you to send us the following (to [email protected]):
Thanks 🙂 |
@kjmartens, thanks for looking in to it! Yes, I'm experiencing issues with the form handles being changed (to camelCase, not keeping the old formatting), and I can't view the submissions. When I'm accessing the submissions page, I get the same error as the first one I described in the issue. Sorry, I can't send the database due to sensitive information, but let me know if I should send you some specifics from it, or send some more info about the database. |
@kjmartens |
@kjmartens II'm having this issue, but it's only if the submission form contains a number before the migration. As an example covid19 being the form name, and it's looking for freeform_submissions_covid_1_9_8, so seemingly splitting the numbers up incorrectly. The table the migration created was freeform_submissions_covid19_8, which is correct. |
Is this inside the form builder? And what is the formatting you're trying to use? Craft does have some limits to which characters are not allowed, such as
The correct format should be snake case... something like You mention you can't send the database, but would it be possible to just send the Freeform database tables at least? And if that is an issue as well, is it possible to send just the Freeform tables with the submission data cleared from the tables? That would at least give us an idea why/if the migration might have choked on your setup. 🙂 |
As ugly as it looks, the database tables use snake case, which means that it should be In the meantime, I will log the issue and we'll check into it. 🙂 |
No, the form handles was changed during the migration process. All our forms was using snake_case before the migration, but they came out of migration with camelCase handles, and changed table names as described in my last comment.
Yes, the tables and form handles was using snake case before the migration. I'll try to export the db without submissions, and remove all other tables than the freeform tables. I guess you want post-migration database? |
@mariuswestgaard I would prefer the pre-migration database to see what you started with, and if possible, the post-migration database as well. You can send that to [email protected]. 🙂 |
Okay, I'll check what I can do tomorrow. |
Thanks @mariuswestgaard. I figured that would be the case. 🙂 |
What happened?
After upgrading both craft and freeform simultaneously from latest v4 versions to latest v5 versions, and successfully running
php craft up
I'm getting an error on theFreeform: Purging Old Spam Submissions
queue job:But, I see the table in the database. Also, when trying to open the table (which is present in the table overview list) in Sequel Ace, I get this error:
MySQL said: Table 'nortek-staging.craft_freeform_submissions_subscription_hubspot_7' doesn't exist
This is true for all the new forms tables.
Errors and Stack Trace (if available)
No response
How can we reproduce this?
Freeform Edition
Pro
Freeform Version
5.7.2
Craft Version
5.5.2
When did this issue start?
After upgrading from older Freeform version
Previous Freeform Version
4.13.0
The text was updated successfully, but these errors were encountered: