From ccf0a6ac2e9ce6d660cbdf66c4c9c4a10f7a1345 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 18 Jun 2008 15:24:57 +0000 Subject: [PATCH] If you have trouble with login turn off is_single_server, exception name added --- application/selector/starter.php | 3 ++- application/ship-simu/starter.php | 3 ++- inc/config.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/application/selector/starter.php b/application/selector/starter.php index fcd9855..dd07fb6 100644 --- a/application/selector/starter.php +++ b/application/selector/starter.php @@ -51,8 +51,9 @@ try { // Call user function call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array()); } catch (FrameworkException $e) { - ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s has been terminated due to a thrown exception: %s", + ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s has been terminated due to a thrown exception: %s - %s", $application, + $e->__toString(), $e->getMessage() )); } diff --git a/application/ship-simu/starter.php b/application/ship-simu/starter.php index fcd9855..dd07fb6 100644 --- a/application/ship-simu/starter.php +++ b/application/ship-simu/starter.php @@ -51,8 +51,9 @@ try { // Call user function call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array()); } catch (FrameworkException $e) { - ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s has been terminated due to a thrown exception: %s", + ApplicationEntryPoint::app_die(sprintf("[Main:] The application %s has been terminated due to a thrown exception: %s - %s", $application, + $e->__toString(), $e->getMessage() )); } diff --git a/inc/config.php b/inc/config.php index 5e611b4..0c75800 100644 --- a/inc/config.php +++ b/inc/config.php @@ -222,7 +222,7 @@ $cfg->setConfigEntry('rnd_str_length', 128); $cfg->setConfigEntry('hash_mask', "%1s:%2s:%3s"); // 1=salt, 2=extra salt, 3=plain password // CFG: IS-SINGLE-SERVER -$cfg->setConfigEntry('is_single_server', "N"); +$cfg->setConfigEntry('is_single_server', "Y"); // CFG: POST-REGISTRATION-ACTION $cfg->setConfigEntry('post_registration_class', "LoginAfterRegistrationAction"); -- 2.39.5