email path to event doesn't work

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
JimS
Posts: 60
Joined: Sun Feb 18, 2007 3:16 pm

email path to event doesn't work

Post by JimS »

Just getting started with email of events and just using the default message contents. It's working ( a bit too well - I need to tune motion detection and/or change the threshold for email so I don't get so many false alerts :) ). But the link in the email just gives an error. Using the parameter EPS:

Code: Select all

This alarm was matched by the %FN% filter and can be viewed at %EPS%
Which in the email is:

Code: Select all

This alarm was matched by the Email alerts filter and can be viewed at 192.168.2.230?view=event&mode=stream&mid=1&eid=612590
It doesn't show up as a clickable link in thunderbird on the PC but is clickable on my Android (?). Anyway, when I copy and paste it into Firefox it initially looks the same but as soon as I click or hit return to go to it it becomes:

Code: Select all

192.168.2.230/mythweb/?view=event&mode=stream&mid=1&eid=612590
So this may not be a zoneminder issue but I am not sure what is happening.
Then I get some errors - here's the first of many:

Code: Select all

Warning at /usr/share/mythtv/mythweb/includes/utils.php, line 334:
!!NoTrans: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP)!!
IIRC I did start to put mythtv on the PC but ended up not completing it which means there may be other stuff the web server is trying to do - I don't really remember.
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: email path to event doesn't work

Post by iconnor »

The scripts gets the path from the Options->Email->URL setting. It looks like yours is just set to an ip address. Perhaps it should be more like http://ip/zm
Post Reply