Page 1 of 1

filter - event view - BUG

Posted: Tue Feb 24, 2004 5:21 pm
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!!

Re: filter - event view - BUG

Posted: Tue Feb 24, 2004 11:26 pm
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.

Re: filter - event view - BUG

Posted: Wed Feb 25, 2004 2:00 pm
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,

Re: filter - event view - BUG

Posted: Wed Feb 25, 2004 2:07 pm
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,

Re: filter - event view - BUG

Posted: Wed Feb 25, 2004 2:16 pm
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

Re: filter - event view - BUG

Posted: Wed Feb 25, 2004 2:28 pm
by zoneminder
Strange, it works ok for me. Do you have cookies enabled?

Phil,

Re: filter - event view - BUG

Posted: Wed Feb 25, 2004 2:32 pm
by fernando
yes yes it work....... sorry my fault..