<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Good.<br>
    <br>
    Firstly, check you have the latest release of ZendTo installed ('yum
    update zendto' will tell you).<br>
    If you do, then upgrade Smarty to 3.0.8 (which is what I have
    working just fine).<br>
    <br>
    Download <a class="moz-txt-link-freetext" href="http://www.smarty.net/files/Smarty-3.0.8.tar.gz">http://www.smarty.net/files/Smarty-3.0.8.tar.gz</a> to root's
    home directory on your ZendTo server. Once you're root, a simple 'cd
    ; wget <a class="moz-txt-link-freetext" href="http://www.smarty.net/files/Smarty-3.0.8.tar.gz">http://www.smarty.net/files/Smarty-3.0.8.tar.gz</a>' will do it.<br>
    tar xzf Smarty-3.0.8.tar.gz<br>
    cd Smarty-3.0.8<br>
    mv /opt/zendto/lib/smarty /opt/zendto/lib/smarty-broken<br>
    cp -pr libs /opt/zendto/lib/smarty<br>
    chown -R root:root /opt/zendto/lib/smarty<br>
    rm -f /opt/zendto/lib/templates_c/*<br>
    <br>
    Then refresh the page with the original template file in place, and
    give it a try.<br>
    <br>
    Jules.<br>
    <br>
    On 20/09/2011 17:17, --[ UxBoD ]-- wrote:
    <blockquote
      cite="mid:80dce87c-b23b-47d0-b46d-a0adb2928f7b@office.splatnix.net"
      type="cite">
      <style type="text/css">p { margin: 0; }</style>
      <div style="font-family: Courier New; font-size: 10pt; color:
        #000000"><br>
        &nbsp;&nbsp;&nbsp; &lt;td class="UD_form_lined"&gt;&lt;a class="hoverlink"
        href="#"
onclick="doPickup('XXXXXXXXXXXXXXX');"&gt;&lt;tt&gt;H5n2JWmkzSYpbf3j&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;<br>
        &nbsp;&nbsp;&nbsp; &lt;td
        class="UD_form_lined"&gt;XXXXXXXXXXXXXXXXXX&lt;/td&gt;<br>
        &nbsp;&nbsp;&nbsp; &lt;td
        class="UD_form_lined"&gt;XXXXXXXXXXXXXXXXXXX&lt;br&gt;&lt;/td&gt;<br>
        &nbsp;&nbsp;&nbsp; &lt;td class="UD_form_lined"&gt;5.8 KB&lt;/td&gt;<br>
        &nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;div style="white-space:
        nowrap"&gt;&lt;tt&gt;20&amp;nbsp;Sep&amp;nbsp;2011&amp;nbsp;03:24:34
        PM&lt;/tt&gt;&lt;/div&gt;&lt;/td&gt;<br>
        &nbsp; <span><br>
          <br>
          <span name="x"></span>-- <br>
          Thanks, Phil<span name="x"></span><br>
        </span><br>
        <hr id="zwchr">
        <blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
          When you changed it to {$d.formattedBytes}, what HTML did it
          produce?<br>
          <br>
          On 20/09/2011 16:35, --[ UxBoD ]-- wrote:
          <blockquote
            cite="mid:cbaa7c4d-21b3-4fec-ad7e-7c75259a819a@office.splatnix.net">
            <style>p { margin: 0; }</style>
            <div style="font-family: Courier New; font-size: 10pt;
              color: #000000"><br>
              <hr id="zwchr">
              <blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
                <style>p { margin: 0; }</style>
                <div style="font-family: Courier New; font-size: 10pt;
                  color: #000000">Jules,<br>
                  <br>
                  I changed that line to be:<br>
                  <br>
                  &lt;td
                  class="UD_form_lined"&gt;{$d.formattedBytes}&lt;/td&gt;<br>
                  <br>
                  and now there are no issues. It is something in the
                  replace that causes the rest of the form not to be
                  processed/displayed and hence the document name does
                  not get defined.<span><br>
                    <span></span>-- <br>
                    Thanks, Phil<span></span><br>
                  </span><br>
                  <hr id="zwchr">
                  <blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
                    <style>p { margin: 0; }</style>
                    <div style="font-family: Courier New; font-size:
                      10pt; color: #000000">Hi Jules, this is happening
                      under FF3.6+.<br>
                      <br>
                      Looking at the difference between 4.02 and 4.05 I
                      see the inclusion on that screen for the following
                      code:<br>
                      <br>
                      &lt;td
                      class="UD_form_lined"&gt;{$d.formattedBytes|replace:'
                      ':'&amp;nbsp;'}&lt;/td&gt;<br>
                      <br>
                      so the size of the drop is also displayed. If I
                      remove that piece of code I can now click on a
                      dropoff and see the detail screen. When I put that
                      code back in I am no longer able to click through
                      to the detail screen.<span><br>
                        <span></span>-- <br>
                        Thanks, Phil<span></span><br>
                      </span><br>
                      <hr id="zwchr">
                      <blockquote style="border-left:2px solid rgb(16,
                        16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
                        I have just tested the Outbox functionality with
                        the JavaScript error console displayed in IE9,
                        Safari (Mac) and Chrome (Mac).<br>
                        I cannot reproduce your error at all.<br>
                        <br>
                        In the 3 places that call "doPickup" ('grep -l
                        doPickup /opt/zendto/templates/*.tpl' as you'll
                        see them), they all have a form called "pickup"
                        with a hidden element "claimID" in it. So the
                        code should work, and does for me.<br>
                        <br>
                        Exactly how did you get it to display this error
                        message?<br>
                        And does it affect the functionality of the
                        page?<br>
                        <br>
                        Jules.<br>
                        <br>
                        On 20/09/2011 15:32, --[ UxBoD ]-- wrote:
                        <blockquote
                          cite="mid:c1d14a06-e789-4f5a-ad79-8d7dddcef36f@office.splatnix.net">
                          <style>p { margin: 0; }</style>
                          <div style="font-family: Courier New;
                            font-size: 10pt; color: #000000">Jules,<br>
                            <br>
                            Under ZendTo 4.05 when in the Outbox screen
                            and the user clicks on a dropoff they have
                            made a JS error, document.pickup is not
                            defined, is being wrong on line 90 of
                            main.js:<br>
                            <br>
                            / * Jules' code */<br>
                            function doPickup(theID) {<br>
                            &nbsp; document.pickup.claimID.value = theID;
                            &lt;--- here<br>
                            &nbsp; return document.pickup.submit();<br>
                            }<br>
                            <br>
                            I have looked at the code and cannot see
                            what is wrong any ideas ?<span><br>
                              <span></span>-- <br>
                              Thanks, Phil<span></span><br>
                            </span><br>
                          </div>
                          <br>
                          <fieldset class="mimeAttachmentHeader"></fieldset>
                          <br>
                          <pre>_______________________________________________
ZendTo mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
                        </blockquote>
                        <br>
                        <pre class="moz-signature">Jules

--
Julian Field MEng CITP CEng
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.Zend.To" target="_blank">www.Zend.To</a>

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
 I see it shining plain,
 The happy highways where I went,
 And cannot come again.' - A.E. Houseman
</pre>
                        <br>
                        _______________________________________________<br>
                        ZendTo mailing list<br>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-abbreviated"
                          href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"
                          target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
                      <br>
                    </div>
                    <br>
                    _______________________________________________<br>
                    ZendTo mailing list<br>
                    <a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
                    <a moz-do-not-send="true"
                      class="moz-txt-link-freetext"
                      href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"
                      target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
                  <br>
                </div>
                <br>
                _______________________________________________<br>
                ZendTo mailing list<br>
                <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
                <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"
                  target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
              <br>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
ZendTo mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
          </blockquote>
          <br>
          <pre class="moz-signature">Jules

-- 
Julian Field MEng CITP CEng
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.Zend.To" target="_blank">www.Zend.To</a>

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
 I see it shining plain,
 The happy highways where I went,
 And cannot come again.' - A.E. Houseman
</pre>
          <br>
          _______________________________________________<br>
          ZendTo mailing list<br>
          <a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
          <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'Teach a man to reason, and he will think for a lifetime.' - Phil Plait
'All programs have a desire to be useful' - Tron, 1982
</pre>
  </body>
</html>