Debugging white screens (including empty ACP Plugins page listings) - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: Debugging white screens (including empty ACP Plugins page listings) (/thread-238665.html) |
Debugging white screens (including empty ACP Plugins page listings) - Laird - 2023-06-30 Sometimes, MyBB outputs a white (blank) screen - and for this post's purposes this includes a truncated or empty list of plugins on the ACP Plugins page - without outputting any error messages either to the log file or via email, despite having been configured to do one or the other via the error-related settings under Server and Optimization Options .This post is intended to explain how to determine the error message behind any given white (blank) screen in those scenarios in which MyBB doesn't otherwise output it, so that further more specific help can then be provided. In a nutshell, the solution is to turn your php.ini display_errors setting on.How to do this depends on your hosting environment. Here are some possibilities:
display_errors back off, and delete any phpinfo.php file created in step #2 above.Note 2: If the white (blank) screen you're experiencing is in the ACP's plugins module, and is only partial - with only the contents pane being empty, as in this "in the wild" example - then this might be because you have neglected to install a plugin's dependencies. For example, the MyAlerts plugin depends on Plugins.Core and PluginLibrary, and failing to install both dependencies can result in a blank plugins module screen. If anybody has any feedback on this little how-to, then please share it, and I'll update this post if appropriate. |