开发者

error while validating form from ini file

开发者 https://www.devze.com 2023-02-15 13:27 出处:网络
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

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'

0

精彩评论

暂无评论...
验证码 换一张
取 消