you most likely have something like
try_files $uri $uri/ /index.php?q=$uri&$args;
in your NGINX config and my guess is that HipHop needs this
you can write
$model->column = Input::get('column');
instead of
Model::create(Input::all())
or write a Model Observer that unsets the 'q' in the saving() method
Something I remember is like
// Might be totally wrong.
Model::create(Input::all(Input::except('q')))
zenry said:
you most likely have something like
try_files $uri $uri/ /index.php?q=$uri&$args;
in your NGINX config and my guess is that HipHop needs this
you can write
$model->column = Input::get('column');
instead of
Model::create(Input::all())
or write a Model Observer that unsets the 'q' in the saving() method
It was actually a dumb fault of mine, but this comment helped me find it.
I was reading in the input array individually, but I had also, by the insert in the controller, used new Model(\Input::All());
Deleting this fixed everything.
Thanks.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community