I recently moved my websites from Plesk to Cpanel and now Invoice Ninja wont work. It shows the login page but will never login, always redirects to the login page. After submitting the form it will briefly show ‘REDIRECTING TO <URL>/dashboard’ but it’s a no go.
I’m pretty sure it’s some configuration on WHM or Cpanel but I can’t quite figure out what. Tried clearing browser cookies but that didn’t help. Checked .htaccess and files and folders permissions and they are correct. Database connectivity is fine. Server runs PHP 7.2 and Cpanel uses Engintron. All other websites are fine, Wordpress websites can login just fine as well.
Observing the situation leads me to believe it’s something related to Apache and cookies but I am not versed enough to figure this one out. Searched the web for some hours now and nothing came up. Does anyone have any ideas? I’m almost paying someone to check this out for me.
Not at all. Not even Laravel logs show errors. Really it might be that Invoice Ninja is trying to set a cookie and Apache is rejecting, or something like that.
I also tried disabling Cloudflare, that didn’t help either.
I have a customized brazilian portuguese translation. When I uploaded the app it logged in just fine but as soon as I restored my translation over your translation it stopped working again.
Thanks, I’ll contribute things there but the reason it is customized is that there are some things specific to my company.
Still, I’m curious to know why this problem presented itself like this. If there are missing translations and that is causing a fatal error in the application, why nothing showed up on any log anywhere?