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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> 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@xxxxxxxxxxxxxx> 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
> 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux