For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > November 2006 > Re: [PHP-DB] RE : Re: [PHP-DB]: small question php/postgreSQL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] RE : Re: [PHP-DB]: small question php/postgreSQL
Tony Grimes

2006-11-07, 6:57 pm

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.ph=
p
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
> =20
> 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.
> =20
> Well .. back to the drawing board...
> =20
> D.
>=20
> Tony Grimes <thelist@tonygrimes.com> a =E9crit :
> Is your server configured to display errors? Try adding this at the top o=

f
> your script:
>=20
> ini_set('display_errors',true);
>=20
> It won't catch syntax errors, but it should help. Also, try adding this t=

o
> the top of your script:
>=20
> echo 'test';
>=20
> If you still get a blank page, then it's probably not a problem with your
> actual script. Maybe your configuration.
>=20
> Tony
>=20

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com