E-mail Verification

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
FormidableMulk
Posts: 13
Joined: Thu Oct 08, 2015 3:12 pm

E-mail Verification

Post by FormidableMulk »

Installed HESK 2.65 + Mods for Hesk 2.42, then upgraded to Mods for Hesk 2.5.

With E-mail Confirmation enabled, users receive an e-mail at ticket submission, but are unable to confirm their email using the confirmation link in the e-mail.

Debugging output on verifyemail.php:
Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in inc\database_mysqli.inc.php on line 84

Error:
Can't execute SQL: SELECT `Key`, `Value` FROM `settings` WHERE `Key` <> 'modsForHeskVersion'
MySQL said:
Table '.settings' doesn't exist
Specifically, it's griping about the mfh_getSettings() call to hesk_dbEscape() in inc/header.inc.php. Back tracing things a bit, it looks like it's because the global $hesk_db_link variable isn't created until the hesk_dbConnect() call after the require_once of inc/header.inc.php.

Moving hesk_dbConnect(); head of require_once(HESK_PATH . 'inc/header.inc.php');
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: E-mail Verification

Post by mkoch227 »

This should now be fixed in 2.5.1. If there are still issues let me know.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply