query strings not passing to controller, anything based on _GET not working
Laravel 5.2.45, Nginx, Ubuntu 16. Anything passed with a query string is null in the controller. Using $request->input(), Input::, _GET, anything based on _GET. E.g., /userlist?page=2, request->input is empty, _GET is empty, etc.
_GET works in a plain PHP file. The same app works on 3 other Ubuntu boxes. I've tried completely deleting the app, reinstalling Laravel, and cloning the app again.
Yes, post works, sessions work, cookies work. I'm not sure what I should look for in that Nginx link, but _GET works in plain old PHP on that same Nginx server, so I don't think it's an Nginx or PHP issue.
Yes, I'm putting it in the web middleware, should have stated that in my question. route:list shows web,admin for the route in question.
you should not be putting web middleware as it is added automatically these days. this would be illustrated by web being listed twice against each route
I did have web middleware specified at one point but taking it out didn't make any difference -- the same code works on 3 other boxes with the same OS and server.
It works on 3 other computers with the same OS and server. Deleted the app, reinstalled Laravel, cloned the git repository from another computer where it works.
Wait - my problem ist not exactly the same, as it seems NO GET parameters get throught at all. I tried catching them right on the first line of public/index.php (empty array, while it shows the parameters on my local machine).