Re: [jamdb-user] blank screen
Status: Beta
Brought to you by:
mschiff
From: Marc S. <ma...@sc...> - 2004-10-31 16:35:59
|
* John Papapanos schrieb am 31.10.04 um 12:55 Uhr: > > --- Marc Schiffbauer <ma...@sc...> wrote: > > Nop, nothing in the apache's error log. > > > since you already enabled DEBUG_MODE > > error_reporting() should > > already be set to E_ALL. Could please verify that it > > really is set > > to this value? maybe there changed something in > > PHP5? > > Sorry but i'm new to php. I can understand most of > your code due > to my experience in C. > If i get this right you need me to tell you about my > php.ini configuration. > Well this is how error handling is set in my php.ini > file: > > 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. > > As i can get it until now i should only see errors in > the output of the > index.php page of jamdb. > > NOTE:Is there a way to set log_error and error_log > directives to log php errors into > the apache error log file. so i can see when an error > is happening and > what request caused it? I know this is a question for > another mailling list :) > > > > If the screen is blank after login: what does the > > page source lock > > like? > > Well this is interesting. > > A.When I use mozilla to log in if the login is > successfull > i get a blank screen and the source code is exactly > the same as the login's page > source code. > If at this point reenter the url in the same browser > window i see the blank > page again and the source code is just this: > <html><body></body></html> > > B.When i use netscape to login if the login is > successfull i i don't see a blank > screen, instead an error windiw pops up from netscape > saying the following: > |-Netscape Error > |-The document contains no data > |-Try Again later or contact the system administrator. > > > The same error window appears if i try to view the > source code from Netscape. > If i try to see page info from Netscape i get the > following: > > JamDB - V0.9.7 has the following structure: > > http://localhost/jamdb/htdocs/index.php > Form 1: > Action URL: > http://localhost/jamdb/htdocs/index.php > Encoding: application/x-www-form-urlencoded > (default) > Method: Post > Layer: overDiv > > Location: > http://localhost/jamdb/htdocs/index.php > File MIME Type: Currently Unknown > Source: Not cached > Local cache file: none > Last Modified: Unknown > Last Modified: Unknown > Content Length: Unknown > Expires: No date given > Charset: Unknown > Security: Status unknown > > ??? It seems to me something is going on with the > execution of the javascript. > Could there be something missing in the apache or > browser configuration that > makes this javascript not funtioning properly??? js is not needed for JamDB to function properly. > > > Is the htpasswd file you use readable by PHP? Try > > make it > > worldreadable for testing... > > Yes, this file is world readable. The Login procces is > working just fine. > If i give wrong username or password i am propmt to > try again.The blank screen > appears only after a successful log in. > > > > PS: are you on the list? do I need to CC you? > > Nop i'not subsribed in the list. I send this mails to > the users list to though. > I've also openned a thread in the Help forum. No > replies to this from anyone though :( Please subscribe! -Marc -- +------------------------------------------------------------------+ | --> http://www.links2linux.de <-- | | | +---Registered-Linux-User-#136487------------http://counter.li.org + |