Page 1 of 1
Playlist load times
Posted: Wed Dec 13, 2006 4:49 am
by b00x
Hi,
I've looked around your site, and the forum's here, but found nothing in direct relation to what I'm worried about.
Seems the playlist is excessively slow to load on any browser I use, even from the machine running the web service.
Am I the only one? Or did I miss something in the readme?
Any extra information/help on this would be appreciated.
Thanks & Regards,
b00x
Posted: Wed Dec 13, 2006 10:45 am
by wbartels
Are you running Microsoft IIS with an ISAPI module (php4isapi.dll, php5isapi.dll)?
Posted: Wed Dec 13, 2006 12:14 pm
by b00x
Nah, Apache/2.2.2 with PHP/5.1.4 on WinXP, and MySQL/5.0.x for the netjukebox DB.
Posted: Wed Dec 13, 2006 2:30 pm
by wbartels
I can't reproduce your problem.
I have installed "XAMPP Windows 1.5.5" on a test system (configured as PHP 5.2).
This package contains:
Code: Select all
Apache HTTPD 2.2.3, MySQL 5.0.27, PHP 5.2.0 + 4.4.4 + PEAR + Switch, MiniPerl 5.8.7, Openssl 0.9.8d, phpMyAdmin 2.9.1.1, XAMPP Control Panel 2.3, Webalizer 2.01-10, Mercury Mail Transport System für Win32 und NetWare Systems v4.01a, FileZilla FTP Server 0.9.20, SQLite 2.8.15, ADODB 4.93, Zend Optimizer 3.0.2, XAMPP Security. For Windows 98, 2000, XP.
The playlist is loading fast on IE 6 and Firefox 2.
Maybe updating to PHP 5.2 and/or Apache 2.2.3 will fix the problem.
Please let me know if this helps?
Good luck,
Willem
Posted: Wed Dec 13, 2006 2:51 pm
by wbartels
Another thing that could cause the slow response:
With zlib compression enabled the php flush() function doesn't work correctly,
and therefore dynamic content is send to late to the web browser.
Did you have enabled zlib compression on your webserver and or php?
Posted: Wed Dec 13, 2006 11:12 pm
by b00x
lol, you got it the second time
I had mod_deflate in place for gzip compression in httpd.conf.
Just commented all that out, and now my playlist loads perfectly
However, I should really look into updating my apache n php versions.
Thanks a lot for your help William, appreciated.
Playlist.php never completely loads...
Posted: Mon Feb 12, 2007 7:11 am
by hulby
Hello,
I am running into the same situation here. The status bar on the browser window always says opening playlist.php. The problem I am having is none of the control buttons load, or are visible, and I am not able to use any of the buttons (Stop, Pause, Play, etc) until I hit stop on the browser. I can hit refresh a few times and eventually see a button or two show up. I can also right click on the link, and select show picture. I've looked for zlib, and it shows that it is off. Also, I do not not have an instance of mod_deflate in my httpd.conf. Any other suggestions would be great.
Thanks,
-hulby
Re: Playlist.php never completely loads...
Posted: Mon Feb 12, 2007 10:31 am
by wbartels
hulby wrote:Hello,
I am running into the same situation here. The status bar on the browser window always says opening playlist.php. The problem I am having is none of the control buttons load, or are visible, and I am not able to use any of the buttons (Stop, Pause, Play, etc) until I hit stop on the browser. I can hit refresh a few times and eventually see a button or two show up. I can also right click on the link, and select show picture. I've looked for zlib, and it shows that it is off. Also, I do not not have an instance of mod_deflate in my httpd.conf. Any other suggestions would be great.
Thanks,
-hulby
What OS, web server and PHP version do you use?
Witch web browser do you use?
Posted: Mon Feb 12, 2007 11:08 pm
by hulby
Hi Willem,
thank you for replying.
I am running Apache 2.0.55 and PHP 5.1.2 on Windows XP, with IE 6 sp2.
Thank you,
hulby
Posted: Mon Feb 12, 2007 11:58 pm
by wbartels
hulby wrote:Hi Willem,
thank you for replying.
I am running Apache 2.0.55 and PHP 5.1.2 on Windows XP, with IE 6 sp2.
Thank you,
hulby
Your PHP and Apache versions are rather old.
Maybe updating to PHP 5.2.1 an Apache 2.0.59 could help.
Also check this in the php.ini:
Posted: Tue Feb 13, 2007 12:23 am
by hulby
Willem,
I don't see how updating to those minor versions could help, but I will give it a try. I did check my output_buffering and it is off. Do you know anyone else having an issue like this?
-hulby
Fixed!
Posted: Thu Feb 15, 2007 7:14 pm
by hulby
Willem,
You were right! I upgraded as you suggested, and it seems to have worked out the issue. Thank you very much!
Nice app, now that I can see it.
-hulby
Re: Fixed!
Posted: Thu Feb 15, 2007 10:08 pm
by wbartels
hulby wrote:Willem,
You were right! I upgraded as you suggested, and it seems to have worked out the issue. Thank you very much!
Nice app, now that I can see it.
-hulby
Thanks for the response,
Willem