|
|||
|
Hi,
I am trying out the sample provided in Zend Framework. However I had these errors: " Fatal error: Class 'Zend_Exception' not found in C:\dev\phpdev\Zend\Search\Exception.php on line 34 Fatal error: Class 'Zend_Search_Exception' not found in C:\dev\ZendFramework-1.5.1\library\Zend\Search\Lucene\Exception.php on line 34 " I have also tried 2 other search samples, but I got the same class 'Zend_Search_Exception' errors. Can anyone tell me how I can solve the errors? Thanks! Cinto |
|
|||
|
I had this same problem and in my case it was because I removed that class from the file tree -- you'll need to make sure that Zend/Exception.php exists and that it is included at some point --
Code:
include('Zend/Exception.php');
|
|
|||
|
Hi,
Thanks for your replies. I have added the path of Zend Framework inside PHP.ini file as follows: Code:
include_path = ".;C:\dev\ZendFramework-1.5.1\library" I am using require_once. Will changing that to Zend_Loader helps to solve the errors? Do I need to add any other scripts or codes to clear the errors? Cinto |
![]() |
| Thread Tools | |
| Display Modes | |
|
|