A very annoying just surfaced. I did some database tweaking, migrated it and manually imported the user table together with some other tables.
Suddenly the home page of my laravel spark won't display properly. It automatically goes to the settings#/subscription page.
The routes are still intact but are the HomeController is not used at all. I've cleared all caches but still the same. No errors in the log. Anyone have an idea how to solve this?
And even more annoying as I just found out, it only affects existing users that I imported. New users are not affected. So it definitely has something to do with the MySQL import.
Well, I exported the users table in MySql and re-imported it after I did a migrate:refresh. So at first everything seemed fine with respect to users logging in but I just found out about this new "feature"...
To be precise, I used MySQL workbench to navigate through my database. This tool has an export/import table option.
Hi Cronix, yes they are able to login successfully and all other pages work but as soon as they go to the /home route, they are reroutes to the settings/subscription page. I think the subscription has changed but can't figure it out where to locate it in the database?
Yes, I've checked those. Both tables are completely empty. I actually had one subscription for one user (myself) and the other user didn't. However, both users experienced the same problem (redirecting to settings/subscriptions).
Well, I have some other tables in which I stored some identifiers in every row. I changed the column date field so that it could hold much more data. So now all identifiers that were stored in single rows are now stored in a single row. To get this implemented, I did a migrate:refresh and after that I specifically imported the users table to have the convenience of having the logins back.
btw I appreciate your time Cronix, i don't think it's an easy thing. So if we can't figure I'll do a complete migrate:refresh and have my test user redo their things.
I've found it! The trial_ends_at date entry somehow was messed up. When I copy pasted another entry everything was right again. Cronix thanks for helping out.