small bug

Fixed and closed topics
Mephistois

small bug

Post by Mephistois »

playlist: Aritst: instead of Artist: :wink:

no problem but only to complete this very cool thing.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: small bug

Post by wbartels »

Mephistois wrote:playlist: Aritst: instead of Artist: :wink:

no problem but only to complete this very cool thing.
Sorry, but I don't utherstand it.
I don't see anything like that in the playlist.
Maybe jou can send me a email with a screenshot.
Mephistois

re:

Post by Mephistois »

look @ line 114 in playlist.php :wink:

btw. did you test netjukebox in IIS 6.0 ??
It runs with some little Problems. I will try to fix
it and give you a report.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

I't would be very helpful if you can fix it :wink:
I will also install IIS6 in the next few days, to see if I have the same problem.


I know one issue I had with older versions from netjukebox:

output_buffering = Off (from php.ini)
On IIS6 makes a client computer responding very late (long script execution time).

output_buffering = some number (from php.ini)
On IIS6 makes a client computer responding fast, but the flush doesn't work any more.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: re:

Post by wbartels »

Mephistois wrote:look @ line 114 in playlist.php :wink:

btw. did you test netjukebox in IIS 6.0 ??
It runs with some little Problems. I will try to fix
it and give you a report.
I can't reproduce your problem with:
- IIS 6
- PHP 4.3.10
- netjukebox 3.61
- Winamp 5.07 with httpQ 3.0
Mephistois
User
Posts: 3
Joined: Tue Jan 11, 2005 5:23 pm

Post by Mephistois »

i get errors like this:

Code: Select all

PHP Notice: Undefined index: SERVER_ADDR in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 88 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined index: authenticate in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 120 PHP Notice: Undefined index: hash in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 129 

Code: Select all

PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83
and some more.

it would be nice if you can help me.
i think its a problem of my php.

PHP Version 4.3.10
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

So many errors I haven't seen before.
Is drive F: a local hard disk?
Mephistois
User
Posts: 3
Joined: Tue Jan 11, 2005 5:23 pm

Post by Mephistois »

wbartels wrote:So many errors I haven't seen before.
Is drive F: a local hard disk?
Yes F: is a locall hard disk on the server.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: small bug

Post by wbartels »

Mephistois wrote:playlist: Aritst: instead of Artist: :wink:

no problem but only to complete this very cool thing.
Now I see it :oops:
Will be fixed in the next version.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

Mephistois wrote:i get errors like this:

Code: Select all

PHP Notice: Undefined index: SERVER_ADDR in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 88 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined index: authenticate in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 120 PHP Notice: Undefined index: hash in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 129 

Code: Select all

PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83
and some more.

it would be nice if you can help me.
i think its a problem of my php.

PHP Version 4.3.10
When do you get these errors?
Are other php script like phpMyAdmin working correct on your configuration?
Does <?php phpinfo(); ?> work for you?
Mephistois
User
Posts: 3
Joined: Tue Jan 11, 2005 5:23 pm

Post by Mephistois »

wbartels wrote:
Mephistois wrote:i get errors like this:

Code: Select all

PHP Notice: Undefined index: SERVER_ADDR in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 88 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined variable: value in F:\DISKSPACE\netjukebox\include\globalize.inc.php on line 72 PHP Notice: Undefined index: authenticate in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 120 PHP Notice: Undefined index: hash in F:\DISKSPACE\netjukebox\include\initialize.inc.php on line 129 

Code: Select all

PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83 PHP Notice: Undefined variable: date in F:\DISKSPACE\netjukebox\include\format.inc.php on line 83
and some more.

it would be nice if you can help me.
i think its a problem of my php.

PHP Version 4.3.10
When do you get these errors?
Are other php script like phpMyAdmin working correct on your configuration?
Does <?php phpinfo(); ?> work for you?
phpMyAdmin works fine for me.
also phpinfo
i get this errors and some more on every site i
browse in netjukebox.
e.g. playlist, browse, ...

it would be nice if you can help me.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

Mephistois wrote:phpMyAdmin works fine for me.
also phpinfo
i get this errors and some more on every site i
browse in netjukebox.
e.g. playlist, browse, ...

it would be nice if you can help me.
If you mail me the netjukebox\include\config.inc.php and WINDOWS\php.ini file.
And the version number of netjukebox.
Maybe I can find out what is wrong.
Send to: netjukebox@gmx.net
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

I found it :wink:

I get the same error messages when set error_reporting to E_ALL in the php.ini.

Code: Select all

error_reporting  =  E_ALL
When I set it back to the PHP default, everything works fine:

Code: Select all

error_reporting  =  E_ALL & ~E_NOTICE
Cut and past from php.ini

Code: Select all

; E_NOTICE          - run-time notices (these are warnings which often result
;                     from a bug in your code, but it's possible that it was
;                     intentional (e.g., using an uninitialized variable and
;                     relying on the fact it's automatically initialized to an
;                     empty string)
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

It is possible to make the hole code work with error_reporting set to E_ALL.
Than I have to use isset(), empty() and defined() a loooooooooooot of times :wink:

<update>
I'm now started with making the code compatible with error_reporting set to E_ALL.
With error_report set to E_ALL I also found a small bug that I hadn't found without it.
So it is a good thing to start coding with error_reporting set to E_ALL.
netjukebox 3.63b should be working with error_reporting set to E_ALL.
</update>
Rudolf
User
Posts: 6
Joined: Wed Feb 08, 2006 9:43 pm

Another typo

Post by Rudolf »

Browse | Cabaret | Dance | Jazz | Klasiek | Pop | Roots | Soul | Soundtrack | Video | General |

"Klasiek"
Locked