Jump to content

error unable to detect


narjis

Recommended Posts

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

 

Link to comment
https://forums.phpfreaks.com/topic/255413-error-unable-to-detect/
Share on other sites

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"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.