Home Forums Support Moved from Plesk to Cpanel, Invoice Ninja stopped working

This topic contains 11 replies, has 2 voices, and was last updated by  denisgomes 3 weeks, 2 days ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #19576

    denisgomes
    Participant

    Getting desperate here…

    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.

    #19578

    Hillel Coren
    Keymaster

    I agree it sounds like a cookie or session issue but I’m not sure what would cause it.

    Are there any errors in the web server error logs?

    #19579

    denisgomes
    Participant

    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.

    #19580

    Hillel Coren
    Keymaster

    You may want to test with a clean install of the app.

    #19583

    denisgomes
    Participant

    Hillel’s probably seen this a million times 🙂 Yeah, a clean install did the trick. Now on to figure out how to proceed.

    #19584

    denisgomes
    Participant

    Alright, figured it out… Just had to replace the files from the current installation with a fresh download.

    Thanks Hillel!

    #19592

    denisgomes
    Participant

    …aaand that was fast, it stopped working again.

    #19721

    denisgomes
    Participant

    Hi Hillel,

    I wrote something else on this reply but I think I know what actually caused the problem.

    • This reply was modified 3 weeks, 2 days ago by  denisgomes.
    #19722

    Hillel Coren
    Keymaster

    The changes in v4.5.11 are extremely minor, I think it’s very unlikely it’s related.

    #19725

    denisgomes
    Participant

    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.

    Oh my… Adventures in debugging, I guess?

    #19727

    Hillel Coren
    Keymaster

    We advise updating translations here:

    https://www.transifex.com/invoice-ninja

    #19728

    denisgomes
    Participant

    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?

    • This reply was modified 3 weeks, 2 days ago by  denisgomes.
Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Posted in: