[3.0.6] Knowledgebase White Screen Hotfix

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Locked
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

[3.0.6] Knowledgebase White Screen Hotfix

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: [3.0.6] Knowledgebase White Screen Hotfix

Post 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!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked