Page 1 of 1

[3.0.6] Knowledgebase White Screen Hotfix

Posted: Wed Apr 12, 2017 6:33 pm
by mkoch227
There seems to be one of these hotfixes each release..... sigh.

If you're getting a white screen when trying to view the knoweldgebase, apply this quick hotfix.

- Make a backup of your current knowledgebase.php file in case you do something really wrong to it and need to revert to a backup.
- Open knowledgebase.php in a text editor (something like Notepad++. Don't use something like Microsoft Word.
- Find the block of text that looks like this:

Code: Select all

/* Get all the required files and functions */
require(HESK_PATH . 'hesk_settings.inc.php');
require(HESK_PATH . 'inc/common.inc.php');
require(HESK_PATH . 'inc/knowledgebase_functions.inc.php');
- REMOVE the final line so it looks like this:

Code: Select all

/* Get all the required files and functions */
require(HESK_PATH . 'hesk_settings.inc.php');
require(HESK_PATH . 'inc/common.inc.php');
- Find just below that:

Code: Select all

// Connect to database
hesk_dbConnect();
- Change it so it looks like this:

Code: Select all

// Connect to database
hesk_load_database_functions();
hesk_dbConnect();
- Save, upload, and test.

A permanent fix will be released later today as version 3.0.7.

Re: [3.0.6] Knowledgebase White Screen Hotfix

Posted: Wed Apr 12, 2017 6:40 pm
by Klemen
mkoch227 wrote: Wed Apr 12, 2017 6:33 pm There seems to be one of these hotfixes each release..... sigh.
These things happen to everyone. Accept the fact, fix it and move on :wink:

Thank you for keeping your mods for HESK updated!