• Resources
  • Free Flarum hosting on an expert platform by FreeFlarum.com

orschiro I can log in and even post after reloading the page? It just doesn't allow me to post on the first attempt.

When you post Flarum immediately after storing the post to the database sends out the emails to subscribers. If this fails it will throw an error. The post is still saved but won't be shown due to the error. Refreshing the page will then correctly render the post.

orschiro If I don't switch accounts, then I can post properly as well.

It just happens once I switch accounts.

This probably relates to the fact that the email notifications are only sent when one account posts, because the other is subscribed. In case more users are ought to receive notifications on posting, the process fails again.

Also understand that the email verification and password reset emails won't be send in case mail errors occur. So definitely hunt those, there are discussions here on Discuss on how to use Gmail as the mail provider.

@SKevo @luceos @clarkwinkelmann you were right, my Gmail credentials on the email preferences got invalidated. Not sure how actually but must be user error somewhere.

I updated them and now it's working just fine. 🙂

Sorry for all this unnecessary troubleshooting!

Initially I got confused between Gmail credentials of the email preferences setting and my own login account (which I told you was working just fine).

Thanks for all the help!

TB54 TeamF I have removed the default favicon for all forums. This will likely not fix the issue, but you can give it a try. I assume that it will still occur, but now just with a blank image instead of FF's default.

That's pretty much all that we can do, as this is possibly an issue with these browsers, which is not something that we can fix easily.

Note: syncing all forums right now

    Hi there! I've really been struggling to host flarum myself, and have given up completely, so i thought i would just stick to FreeFlarum for now. I just have one problem, when i added the cname record to my domain registrar, the site became not secure, and i can't seem to find anything about it on google or on your documentation. Any help would be greatly appriciated!

      DDDASHXD my browser says that it's secure. It might be an issue wirh your browser's cache. Does it still render as insecure when you view it from another browser or in incognito/private browsing mode?

        SKevo I have removed the default favicon for all forums.

        works for us! thx

        8 days later

        My forum seems to be okay. Perhaps just a minor outage or higher server load. I'll have a closer look at it later - please, let us know if something doesn't look right again

        I just had an error with the custom CSS, telling me the custum CSS can't have more than 65,000 characters.

        Is this limitation really necessary? While I have done most of the modification needed for my forum, I may have to add some more for details, and here I'm totally stuck (apart from adding a <style> in the header for future updates, but it's not very clean...)

          TB54 that's a limitation from Flarum's side and/or MySQL. I guess noone really expects you to have a CSS longer than 65k characters. The "Custom CSS" in appearance is intended for small tweaks to the forum appearance. In your case, putting the CSS in a file and loading that might be a better option.

          FreeFlarum doesn't support uploading files to webroot, but I think that it would be possible to upload it externally and use the HTML Head Items extension to load the file externally via <link rel="stylesheet" src="https://..."/>.

          • TB54 replied to this.

            SKevo FreeFlarum doesn't support uploading files to webroot, but I think that it would be possible to upload it externally and use the HTML Head Items extension to load the file externally via <link rel="stylesheet" src="https://..."/>.

            Mmm yes indeed, good idea, it would work. But if for some reason the server with the file has a temporary problem, it will make a very weird result.

            Is there a reason for the limitation (apart from the fact you didn't expect that much customization)? It could be too heavy for freeflarum?

              TB54 Is there a reason for the limitation (apart from the fact you didn't expect that much customization)? It could be too heavy for freeflarum?

              I don't know, as we have no control over this limit. Flarum (devs) likely set the max length of the key in database to 65k for the CSS field, probably because it's not common that forums will have huge CSS, and I can imagine that there would be a problem when it comes to validating the CSS before saving it, as longer CSS takes more time to process.

              The custom CSS is stored in the Flarum settings key-value table, which has the same maximum size for all settings values. I'm not sure why this value was chosen originally (it can technically be set higher), but it sounds like a reasonable choice for regular settings which are mostly simple text fields.

              Extension developers are expected to create their own tables or a different system entirely to store settings that require more storage space. The Flarum custom CSS field is designed for simple customization but it's expected that a (theme) extension be used/created for more advanced customization. Including CSS files from the root extend.php is usually the best solution for advanced local themes, but unfortunately this can't be used here.

              Sorry, this will be a total newbie question, and maybe not linked at all to freeflarum: someone signal me that my forum is blocked as his university (which is a problem, as it target first university teachers and students), while a lot of things are permitted there (including reddit). He said the university forbids imgur (I have the imgur upload extension), but as it is used on reddit i doubt it's the reason.

              I have no idea what are the rules to decide what automatically blocks or not a website in companies or universities, and I try to find the reason, but don't know where to start. Any possibility it would be linked to the server used by freeflarum ?

                TB54 Any possibility it would be linked to the server used by freeflarum ?

                Perhaps? Obviously, I don't know what filters they use, and so I can't really help you with this, sorry. It's something that the university will have to look into.