Still some errors:
when importing my old pilot table:
when I did the above to my old pilot table, but also added what you said to do in post #7 SET FOREIGN_KEY_CHECKS=0; before create table:
when re-importing phpvms5.5 default pilot table:
A little success here! I could get both my old pilot table and the new unchanged pilot table to import…but now the pilot list shown on the webpage does not show pilots from the database @ /index.php/pilots (it’s an empty list, even though in phpMyadmin it shows all pilots in the table in the old format…I guess because the fields are different?)
To get the phpvms5.5 default pilot table to import I had to delete from line 74 and down:
to get my old pilot table to import I had to add SET FOREIGN_KEY_CHECKS=0; before Creat Table like you said AND delete from line 824 and down:
Hmmm, can you check in your local.config.php that your database has been set right.
While you’re there, can you also check this:
Find these
Config::Set('DEBUG_MODE', false);
Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries
And change them to this
Config::Set('DEBUG_MODE', true);
Config::Set('DEBUG_LEVEL', 2); // 1 logs query errors, 2 logs all queries
Once done, go to your pilots page and refresh the page to see if it’s picking up any queries.
Once that’s done, you can go into your core/local.config.php file and change these back to the original
Config::Set('DEBUG_MODE', false);
Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries
That should allow you to see if it is a query issue or not.
I assume you just followed the procedure above, but just making sure, have you changed any tables or columns/fields?