Re: Troubleshooting PEAR / HTML_QuickForm installation

From: Date: Fri, 21 Apr 2006 13:43:35 +0000
Subject: Re: Troubleshooting PEAR / HTML_QuickForm installation
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23796@lists.php.net to get a copy of this message
> > Step 2. of the Getting Started Guide is where I'm at > > _without_ the "Testing QuickForm" being rendered in my test page. > > What *exactly* is happening? Does a normal echo work? Do you have your > error_reporting set to E_ALL? (or for PHP5, E_ALL & ~E_STRICT). I'm back after a bit of study into PHP error logging options. Thanks for the tip Justin. Firstly, yes this works: echo 'hello world'; More importantly my apache error log revealed the problem (or at least a symptom of it) - I'm just not sure of the best fix: [Fri Apr 21 22:23:25 2006] [error] PHP Warning: require_once(HTML/QuickForm.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /Library/WebServer/Documents/formtest/quickformtest.php on line 14 'HTML/QuickForm.php' is not being found. I can of course change: require_once(HTML/QuickForm.php) to the full path: require_once(/usr/lib/php/HTML/QuickForm.php) Which is found, but then there are paths within QuickForm.php which are not - such as 'HTML/Common.php'. I'm sure if I try to change these I'll be led on a merry goose-chase through the code! I expect there is a fundamental configuration tweak somewhere to fix this in the one place? Cheers Ollie -- Ask me about CSS

« previous php.pear.general (#23796) next »