Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Redirect Issue #674
I am getting an error that is causing my install not to load. "Too many redirects occurred trying to open..." I tried updating from 2.1.5 to 2.1.6 and was able to successfully update but then got the same error. Perhaps I am just missing something but I need to solve this issue to get the page to load.
Not sure why this is happening, but I it has to do with an automated process that checks to see if any entries do not have associated judging numbers.
First, are you running the latest version, 2.1.6? If not, please update your site to 2.1.6.
EDIT: Saw that you were, apologies.
If so, I would first delete all files off your your server and reinstall them. Don't overwrite them. This has worked for me in the past.
If you're still having this issue, you'll need to disable a couple of automatic processes that run on each page load. Open /site/bootstrap.php. Look for the section called Data Integrity Checks. It will look like this:
Comment out the third "if" statement (put two forward slashes in front of it). It should look like this:
Finally, since the check for judging numbers isn't being run automatically, you'll need to keep an eye on them as you gather entries. Use the Regenerate Judging Numbers function from the Admin Dashboard just before sorting to make sure all entries have them.
Ah, I see the problem! There are two places for admins to regenerate judging numbers:
It's the one from the Admin: Entries page that isn't generating the judging numbers, resulting in what @dogunter described above. We have a bug!
@dogunter, if you start the regeneration process from the Admin Dashboard, judging numbers will be restored.
I'm going to open another issue report detailing the bug on from the Admin: Entries page.