开发者

error while validating form from ini file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜