First let me say that I know this is a common error and there are tons of answers on it, but none work for my situation.
Basically my application was working fine a few days ago. I was working on adding a new feature and created and ran a few migrations, one to create a new table and another to add a column to an existing table. I didn't touch the env file or config at all, but when I try to login now I get a failed to open stream error (SQLSTATE[HY000] [2002] No such file or directory).
Now, the weird part is that I have another subdomain which also has Laravel on it (5.7) and I'm able to login just fine on that one. I checked the env files and even copied the working subdomain's env file to the broken one (replaced the app_id and db name) but even that produced the same error.
Does anybody have any clue as to what the issue might be? I also should note that all of this is on my Apache2 server, not local.
Edit
Full error string include(/var/www/subdomain/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php): failed to open stream: No such file or directory (SQL: select * from `admins` where `email` = personal_email limit 1)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire