Page 1 of 1

Bug? Timeline / Events view in 1.24.2

Posted: Sat Oct 17, 2009 11:27 am
by trendkill
Hi,

I'm using ZM 1.24.2 from package debian sid with ubuntu 9.10.
If in Options the 'WEB_H_EVENTS_VIEW' set to 'timeline', and you click to the summary events at the first column, and then in the timeline window you switch to the 'list' view, you will get the following error:

Fatal error: Cannot use string offset as an array in /usr/share/zoneminder/includes/functions.php on line 1343

Any suggestion how to solve it?

Thanks,
G

Posted: Sat Oct 17, 2009 4:44 pm
by zoneminder
I'm pretty sure this is fixed in the SVN version. I think it was a question of removing a 'filter=1' from the link in the timeline view.

Posted: Sat Oct 17, 2009 5:30 pm
by trendkill
You mean that i have to modify the line 811 in timeline.php?
<?= makePopupLink( '?view=events&page=1&filter=1'.$filterQuery, 'zmEvents', 'events', $SLANG['List'], canView( 'Events' ) ) ?>

to filter=0 ?

Thanks,
G
zoneminder wrote:I'm pretty sure this is fixed in the SVN version. I think it was a question of removing a 'filter=1' from the link in the timeline view.

Posted: Sat Oct 17, 2009 8:10 pm
by zoneminder
No, just remove the '&filter=1' part entirely if I recall.

Posted: Sat Oct 17, 2009 10:37 pm
by trendkill
Solved, thanks! :)
zoneminder wrote:No, just remove the '&filter=1' part entirely if I recall.