Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Jon Hole Posted August 30, 2022 Posted August 30, 2022 Sometime between 9am and 10am (UK time) today, our self-hosted forum stopped working - https://www.zero88.com/forum/ I’ve checked with multiple people and it’s down for all of them. We get a "too many redirects" error. The rest of the website (non-Invision forum) is working fine. There have been no changes to our server settings or forum settings today (or for quite a while previously) The SSL certificates are in date. When my IP address tries to access the forum, the server logs show 10x “301 GET /forum/ HTTP/1.0” However, from the server logs, it appears that other IP addresses are successfully accessing the forum (logs show specific pages with code “200”) – I just don’t know how or who. I'm a little lost as to where to start diagnosing this
Marc Posted August 30, 2022 Posted August 30, 2022 First of all I would think to yourself, regardless of whether you believe something to have changed, something must have indeed changed. So it's a case of tracking down what that change is. The first thing I would do in order to check this would be to rename any htaccess files outside of your community directory, just temporarily to see if your site loads. This would be the most common cause of issues like these
Jon Hole Posted August 30, 2022 Author Posted August 30, 2022 Thanks Marc, I've previously attempted removing .htaccess from the /forum directory, and the parent / directory, with no sucsess. I've just doubled checked by renaming, and still not fixed. One thought of something that has changed... today all our social channels were shutdown (part of a transition to our "parents" social channel). I don't remember any tie-in more than a simple URL link.
Marc Posted August 30, 2022 Posted August 30, 2022 I noticed you are using http on your license yet there is redirection to https. I suspect this may be your issue. Are you forcing https on the server? If so, you need to ensure you have changed your conf_global.php file to reflect that change
Jon Hole Posted August 30, 2022 Author Posted August 30, 2022 $INFO['board_url'] = 'https://zero88.com/forum'; This is already set within conf_global.php I noticed in the client area that our licence was only http, but didn't want to change it just to "test" as I wouldn't be able to change it back... and I'm guessing the licence within the clientarea wouldn't in itself cause this issue.
Marc Posted August 30, 2022 Posted August 30, 2022 Please update your access details on file to correct the sftp location for your files. This appears to be incorrect at present
Solution Jon Hole Posted August 30, 2022 Author Solution Posted August 30, 2022 Hi Marc, I just tried changing: https://zero88.com/forum to https://www.zero88.com/forum and that appears to have fixed the issue. That file hasn't been changed, and the forum software hasn't been updated (it's on the to-do list!). What would have caused that setting to to create a problem like this?
Marc Posted August 30, 2022 Posted August 30, 2022 only the server redirecting from one to the other. So the server will have been redirecting from non www to www, and the software will have been doing the opposite. So something on the server has changed there.
Jon Hole Posted August 30, 2022 Author Posted August 30, 2022 5 minutes ago, Marc Stridgen said: Please update your access details on file to correct the sftp location for your files. Done Just now, Marc Stridgen said: So something on the server has changed there. Very strange... I know none of our team have made that change within the past month... maybe a default change by our hosting? Anyway, thank you very much for your very quick help and guidance Marc, appreciate it.
Marc Posted August 30, 2022 Posted August 30, 2022 No problem at all 🙂 It may well have been a default change of course. All we can really say is what was actually happening there. In any case, glad to see you are back up and running
Jon Hole Posted August 30, 2022 Author Posted August 30, 2022 (edited) Sorry @Marc Stridgen, one thing I've just noticed - font icons aren't working: Presumably this is related, due to the missing "www" in the URL of the font (typing the below into my browser downloads the font, but presumably the URL forwarding is kicking in). https://zero88.com/forum/applications/core/interface/font/fontawesome-webfont.ttf?v=4.7.0 In the template, this is just listed as: href="{url="applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0" How do I change where this is pointing? The only place I can find the URL within the AdminCP is within the licence. In the client area, I can't change the URL to include "www", as it says "There seems to still be an installation of Invision Community at the URL on file. Before you can change the URL, you must first remove the existing installation." Edited August 30, 2022 by Jon Hole
Jim M Posted August 30, 2022 Posted August 30, 2022 You will want to clear your cache by going to ACP -> Support -> Clear Systems Cache Jon Hole 1
Marc Posted August 30, 2022 Posted August 30, 2022 Just now, Jon Hole said: You guys are too good - thank you!!! we try 😄 Glad things are working for you
Recommended Posts