narjis Posted January 20, 2012 Share Posted January 20, 2012 I am getting this type of error when I connect to my database . Please can any body help. Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error parsing /home/narjisfatima/zend.systechcs.com/application/configs/application.ini on line 13 ' in /home/narjisfatima/Zend_framework/library/Zend/Config/Ini.php:182 Stack trace: #0 /home/narjisfatima/Zend_framework/library/Zend/Config/Ini.php(202): Zend_Config_Ini->_parseIniFile('/home/narjisfat...') #1 /home/narjisfatima/Zend_framework/library/Zend/Config/Ini.php(126): Zend_Config_Ini->_loadIniFile('/home/narjisfat...') #2 /home/narjisfatima/Zend_framework/library/Zend/Application.php(386): Zend_Config_Ini->__construct('/home/narjisfat...', 'development') #3 /home/narjisfatima/Zend_framework/library/Zend/Application.php(85): Zend_Application->_loadConfig('/home/narjisfat...') #4 /home/narjisfatima/zend.systechcs.com/public/index.php(24): Zend_Application->__construct('development', '/home/narjisfat...') #5 {main} thrown in /home/narjisfatima/Zend_framework/library/Zend/Config/Ini.php on line 182 Here is my application.ini [production] phpSettings.display_startup_errors = 0 phpSettings.display_errors = 0 includePaths.library = APPLICATION_PATH "/../library" bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Bootstrap" appnamespace = "Application" resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.frontController.params.displayExceptions = 0 resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"resources.view.doctype ="XHTML1_STRICT" resources.db.adapter = mysqli resources.db.params.host = localhost resources.db.params.username = vffgg resources.db.params.password = xxxxxx resources.db.params.dbname = ibbhhb resources.db.isDefaultTableAdapter = true [staging : production] [testing : production] phpSettings.display_startup_errors = 1 phpSettings.display_errors = 1 phpSettings.date.timezone = "Asia/Karachi"[development : production] phpSettings.display_startup_errors = 1 phpSettings.display_errors = 1 resources.frontController.params.displayExceptions = 1 Quote Link to comment https://forums.phpfreaks.com/topic/255413-error-unable-to-detect/ Share on other sites More sharing options...
gristoi Posted January 24, 2012 Share Posted January 24, 2012 wrap your config settings in speec marks: resources.db.adapter =" mysqli" resources.db.params.host = "localhost" resources.db.params.username = "vffgg" resources.db.params.password = "xxxxxx" resources.db.params.dbname ="ibbhhb" resources.db.isDefaultTableAdapter = "true" Quote Link to comment https://forums.phpfreaks.com/topic/255413-error-unable-to-detect/#findComment-1310609 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.