Page 1 of 1

Not Readying DB

Posted: Wed Oct 18, 2006 2:05 am
by raggy99
we have got it starting up and running. mysql pphp and apache are all installed.. how ever this is the small problem i'm getting. if i up load a page just full of text i get it working like this

http://www.illudo.com/testing/welcome.php

however if there is any thing that requires a db connection i get just a blank page. like this

http://www.illudo.com/testing/index.php

i know the page is there cos i got get an error like this when there is no page there at all

http://www.illudo.com/testing/nopage.php

Just wondering of any one knows how to fix this. I'm not sure if it is a server problem or a batabase problem.

Many Thanks.

Posted: Wed Oct 18, 2006 2:14 am
by jmut
set display_errors to on
and
error_reporting(E_ALL)

and you will see the error.

Posted: Wed Oct 18, 2006 4:03 am
by raggy99
How do i do this with PHP MY ADMIN

Thanks for the quick responce.

Posted: Wed Oct 18, 2006 4:09 am
by jmut
raggy99 wrote:How do i do this with PHP MY ADMIN

Thanks for the quick responce.
you do this in your php code.
at top of the script.

first try examining log files.