Re: RE : Re: [PHP-DB]: small question php/postgreSQL
| From: | Tony Grimes | Date: | Tue, 07 Nov 2006 16:20:56 +0000 |
| Subject: | Re: RE : Re: [PHP-DB]: small question php/postgreSQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42643@lists.php.net to get a copy of this message | ||
Alright, now try commenting out all the script except for the ini_set and
echo 'test' at the top. There still might be a syntax error in the code.
Essentially, you want to do whatever you can to get the page to display a
simple message. Then, work backwards until you get the error/blank page.
If you can't get a message to display, try copying the script from hello.php
to right into your new script. That should give you enough to troubleshoot.
Tony
On 11/7/06 9:00 AM, "Desmond Coughlan" <coughlandesmond@yahoo.fr> wrote:
> X-No-Archive: true
>
> OK, that gives a blank page, too... which is puzzling, 'cos I tried
> 'hello.php' before getting into the db 'thang', and I saw the text on the
> screen.
>
> Well .. back to the drawing board...
>
> D.
>
> Tony Grimes <thelist@tonygrimes.com> a écrit :
> Is your server configured to display errors? Try adding this at the top of
> your script:
>
> ini_set('display_errors',true);
>
> It won't catch syntax errors, but it should help. Also, try adding this to
> the top of your script:
>
> echo 'test';
>
> If you still get a blank page, then it's probably not a problem with your
> actual script. Maybe your configuration.
>
> Tony
>