Migrating to Production (Login doesn't work anymore)
powerball12 - 1 year ago
Hi, I made a project on my local machine and it worked perfect. When i tried to migrate to the production server there are 2 problems.
- Cache is crashing the website (gives 500 error) PHP Fatal error: Uncaught ReflectionException: Class config does not exist in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php:752 after deleting the cache the site seems to work.
- I cant login anymore. After i put in my credentials it redirects me to www.domain.com/form/handle/b0e1c45b82c4b9336b92ca048f115350 and gives me a "Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message" any idea how to fix this?