0

Hii...

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

S L
  • 14,262
  • 17
  • 77
  • 116

1 Answers1

0

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'

David Weinraub
  • 14,144
  • 4
  • 42
  • 64