[ZendTo] Re: bug logging in
Jules
Jules at Zend.To
Tue Nov 13 18:38:23 GMT 2012
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.
>
> Inline image 1
>
> When I log in successfully I get screenshot B, which is obviously wrong.
>
> Inline image 1
>
> 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 list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> --
> Julian Field MEng MBCS CITP CEng
> www.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20121113/569cf666/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 45493 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20121113/569cf666/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 17866 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20121113/569cf666/attachment-0003.png
More information about the ZendTo
mailing list