Page 1 of 1

Event view controls stopped working in 1.24.2

Posted: Mon Jul 20, 2009 7:18 pm
by tibbs
I'm trying to push 1.24.2 packages to Fedora but while testing the new version I found that the VCR controls on the event view seem to have stopped working. The progress bar is not present (though it doesn't really seem to work in 1.24.1 either), the text above where the progress bar would be always reads:
Mode: Progress: s Zoom: x
with blanks where you'd expect to see the data, and clicking on the bottons for pause, play, next event, etc. have no effect.

I thought this might be a mootools issue, but I tried with mootools 1.2, 1.2.1 and 1.2.3 with no better behavior. I also had an issue with the event preview in the timeline view which seems to stop working if I use anything newer than mootools 1.2.

I feel I must be missing something easy or have done something completely wrong because I haven't seen this issue posted here yet. I went back through the last couple of months and didn't see anything.

Posted: Mon Jul 20, 2009 7:43 pm
by tibbs
Bah, turns out this was a caching issue. Shift-reload hadn't helped, but dumping the entire firefox cache got things working.

Posted: Sun Jul 26, 2009 5:25 pm
by unclerichy
I've just had to rebuild my server due to hardware failure and I have the same problem in 1.24.2 in both IE8 and Firefox 3.5.1. I've disabled all FF caching (memory, disk) and cleared all browser history and still no FPS information or functional playback controls. :(

I've also tried a fresh Windows 7 VM with a brand new install of Firefox with caching turned off from the beginning and still no joy. Did this work in 1.24.1?

For reference, here's a capture of what happens when I click on the previous event (or next event) button:

Code: Select all

POST /index.php HTTP/1.1

Host: camserver.hunter13.lan

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)

Accept: application/json

Accept-Language: en-gb,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

X-Requested-With: XMLHttpRequest

X-Request: JSON

Content-Type: application/x-www-form-urlencoded; charset=utf-8

Referer: http://camserver.hunter13.lan/index.php?view=event&eid=20&filter[terms][0][attr]=MonitorId&filter[terms][0][op]=%3D&filter[terms][0][val]=3&sort_field=StartTime&sort_asc=1&page=1

Content-Length: 52

Cookie: ZMSESSID=8d1a45a97cb815a3e55a6c44d8f65586; zmSkin=classic

Pragma: no-cache

Cache-Control: no-cache

view=request&request=stream&connkey=31874&command=12
And the server response:

Code: Select all


HTTP/1.1 200 OK

Date: Sun, 26 Jul 2009 17:37:15 GMT

Server: Apache

X-Powered-By: PHP/5.2.10-pl0-gentoo

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Content-Length: 0

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Content-Type: text/html

It appears that the server sends no data in its reply and there are no errors in the apache log file.