If Flarum isn't installing or working as expected, the first thing you should do is check again whether your environment meets the system requirements. If you're missing something that Flarum needs to run, you'll need to remedy that first.
Next, you should take a few minutes to search the Support forum (opens new window) and the issue tracker (opens new window). It's possible that someone has already reported the problem, and a fix is either available or on the way. If you've searched thoroughly and can't find any information about the problem, it's time to start troubleshooting.
# Step 0: Turn on debug mode
Before you proceed, you should enable Flarum's debugging tools. Simply open up config.php with a text editor, change the
debug value to
true, and save the file. This will cause Flarum to display detailed error messages, giving you an insight into what's going wrong.
If you've been seeing blank pages and the above change doesn't help, try setting
On in your php.ini configuration file.
# Step 1: Common Fixes
A lot of issues can be fixed with the following:
- Clear your browser cache
- Clear the backend cache with
php flarum cache:clear.
- Make sure your database is updated with
php flarum migrate.
- Ensure that the email configuration in your admin dashboard is correct: invalid email config will cause errors when registering, resetting a password, changing emails, and sending notifications.
- Check that your
config.phpis correct. For instance, make sure that the right
urlis being used.
You'll also want to take a look at the output of
php flarum info to ensure that nothing major is out of place.
# Step 2: Reproduce the issue
Try to make the problem happen again. Pay careful attention to what you're doing when it occurs. Does it happen every time, or only now and then? Try changing a setting that you think might affect the problem, or the order in which you're doing things. Does it happen under some conditions, but not others?
If you've recently added or updated an extension, you should disable it temporarily to see if that makes the problem go away. Make sure all of your extensions were meant to be used with the version of Flarum you're running. Outdated extensions can cause a variety of issues.
Somewhere along the way you may get an idea about what's causing your issue, and figure out a way to fix it. But even if that doesn't happen, you will probably run across a few valuable clues that will help us figure out what's going on, once you've filed your bug report.
# Step 3: Collect information
If it looks like you're going to need help solving the problem, it's time to get serious about collecting data. Look for error messages or other information about the problem in the following places:
- Displayed on the actual page
- Displayed in the browser console (Chrome: More tools -> Developer Tools -> Console)
- Recorded in the server's error log (e.g.
- Recorded in PHP-FPM's error log (e.g.
- Recorded by Flarum (
Copy any messages to a text file and jot down a few notes about when the error occurred, what you were doing at the time, and so on. Be sure to include any insights you may have gleaned about the conditions under which the issue does and doesn't occur. Add as much information as possible about your server environment: OS version, web server version, PHP version and handler, et cetera.
# Step 4: Prepare a report
Once you have gathered all the information you can about the problem, you're ready to file a bug report. Please follow the instructions on Reporting Bugs.
If you discover something new about the issue after filing your report, please add that information at the bottom of your original post. It's a good idea to file a report even if you have solved the problem on your own, since other users may also benefit from your solution. If you've found a temporary workaround for the problem, be sure to mention that as well.