Flarum error (used autoinstaller)

So my flarum forum that was auto installed with Softaculous doesn’t works.

Forum URL: https://flarum.theoldexplorer.cf/public/
Account Username: epiz_30876775

Error message: Oops! Something went wrong. Please reload the page and try again. (on login or signup)
Version: 1.2.0

Read para 3+

I used Softaculous and it works. The only problem is that i get an error when i try to login/signup.

Did you check your smtp credentials for signup? Checked the logs?

I tried to open your forum and it seems to be working fine. Where exactly do you see that error? On the home page of the forum already or only on some specific pages?

1 Like

The error is on login/signup modal’s. I think checking the logs is useful.

The error only shows when i signup/login. The smtp is probably set to the iFastNet servers that no longer works so that may be the problem. I can’t log in into the admin account so i can’t change the email settings.

Where are the logs? There is no log file in the flarum logs folder.

Refer to this (Under COLLECT INFORMATION):

1 Like

Probably? We don’t provide any SMTP server for you, and AFAIK Softaculous doesn’t setup SMTP either. So unless you purchased premium a hosting account at iFastNet and configured it in Flarum, then Flarum will try to use PHP mail.

Thank you, that clarifies.

I checked the login modal and see the same issue. But in my browser console, I see the following error:

Blocked loading mixed active content “http://flarum.theoldexplorer.cf/public/login”

So what’s happening is that your website is using HTTPS in the frontend, but the links on your website are using HTTP. For security, browsers will typically refuse to load HTTP pages on a HTTPS site.

Fixing this could be as simple as changing your website URL in the Flarum config.php file from http:// to https://. If you’re lucky, that will fix everything.

If not, then you may need to fine tune some stuff with Cloudflare. You’ll probably need to:

  • Install an SSL on your flarum subdomain. A Self Signed SSL Certificate generated through our Free SSL Certificates tool is easiest.
  • Set Cloudflare to use “Full” SSL mode instead of Flexible SSL.
  • Disable “Automatic HTTPS Rewrites” (but “Always use HTTPS” can stay on).
3 Likes

Hi there.
Thank you so much for the solution. Now my forum works fine.

And yes, i have a smtp server (from yandex) and i can use it with flarum.
Also is there a way to make the website load faster? It seems to be really slow and sometimes takes up to 10-15 secs to load the first bytes. I have an another web hosting (premium) but it only supports up to 1 domain (no subdomain) so i have to use infinityfree for cdn and forum.

And how do i install extensions without composer?

You need composer or ssh access to install extensions, which is not available here. You can try installing the extension on your machine locally and then upload the extension files to the account :smiling_face:.

How do i do that on my computer? I don’t know how to use composer on windows 10. (but i can run an ubuntu virtualmachine with vmware or virtualbox)

I think you can ask this and the rest on the flarum community. discuss.flarum.org

Ok but what about the awful loading speeds? (15 secs for the first byte?..)

Can’t you expect that from free hosting? Flarum is by core slow. So don’t be surprised.

But how can i make it a little bit faster?

Use the speeder extension from flarum. I heard about it, but didn’t test it yet.

1 Like

Ok. Thank you so much! :slight_smile:

2 Likes