Support the ongoing development of Laravel.io →
Configuration Database Installation
Last updated 1 year ago.
0

*Update for people who might come up with that kind of issue: I'm not quite sure what is the issue yet but I know it's something with my local MySQL since it's working on my live test VPS.

*I'll update if I find out what is the issue on my local.

0
Solution

This happened to me today. Same code working on local machine, but not on VPS. Any ideas?

Until now I've debugged until the point, where I know the problem lies in the query parsing somewhere. \Illuminate\Pagination\PaginationServicProvider line 21: the app['request'] appearantly thinks the query is "query_string". Which is completely wrong. So I think there is something wrong with symfony.

EDIT:

Turns out only the nginx config was wrong. this line:

try_files $uri $uri/ /index.php?$query_string;

was missing the $ sign before query string

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

bonitoass bonitoass Joined 4 Feb 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.