简体   繁体   中英

Upgraded to Laravel 5.4 - Some routes now fail?

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?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM