Register   Login
     
  Latest Posts  
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
Using custom profile properties with [AUTHOR:XXX]
by mattbunce on 3/19/2010 9:34 AM
  Forums  
Subject: lighthouse js issue
Prev Next
You are not authorized to post a reply.

Author Messages
BradUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23

3/11/2009 8:34 PM  

I have jQuery-1.3.min.js installed in my skin.

I unchecked include jQuery, but now I am getting the following js error.

Syntax error, unrecognized expression: [@rel*=lightbox1767]'

any suggestions?

BradUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23

3/11/2009 8:42 PM  

Just found this

http://devkick.com/talk/topic/382/jquery-13/

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


3/12/2009 5:32 AM  
Is jquery included before lightbox is included?

Scott McCulloch
Site Administrator
BradUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23

3/12/2009 7:40 AM  

yes, my jquery is loaded first.

I am getting the same error as these guys in the following link :
http://devkick.com/talk/topic/382/jquery-13/

From what they are saying [@rel=...] has been deprecated since jquery 1.2 and it is now invalid in jquery 1.3

Here is the full error I am getting.

Error: [Exception... "'Syntax error, unrecognized expression: [@rel*=lightbox1767]' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: ""  data: no]

thanks for the help,

Brad

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


3/12/2009 2:00 PM  
OK, I'll need to look into it - I am using jquery 1.2.1 with the module and this is the first I've seen of this isssue.

Scott McCulloch
Site Administrator
caroigUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:385

3/13/2009 1:12 AM  

I'm having the same problem in my latest site - it's definately the @ that's causing the error.

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


3/13/2009 4:30 AM  
What made you upgrade to 1.3? 1.2 comes with simple gallery, are you using it for other module/skins?

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


3/13/2009 4:31 AM  
It looks like just removing the @ in @rel is the recommended fix.

Scott McCulloch
Site Administrator
BradUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23

3/13/2009 6:55 AM  
Posted By Scott McCulloch on 3/13/2009 4:30 AM
What made you upgrade to 1.3? 1.2 comes with simple gallery, are you using it for other module/skins?

Yes we are using jQuery in our main skin and other modules. 1.3 has some bug fixes we needed.

I belive this js is being generated server side, is there anything I can do before your next release?
Thanks
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


3/13/2009 7:00 AM  
For the normal module, yes. Modify /DesktopModules/SimpleGallery/Controls/ViewPhotos.ascx

Change @rel to rel (remove @).

For the latest module, it requires a code change.

Scott McCulloch
Site Administrator
caroigUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:385

3/23/2009 12:19 PM  

I've just upgraded Simple Gallery to the latest version (02.04.08) and I'm still getting an error related to the deprecated @rel

[Exception... "'Syntax error, unrecognized expression: [@rel*=lightbox1141]' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: ""  data: no]

Is there something else I need to do to get this working?

This is happening on the main gallery - I haven't checked latest

BradUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23

3/24/2009 7:19 AM  

hum... the latest upgrade seemed to fix my Gallery.

 

 

caroigUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:385

3/24/2009 8:42 AM  

I wonder if this bug could have crept back in.  

I've just looked at ViewPhotos.ascx from the 02.04.08 release and it's still @rel*

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


3/25/2009 6:39 AM  
I thought this was removed and it has been, but it wasn't packaged into the module correctly.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


4/08/2009 5:28 AM  
Can you try the last release?

Scott McCulloch
Site Administrator
caroigUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:385

4/25/2009 12:43 PM  

just installed it, and it looks fine.  thanks.

You are not authorized to post a reply.
Forums > General > Bugs & Problems > lighthouse js issue



ActiveForums 3.7