filter - event view - BUG

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

filter - event view - BUG

Post by fernando »

there is aproblem with the "event" window , if i use it from the "watch" window i can use next and prev with no problems..
the if i get it from the "events" windows prev and next dont work ... semms to be the "mid" variable dont work if i use it from "events" windows

can someone check it to!!
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: filter - event view - BUG

Post by fernando »

well sinse this is not a mayor bug i replace line in "events" file

<?= $PHP_SELF ?>?view=event&eid=<?= $event['Id'] ?>&page=1

for this

<?= $PHP_SELF ?>?view=event&mid=<?= $val1 ?>&eid=<?= $event['Id'] ?>&page=1

for the moment dont create any problem.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: filter - event view - BUG

Post by zoneminder »

Hi Fernando,

I'll have a look at that one. Thanks for spotting it! (and I will get back to you about your calendar email when I get a chance to have a proper look at it).

Phil,
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: filter - event view - BUG

Post by zoneminder »

I've just checked this.

I think the best fix is probably to change line 39 of zm_html_view_event.php from

if ( !isset($mid) )

to

if ( empty($mid) )

which seems to fix it.

Phil,
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: filter - event view - BUG

Post by fernando »

great...... i will use your fix..

the calendar its ok. i have learn some php since is very diferent from asp. and that you have to sum Mysql y have to much to learn before i create the calendar right now.. but i will trie.. :)

BTW= the remember me of zoneminder page dont work.... :)

fernando
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: filter - event view - BUG

Post by zoneminder »

Strange, it works ok for me. Do you have cookies enabled?

Phil,
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Re: filter - event view - BUG

Post by fernando »

yes yes it work....... sorry my fault..
Locked