I’m new to Ghost theming and have been trying to build a customized theme for my website. However, on a recent test of the “Subscribe” button on the website, I just found out that it didn’t work at all.
When I went to Settings > Members > Portal to take a look, the “SignUp” and “Account” tabs both show a preview of my Homepage instead of a popup modal of the Portal screens.
[Portal] Failed to initialize: TypeError: Failed to fetch
The only “drastic:” thing I have done that I assume may have caused this, was to “Delete All Content” and then a “Re-Import of Data” to reset the data in Ghost. But I’m unsure if that was a key cause of this issue.
Currently, there is only one page and one post published.
Hope someone can help me with this issue. Thank you and much appreciated!
Can you try clearing your browser cache in case your browser has somehow cached a 301 redirect? net::ERR_TOO_MANY_REDIRECTS suggests something is wrong with how the members API request is occurring, either a historic redirect that has been cached or a config problem somewhere that’s causing a redirect.
Hmm… I think I am on any proxy server or anything. Very generalised basic settings on CloudFlare, which I do not think will be the main factor though. Just curious… does (1) potentially affects (2)?
Hmm… now that is a bummer… I just did the 1-click app install via DigitalOcean. And internally it set up “Let’s Encrypt”, and that is about what i know that is being installed on my Droplet. Not running a VPS setup.
Any potential resolution? As doing a “ghost doctor” via SSH reveals no issue though.
In that case your nginx configuration should have the correct X-Forwarded-Proto header setup. As you’re using Cloudflare perhaps try clearing the cache there, waiting a few mins, clearing the cache on your browser then trying again? If Cloudflare somehow cached a 301 redirect then the earlier browser cache clear wouldn’t have had any effect.