After zendframework configuration is complete, the following error occurs when you access the page: Why? please advise. thank you. Fatalerror: UncaughtexceptionZend_Config_ExceptionwithmessageErrorparsingE: prowebsiteapplicationconfigsa zendframework configuration problems
After zendframework is configured, the following error occurs during access to the page. what is the cause? please advise. thank you.
Fatal error: Uncaught exception 'zend _ Config_Exception 'with message 'error parsing E: \ pro \ website \ application/configs/application. ini on line 204 'in E: \ pro \ website \ library \ Zend \ Config \ Ini. php: 182 Stack trace: #0 E: \ pro \ website \ library \ Zend \ Config \ Ini. php (202): Zend_Config_Ini-> _ parseIniFile ('E: \ pro \ website... ') #1 E: \ pro \ website \ library \ Zend \ Config \ Ini. php (126): Zend_Config_Ini-> _ loadIniFile ('E: \ pro \ website... ') #2 E: \ pro \ website \ library \ Zend \ Application. php (386): Zend_Config_Ini->__ construct ('E: \ pro \ website... ', 'development') #3 E: \ pro \ website \ library \ Zend \ Application. php (85): Zend_Application-> _ loadConfig ('E: \ pro \ website... ') #4 E: \ pro \ website \ content \ index. php (27): Zend_Application->__ construct ('development ', E: \ pro \ website... ') #5 {main} thrown in E: \ pro \ website \ library \ Zend \ Config \ Ini. php on line 182
------ Solution --------------------
Define ('P _ s', PATH_SEPARATOR );
Define ('root ',"../");
Set_include_path (ROOT. P_S. 'zend'. P_S. ROOT. get_include_path ());
Require_once ROOT. 'zend/Loader. php ';
Require_once ROOT. 'function/function. php ';
Require_once ROOT. 'Inc/access. php ';
Zend_Loader: loadClass ('zend _ db ');
Zend_Loader: loadClass ('zend _ Config_Ini ');
$ Config = new Zend_Config_Ini ('../inc/config. ini', 'general ');
$ Db = Zend_Db: factory ($ config-> db-> adapter, $ config-> db-> config-> toArray ());
CheckingAccess ($ session-> userid, 'Staff management ');
$ Session-> perm = '';
Require_once ROOT. "header. php ";
$ SelectGroup = $ db-> select ();
$ SelectGroup-> from ('sys _ user ','*');
$ SelectGroup-> where ('isgroup =? ', 1 );
$ SelectGroup-> where ('Sid =? ', $ Session-> sid );
$ Define roup = $ db-> fetchAll ($ selectGroup );
------ Solution --------------------
E: \ pro \ website \ application/configs/application. ini on line 204
------ Solution --------------------
Resources. db. params. profiler = false
Try to delete this line