[ZendTo] Re: bug logging in

Brendon Baumgartner b at brendon.com
Tue Nov 13 19:03:56 GMT 2012


Oh cool. I should have continued reading. Thanks. Svn please :)

Sent from my SmartPhone

On Nov 13, 2012, at 10:41, Jules <Jules at zend.to> wrote:

 I have found the problem. It turns out it was one I was already testing a
fix for, but had since forgotten about and so had never copied into the SVN
tree.

If you want to patch your own copy, find the file
    /opt/zendto/www/js/main.js
Line 8 of that file creates and sets a variable called "loginForm".
Change that line to say
    var loginForm = $('<form>', { id: 'loginForm', 'method':'post',
'action': '.' });
and then try it again. You'll need to reload the main menu page shown in
your "SCREENSHOT A" again to force your browser to reload the JavaScript
code, but then you should find it works again.

This fix will be in the next release of 4.11 which I intend to make a
"stable" release as no other bugs have been reported, so I assume it works
okay.

NOTE
And don't forget to update the URL of the site image in
/opt/zendto/config/zendto.conf so that it points to the URL wherever you
have put your site image (if you are using one instead of a site name
specified by text). For example, my zendto.conf file says:
ServiceLogo = '<img src="/images/dropoff-uos-logo.png" alt="University
Logo"/>'
rather than the more boring
ServiceLogo = 'University of Southampton'

Jules.

On 12/11/2012 23:28, Brendon Baumgartner wrote:

I just installed 4.11-1

 When I login using this page (I think it's ajax/Js). The "Login" button at
the top of the page. See screenshot A.

 <mime-attachment.png>

 When I log in successfully I get screenshot B, which is obviously wrong.

 <mime-attachment.png>

 I think the problem occurs because I have the software setup as a
subdirectory instead of a root URL? If I use the blue login button, it
works fine but the gray login button does not work correctly.

 Thanks.
-Brendon


_______________________________________________
ZendTo mailing listZendTo at zend.tohttp://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto


Jules

-- 
Julian Field MEng MBCS CITP CEngwww.Zend.To

Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'Always do sober what you said you'd do drunk. That will teach you
 to keep your mouth shut.' - Ernest Hemingway

 _______________________________________________
ZendTo mailing list
ZendTo at zend.to
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20121113/5321de6b/attachment.html 


More information about the ZendTo mailing list