pear fatal error with xampp

Problems with the Windows version of XAMPP, questions, comments, and anything related.

pear fatal error with xampp

Postby IRG » 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
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

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. :o
Posts: 1
Joined: 10. June 2009 17:17

Re: pear fatal error with xampp

Postby Wiedmann » 10. June 2009 18:12

Code: Select all
include 'HTML/QuickForm/Controller.php';

You have installed HTML_QuickForm_Controller yourself?
(IMHO it's not part of the XAMPP package).
AF Moderator
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Return to XAMPP for Windows

Who is online

Users browsing this forum: pomf123 and 41 guests