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.

Type: Discussion
Status: New
chris123uk
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi

Thanks for your message. May I know the version of your eCommerce Express as well as your C5?

JZ
chris123uk replied on at Permalink Reply
chris123uk
Ecommerce Express (1.4.18.1)

# concrete5 Version
5.6.2.1
jb1 replied on at Permalink Reply
jb1
Have you tried using the latest version of eCom Express? We've tested it and couldn't seem to replicate it.

JZ
chris123uk replied on at Permalink Reply
chris123uk
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.
jb1 replied on at Permalink Reply
jb1
Sounds like it. Are you using the same browser when using the proxy?

JZ
chris123uk replied on at Permalink Reply
chris123uk
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.
chris123uk replied on at Permalink Reply
chris123uk
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.
jb1 replied on at Permalink Reply
jb1
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
chris123uk replied on at Permalink Reply
chris123uk
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
jb1 replied on at Permalink Reply
jb1
I see. So is that working well now with your server?

JZ

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.