phpdevshell team mailing list archive
-
phpdevshell team
-
Mailing list archive
-
Message #00098
[Bug 450325] Re: Incorrect host in host.conf.php produces broken error
** Changed in: phpdevshell
Status: Fix Committed => Fix Released
--
Incorrect host in host.conf.php produces broken error
https://bugs.launchpad.net/bugs/450325
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
Status in Open Source php gui type development framework.: Fix Released
Bug description:
When using the incorrect value in host.conf.php an odd error is displayed:
NOTICE: Undefined index: session_life line 209 (/var/www/mecer/mda/includes/PHPDS.inc.php)NOTICE: Undefined index: server_address line 230 (/var/www/mecer/mda/includes/PHPDS.inc.php)NOTICE: Undefined index: database_user_name line 231 (/var/www/mecer/mda/includes/PHPDS.inc.php)NOTICE: Undefined index: database_name line 232 (/var/www/mecer/mda/includes/PHPDS.inc.php)NOTICE: Undefined index: database_password line 233 (/var/www/mecer/mda/includes/PHPDS.inc.php)NOTICE: Undefined index: persistent_db_connection line 138 (/var/www/mecer/mda/includes/db.class.php)No database selected
Value used : $configuration['host']['example'] = 'default';
Better checking needs to be implemented.