Page 1 of 1

E-mail Verification

Posted: Thu Oct 22, 2015 6:31 pm
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');

Re: E-mail Verification

Posted: Fri Oct 23, 2015 11:35 am
by mkoch227
This should now be fixed in 2.5.1. If there are still issues let me know.