I have been using invoice ninja self hosted version 4 for a long time. But recently I started facing some crucial issue that website does not load and showing too many redirect error on browser.
It is very painful as I have not never changed anything recently but why getting this error. A live website suddenly facing problem is a big concern. As doing some research I do not see any solution. I thought I should upgrade the version then problem should go away.
Actually its been a long time I am getting upgradation messages from invoice ninja dashboard. I think this should be a chance of upgrading to new version. I was also planning to change to migrate the previous database to new one.
okay, after having some study I see Invoice Ninja has been added to softaculous apps installer. So we can install invoice Ninja by single click. Unfortunately I was facing same problem. So I posted on Invoice Ninja forum but no good luck. It means problem is something not related to invoice ninja version. It is somewhere else.
So I thought to discuss this matter with my junior colleague @Anwar Hossain Jeebon. He suggested a cool debugging process. We discovered that we are stuck on a Middleware called
StartupCheck.php
On 50 No line
return Redirect::secure($request->path());
I started searching on google and found that cloudflare has already posted this solution on their website.
You have change the encryption mode from Flexible to Full
The magic happed. Website is live again.
If you need to hire laravel developer for Invoice Ninja or any kind of laravel consultation please knock us. We will provide our best suggestion for free.
Please knock us : https://iboxbd.com




No comments:
Post a Comment