Support the ongoing development of Laravel.io →
Configuration Authentication Session
Last updated 7 months ago.
0

Doubt it's a bug as sessions are working fine everywhere else.

What driver are you using? If you're using file/native, make sure that app/storage is readable and writeable by the web server user.

There could be a difference in PHP version or configuration that makes it work locally but not on the server, which is why you should always try to replicate the server environment in a VM. Look into Vagrant.

Last updated 7 months ago.
0

Hi,

Just found the problem and I can tell that was a good joke for April 1st. Its really unbelievable that such things happens in these days.

The problem was caused by an unusual echo in php. My routing file contained a white space before the opening php tag. I still cant believe ... On my local dev i have php 5.5 and a really primitive server, probably this ignored or trimmed that white space.

For those who have such problem here's a very unusual solution.

Also solution to avoid such problems would be great i think.

Last updated 7 months ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

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.

© 2022 Laravel.io - All rights reserved.