Re: [jamdb-user] blank screen
Status: Beta
Brought to you by:
mschiff
From: Marc S. <ma...@sc...> - 2004-11-01 16:33:32
|
* John Papapanos schrieb am 31.10.04 um 19:20 Uhr: > > --- Marc Schiffbauer <ma...@sc...> wrote: > > > > > > > error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT > > > display_errors = On -> I guess this should display > > the > > > errors in the screen > > > log_errors = On > > > error_log=filename ->This is commented out.So it > > has > > > no affect. > > > > There is also a function called error_reporting(). > > You can use that > > in the code to set the desired level of error > > reporting. The > > DEBUG_MODE in JamDB sets this to E_ALL which should > > display any > > warnung and any error on your screen so this is a > > bit strange. > > Assume that the error happens before this is set in > > the code > > > > You might try the following: > > > > edit index.php and add a line before the > > "session_start();" > > > > like this: > > > > error_reporting(E_ALL); > > > > and try again to login. > > > Alright, this turned out to be a quite helpful tip. > I inserted error_reporting(E_ALL) before > session_start() in index.php and when i opened the > login page i got the follwing error: > Notice: Use of undefined constant DBTYPE - assumed > 'DBTYPE' in > usr/local/apache/htdocs/jamdb/etc/jamdb.conf on line > 94 > > So i edited the jamdb.conf file and in line 94 i > changed the define(DBTYPE,"mysql"); to > define("DBTYPE","mysql"); > And it worked. Meaning that i opened the login page > again and the Notice message didn't show up. OK, but thats only a notice.. not a warning or an error. > > Unfortunately as soon as i entered my credentials > username and passwd in the login form and hit the > login button the result was the same as before. The > same old BLANK SCREEN. strange. > > What else could be done? Do you have cookies enabled? If yes try to disable them or vice versa. The URL should then change (Session data will be added or removed...) Maybe you could try the cvs version? -Marc -- BUGS My programs never have bugs. They just develop random features. If you discover such a feature and you want it to be removed: please send an email to bug at links2linux.de |