-
Notifications
You must be signed in to change notification settings - Fork 73
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
Update from version 1.0 to 2.0 gives error related to table name. #75
Comments
Hi this error is very strange because in the upgrade.php file all tables are renamed with prefix + table name. Then in the file environment.php file you have the same prefix so I can’t explain myself this. Now I tag this issue with bug label, thanks for report me. |
I'm having the exact same issue. And since there are now two different tables in use, there are quite a few bugs. Couldn't locate the problem yet. |
Any updates on this? Same issue here. Been looking through the code, and I'm having a hard time locating the reason for the bug. |
No sorry. Currently I haven’t time for working on this project |
Understood. Thanks for letting me know! |
Solved in the new release. Download the new code or use the latest docker image |
Hi. I tried to update from version 1.0 to 2.0 but now it doesn't work. I upgraded with these method:
1- First git clone the repo,
2- Edit the config/environment.php,
3- Copy old saved_qrcode directory to new place.
4- Adjusted apache vhost file, (document root changed from qrcode to src)
5- Run upgrade/upgrade.php. It gave the following output.
I get login screen. But after I login I get this error:
NOTE 1: Now table name is "qr_dynamic_qrcodes" in database. But the error message looks for "qr_qr_dynamic_qrcodes".
In config/environment.php file it is like this:
define('DATABASE_PREFIX', "qr_");
NOTE 2: If I delete the tables and run install/setup.php, it gives the same error.
NOTE 3: If I create "qr_qr_dynamic_qrcodes" table and then copy everything into it from the table "qr_dynamic_qrcodes", Everything starts to work. But if I delete any of the table, it gave the same error.
What should I do?
The text was updated successfully, but these errors were encountered: