Hi开发者_JAVA百科i...
When I tried to validate zend form using ini file, I am getting the following error message, please help how to fix this
Uncaught Zend_Config_Exception, code: 0
Message: parse_ini_file(views/config/adminvalidate.ini) [<a href='function.parse-
ini-file'>function.parse-ini-file</a>]: failed to open stream: No such file or
directory
Thanks
Message: parse_ini_file(views/config/adminvalidate.ini)
Your config file is in the views
folder?
Update
I usually need to provide an absolute path to the Zend_Config_Ini
constructor:
APPLICATION_PATH . '/views/config/adminvalidate.ini'
精彩评论