问题
I had a completely working project on Laravel 5.3
, yesterday I upgraded to Laravel 5.4
locally to check all was working and was very happy so put a plan in place to move it live.
Where I have now deployed the site on my forge.laravel.com
managed servers, most of the routes work okay but when trying to log out I get the following error:
I'm not quite sure what the issue actually is. This site works totally fine locally. Can anyone point me in the right direction?
回答1:
As a quick fix (after emailing Taylor) he suggested that I comment out the \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
middleware inside app\Html\Kernal.php
Tried it and it worked perfectly!
Easy fix when you know how! haha
回答2:
I had something similar issue, I have tried to increase my limits too. You can't do them on ini file in laravel 5.4 but you can add your customizations on public/.htaccess
https://stackoverflow.com/a/42399301/7596103
来源:https://stackoverflow.com/questions/41875028/upgraded-to-laravel-5-4-some-routes-now-fail