Bug? Timeline / Events view in 1.24.2

Forum for questions and support relating to the 1.24.x releases only.
Locked
trendkill
Posts: 35
Joined: Sat Mar 10, 2007 1:48 pm

Bug? Timeline / Events view in 1.24.2

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
trendkill
Posts: 35
Joined: Sat Mar 10, 2007 1:48 pm

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

No, just remove the '&filter=1' part entirely if I recall.
Phil
trendkill
Posts: 35
Joined: Sat Mar 10, 2007 1:48 pm

Post by trendkill »

Solved, thanks! :)
zoneminder wrote:No, just remove the '&filter=1' part entirely if I recall.
Locked