|
From: James E. F. <jf...@ac...> - 2002-02-25 05:15:34
|
On Sun, 24 Feb 2002, Dan Wick wrote:
> I am getting a blank page when I load the 'manage.php'
> file. I think the problem is in my phpesp.ini file.
First, I have absolutly no expirience with PWS (Personal
Web Server?)... However, it is in the same family as IIS,
and there are known problems with PHP and IIS. I don't want
to spend too much time trying to figure this out, since it
is probably a PHP issue, not a phpESP issue. Having said
that ... Could you try using Apache for Win32 and see if
you have better luck?
To figure out what PWS is doing ... first find it's log
files (hopefully there are some), and see if there is
anything reported there. Do other PHP scripts work? Like:
<?php echo("It works.") ?>
Typically, in my expirience, when a page is completely
blank (even in "view source") it is because the server
crashed trying to serve the page.
> I am not sure if I am specifying the paths for the
> location of the database and root directories correctly
> in the phpesp.ini. Here's how I'm currently doing it:
>
> $locale_path = 'c:/Inetpub/scripts/phpESP/';
> 'include_path' => 'c:/Inetpub/scripts/phpESP/admin/include/',
> 'handler' => 'c:/Inetpub/scripts/phpESP/public/handler.php',
> 'handler_prefix' => 'c:/Inetpub/scripts/phpESP/public/handler-prefix.php',
Looks fine to me.
> Also, there is a call for a CSS in the .ini file. Do
> you have to have a CSS file set up?
Nope ... It's probably better to just use CSS in the
template (where you embed the survey).
> I am running PWS on Windows 98 (yeah yeah, I know I
> should install Unix. I'm going to but I am stuck
> developing on this laptop for the time being.) I have
> PHP 4 installed with the MySQL extension.
>
> I am really stuck and do not know what to try next
> because the page is just blank and there's nothing in
> the source. I've read the posts about blank pages
> posted in January and they didn't seem to solve my
> problem.
One other thought... The script tries to
dynamically load the "gettext" extension if it is not
loaded. If the server is crashing, it's probably here,
comment out the related lines in phpESP.ini.
-James
|