pear fatal error with xampp
Posted: 10. June 2009 17:30
I installed xampp 1.7.1 with php 5.2.9. I encountered a very strange problem with pear classes. If I include a class which is in the pear directory I have no problems
However, if I try to include a class from a subfolder of pear folder
i get Fatal error: Class 'HTML_QuickFormController' not found in C:\xampp\htdocs\DTRsurvey\survey.php on line 47
If I use
it returns true for the classes in the pear folder and false for the classes in the pear subfolders.
Please help!! It is very puzzling.
- Code: Select all
include 'MDB2.php';
However, if I try to include a class from a subfolder of pear folder
- Code: Select all
include 'HTML/QuickForm/Controller.php';
i get Fatal error: Class 'HTML_QuickFormController' not found in C:\xampp\htdocs\DTRsurvey\survey.php on line 47
If I use
- Code: Select all
var_dump(class_exists('Span'));
it returns true for the classes in the pear folder and false for the classes in the pear subfolders.
Please help!! It is very puzzling.