possible fail in jquery.lightbox-0.5.pack.js
Permalink Browser Info Environment
Hi. I had a site that failed to load in the js code within /httpdocs/packages/jb_ecommerce_express/js/jquery.lightbox-0.5.pack.js
This was breaking the product pages and throwing an error or underfined.
The jquery.lightbox-0.5.pack.js was in the correct folder on FTP and named correct.
I haven't worked on the site at all so the cause of the problem is uncertain.
but i just upgraded it to the following code (see link) keeping the file name the same and it worked:
https://code.google.com/p/joostina-lotos/source/browse/trunk/compone...
initially I though jquery might have updated its self to a new version and that might have caused a conflict but when I checked it was still v1.7.2 the default version that i think.. was installed with the CMS.
So not sure why it failed but i think it might be the eval wrapper in the code.
I have also seen this happen with superfish nav menus and i just had to upgrade the super fish js file to the latest version.
This was breaking the product pages and throwing an error or underfined.
The jquery.lightbox-0.5.pack.js was in the correct folder on FTP and named correct.
I haven't worked on the site at all so the cause of the problem is uncertain.
but i just upgraded it to the following code (see link) keeping the file name the same and it worked:
https://code.google.com/p/joostina-lotos/source/browse/trunk/compone...
initially I though jquery might have updated its self to a new version and that might have caused a conflict but when I checked it was still v1.7.2 the default version that i think.. was installed with the CMS.
So not sure why it failed but i think it might be the eval wrapper in the code.
I have also seen this happen with superfish nav menus and i just had to upgrade the super fish js file to the latest version.
Type: | Discussion |
---|---|
Status: | New |
Ecommerce Express (1.4.18.1)
# concrete5 Version
5.6.2.1
# concrete5 Version
5.6.2.1
Have you tried using the latest version of eCom Express? We've tested it and couldn't seem to replicate it.
JZ
JZ
it seems to be this new office internet we have.
its blocking certain js scripts. not sure why?
if i use a proxy we have no problems :X
thanks.
its blocking certain js scripts. not sure why?
if i use a proxy we have no problems :X
thanks.
Sounds like it. Are you using the same browser when using the proxy?
JZ
JZ
yes.
its a nanny state! oow JavaScript we don't trust you with that!
Its only certain js files. i noticed the superfish and lightbox ones both had eval(function( wrappers but that's a guess.
its a nanny state! oow JavaScript we don't trust you with that!
Its only certain js files. i noticed the superfish and lightbox ones both had eval(function( wrappers but that's a guess.
The logs on the fire wall say its because the js was obfuscated code:
http://en.wikipedia.org/wiki/Obfuscation_%28software%29...
basically the sonic firewall didn't like the minimised code.
http://en.wikipedia.org/wiki/Obfuscation_%28software%29...
basically the sonic firewall didn't like the minimised code.
I see. But jQuery itself is also a minimised version so I don't think that would be a problem. What browser are you using?
JZ
JZ
firefox and chrome.
i think its the way its been minimised?
I got the IT guy to turn off his £20,000 firewall.
So its not a problem now lol
i think its the way its been minimised?
I got the IT guy to turn off his £20,000 firewall.
So its not a problem now lol
I see. So is that working well now with your server?
JZ
JZ
Thanks for your message. May I know the version of your eCommerce Express as well as your C5?
JZ