Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Javascript error

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
13 years 4 months ago #172060 by fribse2011
Javascript error was created by fribse2011
I get an error in Javascript with CB 1.7 in jQuery
Fx.Styles is not a constructor
d()jquery...44e02df (linje 15)
a = Document bruger.html
d()jquery...44e02df (linje 15)
a = Document bruger.html
c = "ready"
e = undefined
f = undefined
d()jquery...44e02df (linje 15)
a = "ready"
b = undefined
d()jquery...44e02df (linje 15)
a = undefined
d()jquery...44e02df (linje 15)
[Break ved denne fejl] */(function(a,b){function ci(a){retur...?a:a+"px")}}),a.jQuery=a.$=d})(window)

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 4 months ago #172073 by nant
Replied by nant on topic Re: Javascript error
where are you getting this exactly?
can you see such an error on this website (we are also using CB 1.7)?
What joomla version?
what else do you have installed?

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
13 years 4 months ago - 13 years 4 months ago #172092 by fribse2011
Replied by fribse2011 on topic Re: Javascript error
This is J1.7, CB 1.7.
I discovered it when trying to implement the Googlemap plugin.
I'm creating a site for my diving club, and I see this on the article I created that shows a map of where the diving club is at (because it made the googlemap plugin fail, so Mike Reumer pointed it out when I sought his help), and on the CB Profile page where the users address are plotted on a Google map. I suspect it to be on others, but I haven't looked for it.

I have three sources for jQuery, CB, Ignite Gallery and my awaken_lernvic.com template. I've disabled loading jquery in them all, except CB where I can't disable it, though I would very much like to, as it also makes my ignite gallery frontend upload disfunction.

I can PM you a login front/ back to the test site I'm working on?

The items installed:
CB
Jevents
Kunena
uddeIM
Ari Quiz Lite
Acymailing
Chronoforms
Qlue Custom 404
xmap
Akeeba Backup
Admin Tools

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 13 years 4 months ago by fribse2011.

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
13 years 4 months ago - 13 years 4 months ago #172095 by fribse2011
Replied by fribse2011 on topic Re: Javascript error
I've tried going through the plugins on the site, and disable them one by one, that didn't take care of the error.
As far as I can see, I do not see it on your site, so something is conflicting with CB here.

The error is different today (didn't change anything here):
Fx.Styles is not a constructor
[Break ved denne fejl] var capin = new Fx.Styles(boxcaption, {duration:500, wait:false});

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Last edit: 13 years 4 months ago by fribse2011.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 4 months ago #172101 by nant
Replied by nant on topic Re: Javascript error

fribse2011 wrote: I've tried going through the plugins on the site, and disable them one by one, that didn't take care of the error.
As far as I can see, I do not see it on your site, so something is conflicting with CB here.

The error is different today (didn't change anything here):
Fx.Styles is not a constructor
[Break ved denne fejl] var capin = new Fx.Styles(boxcaption, {duration:500, wait:false});


If you can replicate on a new site with just CB and Joomla installed, then it is worth investigating for potential CB issue.

Otherwise its something most likely connected with your development or something else on your site.

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
13 years 4 months ago #172155 by fribse2011
Replied by fribse2011 on topic Re: Javascript error
Ok, I'm working my way through all the components and plugins one by one on a new site.
The problem isn't there on an empty site.
But I'm seeing a script error after I've added a delimiter field, and I go to 'edit profile'.

obj is null
[Break ved denne fejl] obj.style.display = 'block'; userdetails (line 1100)

Which refers to this script:
<script type="text/javascript">//<![CDATA[
if (GBrowserIsCompatible()) {
obj = document.getElementById('mapbody0_rpoeq_0');
obj.style.display = 'block';
window.onunload=function(){window.onunload;GUnload()};
tst0_rpoeq_0.setAttribute("oldValue",0);
tst0_rpoeq_0.setAttribute("refreshMap",0);
if (window.MooTools==null)
tstint0_rpoeq_0=setInterval("checkMap0_rpoeq_0()",500);
else
window.addEvent('domready', function() {
tstint0_rpoeq_0=setInterval('checkMap0_rpoeq_0()', 500);
});
}
//]]></script>

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum