<div dir="ltr">Hi!<div><br></div><div>Firstly, my apologies for a couple of very basic questions: although I set up ZendTo at our site originally a colleague now looks after it and he's on leave so I'm trying to track down a couple of minor problems we're having and would really appreciate some pointers…</div><div><br></div><div><b><font size="4">Home page/Logging in</font></b></div><div>We're running ZendTo version 4.20. Its home page has a "Home| and "Login" tab, with the "Login" tab selected by default. Just below that are two text boxes into which you enter your username and password. These have a <b>Login</b> button to the right, and clicking this logs you in OK.</div><div><br></div><div>However just below this area there is a heading saying "If you are a University of York user, you may login here:" with a big <b>Login</b> button just below. Clicking this button takes you to a very minimal login page (with the same username/password box but the rest of the home page text replaced with <b>Please login above</b>. This happens even if you've entered your username and password into the text boxes at the top.</div><div><br></div><div>It just seems… wrong: having two <b>Login</b> buttons, one of which accepts the entered username/password and lets you in bu the other doesn't.</div><div><br></div><div>Have we got something wrong or is this expected behaviour?</div><div><br></div><div><b><font size="4">Malformed URLs in reminder emails</font></b></div><div>Somebody has reported that the reminder emails ZendTo sends out to the recipient when they've not yet picked up their dropoff contain a malformed URL. In particular the link it invites you to click on/copy'n'paste looks like this:</div><div><br></div><div>pickup.php?claimID=<i>theClaimID</i>&claimPasscode=<i>thePasscode</i>&emailAddr=<i>recipient</i>%<a href="http://40york.ac.uk">40york.ac.uk</a></div><div><br></div><div>That is, the leading "<a href="https://servername/">https://servername/</a>" is missing.</div><div><br></div><div>I've been peering at the source and configuration to see if we've forgotten something and can see that the email comes from <b>templates/dropoff_email.tpl</b>. This is inserting the variable $zendToURL where the protocol and servername part of the URL is to go, but presumably this is empty.</div><div><br></div><div>Rummaging deeper, it looks like $zendToURL is set in <b>lib/NSSDropbox.php</b> from $NSSDROPBOX_URL</div><div><br></div><div>But I can't see where $NSSDROPBOX_URL is set other than from HTTP variables such as SERVER_NAME etc.</div><div><br></div><div>I guess I must be missing something because I assume these will only be set within the web server, and not by whatever cron job etc generates the reminder emails. What do I need to do to get the web links in these reminders correct? (Looking back at old reminders from previous installations I can see they worked back then, so I guess we've missed/messed something!)</div><div><br></div><div>Any advice very gratefully received!</div><div>In the meantime I'll keep rummaging…</div><div><br></div><div>Cheers,</div><div>Mike B-)</div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font color="#666666">Systems Administrator & Change Manager</font></div><div><font color="#666666">IT Services, University of York, Heslington, York YO10 5DD, UK</font></div><div><font color="#666666">Tel: +44-(0)1904-323811</font></div><div><font color="#666666"><br></font></div><div><font color="#666666">Web:<span style="white-space:pre">                </span><a href="http://www.york.ac.uk/it-services" target="_blank">www.york.ac.uk/it-services</a></font></div><div><font color="#666666">Disclaimer:<span style="white-space:pre">        </span><a href="http://www.york.ac.uk/docs/disclaimer/email.htm" target="_blank">www.york.ac.uk/docs/disclaimer/email.htm</a></font></div></div></div>
</div></div>