From: Andrew S. <and...@pa...> - 2002-10-09 06:17:26
|
Hmmm... Very interesting. O.K., let's eliminate some likely culprits: - the login screen calls the database at least once. If the database didn't work you would get an error message about no database. You haven't - so I guess that PHP can connect to the database, and get queries, etc. - the pretty screen is generated throughout the program by /includes/screen.php. If it's working in the login screen it (should) work elsewhere... Now working through the process: - you can login, so you're getting to main.php. - an error is occurring before /includes/screen.php is called in main.php (otherwise you'd get more html). - looking at the code the error then has to be in /includes/database.php or /includes/security.php I think you must have error reporting turned off in PHP, so the error is not getting reported. I once had a bug in /includes/security.php that, with error reporting turned off, gave a blank screen too. Had me totally baffled for hours! Turn on error reporting, and let us know what PHP is reporting. Hope that's helping. Andrew On 08 Oct 2002 08:37:30 -0500 "Andrew S. Hintz" <dr...@st...> wrote: > > I just downloaded the 2.0.2 release, unpacked, and I can't seem to get > it to work. > > I've got PHP 4.2 > Apache 2.0 > Postgresql 7.2 > > Using psql, I can go in and see that data is in the database, so that > worked ok. I can access the index.php page, and I get the pretty > login page, so I would assume that apache and PHP is working fine. > When I try to login, though, I get a blank page where the source of > that page is: > > <html><body></body></html> > > Any ideas on what is causing this problem? > > thanks in adavance. > Andrew Hintz > Engineering Manager > Stage Logic, LLC > |