| Oliver Boermans 2006-04-21, 8:01 am |
| > > Step 2. of the Getting Started Guide is where I'm at
>
> 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:=20
require_once(HTML/QuickForm.php) [<a
href=3D'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
|