Thread: [jamdb-user] blank screen
Status: Beta
Brought to you by:
mschiff
From: John P. <jp...@ya...> - 2004-10-29 21:34:30
|
Hi, i've just installed the latest jamdb. I have created and loaded songs into the database. I have created a user account. The problem: After logging in with my user account i get a blank screen. What is the problem? I cant see any error messages even though i have set the debug option to yes. I'm sure my m3upaths options are wrong in the config file but i don't think that this is the problem. i can't figure out how to set this option properly anyway. Thanks in advance. __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail |
From: Marc S. <ma...@sc...> - 2004-10-30 10:53:42
|
* John Papapanos schrieb am 29.10.04 um 23:34 Uhr: > Hi, > i've just installed the latest jamdb. > I have created and loaded songs into the database. > I have created a user account. > > The problem: > After logging in with my user account i get a blank > screen. What is the problem? I cant see any error > messages even though i have set the debug option to > yes. > > I'm sure my m3upaths options are wrong in the config > file but i don't think that this is the problem. > i can't figure out how to set this option properly > anyway. > > Thanks in advance. > could you provide a bit more information about which versions of jamdb / apache / php /client-browser you are running? -marc |
From: John P. <jp...@ya...> - 2004-10-30 11:36:37
|
--- Marc Schiffbauer <ma...@sc...> wrote: > * John Papapanos schrieb am 29.10.04 um 23:34 Uhr: > > Hi, > > i've just installed the latest jamdb. > > I have created and loaded songs into the database. > > I have created a user account. > > > > The problem: > > After logging in with my user account i get a > blank > > screen. What is the problem? I cant see any error > > messages even though i have set the debug option > to > > yes. > > > > I'm sure my m3upaths options are wrong in the > config > > file but i don't think that this is the problem. > > i can't figure out how to set this option properly > > anyway. > > > > Thanks in advance. > > > > could you provide a bit more information about which > versions of > jamdb / apache / php /client-browser you are > running? > > > -marc > > Thanks for your feedback, I'using the following packages: -apache: httpd -v Server version: Apache/1.3.32 (Unix) -php: php -v PHP 5.0.2 (cli) (built: Oct 29 2004 17:41:44) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.2, Copyright (c) 1998-2004 Zend Technologies -mozilla: mozilla -v Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408, build 2002040813 -jamdb: jamdb-0.9.7 Looking forward to your reply. Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Marc S. <ma...@sc...> - 2004-10-30 12:11:47
|
* John Papapanos schrieb am 30.10.04 um 13:36 Uhr: > > Thanks for your feedback, > I'using the following packages: > > -apache: httpd -v > Server version: Apache/1.3.32 (Unix) should be ok. > > -php: php -v > PHP 5.0.2 (cli) (built: Oct 29 2004 17:41:44) > Copyright (c) 1997-2004 The PHP Group > Zend Engine v2.0.2, Copyright (c) 1998-2004 Zend > Technologies hm I never tested jamdb with PHP5. Are there any error messages in 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? If the screen is blank after login: what does the page source lock like? Is the htpasswd file you use readable by PHP? Try make it worldreadable for testing... > > -mozilla: mozilla -v > Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) > Gecko/20020408, build 2002040813 > ok > -jamdb: jamdb-0.9.7 ok, but may also try the current cvs version. We will hopefully release it soon. There are some changes in the command line tool pending... configuration will be easier in the next version.. -marc PS: are you on the list? do I need to CC you? -- ********************************************************************** * Unix is like a wigwam: no gates, no windows, only apache inside * ********************************************************************** |
From: John P. <jp...@ya...> - 2004-10-31 11:55:31
|
--- Marc Schiffbauer <ma...@sc...> wrote: > Server version: Apache/1.3.32 (Unix) > should be ok. > > hm I never tested jamdb with PHP5. Are there any > error messages in > apache's error log? 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. 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??? > 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 :( __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail |
From: <dan...@gm...> - 2004-10-31 12:28:08
|
Hi John, John Papapanos schrieb: >--- Marc Schiffbauer <ma...@sc...> wrote: > > > >>Server version: Apache/1.3.32 (Unix) >>should be ok. >> >>hm I never tested jamdb with PHP5. Are there any >>error messages in >>apache's error log? >> >> > >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. > >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> > > Sounds like the PHP-Parser crashs. Can you make a tail while you try to login? I don't now which Linux you use but on Fedora the commando looks like this: tail -f /var/log/httpd/error_log >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??? > > > >>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 :( > Daniel |
From: John P. <jp...@ya...> - 2004-10-31 12:55:46
|
--- Daniel Kröhl <dan...@gm...> wrote: >>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> > > > > > Sounds like the PHP-Parser crashs. > Can you make a tail while you try to login? > I don't now which Linux you use but on Fedora the > commando looks like this: > > tail -f /var/log/httpd/error_log > Thanks for your reply Daniel, The think is that nothing new is logged in apache's error log. The tail command didn't output anything new. __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail |
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 + |
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 |
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 |
From: Ralf P. <ral...@rp...> - 2005-01-03 18:16:06
|
John Papapanos schrieb: > Hi, > i've just installed the latest jamdb. > I have created and loaded songs into the database. > I have created a user account. > > The problem: > After logging in with my user account i get a blank > screen. What is the problem? I cant see any error > messages even though i have set the debug option to > yes. Same problem here. Did you find a solution? Ralf |