Commit 0eca5727cda7c680bb3978abd83d97efd7e1352c

Authored by kevin_fourie
1 parent 0fc66832

Merged in from STABLE trunk...

KTS-3590
"'Fatal error: Call to undefined method DB_Error' after upgrade when the upgrade wizard is initiated."
Fixed. Errors created when initialising the DB are now caught properly.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.3-Release-Branch@9129 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 1 deletions
config/dmsDefaults.php
... ... @@ -289,8 +289,9 @@ class KTInit {
289 289 function handleInitError($oError) {
290 290 global $checkup;
291 291 if ($checkup === true) {
292   - return;
  292 + //return;
293 293 }
  294 +
294 295 if (KTUtil::arrayGet($_SERVER, 'REQUEST_METHOD')) {
295 296 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
296 297 $oDispatcher =new KTErrorDispatcher($oError);
... ...