Re: [jamdb-user] blank screen
Status: Beta
Brought to you by:
mschiff
|
From: John P. <jp...@ya...> - 2004-10-31 18:20:30
|
--- 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.
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.
What else could be done?
> Please subscribe!
>
> -Marc
Already done.
Thanks for your help.
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
|