Advertisement:

Author Topic: Js not work when upgrade to 3.7.3  (Read 1184 times)

ala

  • Full Member
  • ***
  • Posts: 213
Js not work when upgrade to 3.7.3
« on: July 12, 2017, 09:10:27 am »
i have upgrade my osclass from 3.7.1 to 3.7.3  then my website not work js
before it work well

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Js not work when upgrade to 3.7.3
« Reply #1 on: July 12, 2017, 09:41:19 am »
Loos like jQuery is not being loaded, please check it and make sure it's available

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #2 on: July 12, 2017, 10:06:10 am »
@_CONEJO

Everything is work well but error after upgrade

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Js not work when upgrade to 3.7.3
« Reply #3 on: July 12, 2017, 10:14:08 am »
Please, share the URL of your website

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #4 on: July 12, 2017, 10:15:00 am »
also in admin panel plugin not work when hover on plugin menu

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Js not work when upgrade to 3.7.3
« Reply #5 on: July 12, 2017, 10:16:38 am »
again, please share your URL, if you are not comfortable making it public, send it to desteban@osclass.org

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #6 on: July 12, 2017, 10:17:02 am »
url has been send

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #7 on: July 12, 2017, 10:19:37 am »
hover in left menu admin panel not work   :'( :'( :'(

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Js not work when upgrade to 3.7.3
« Reply #8 on: July 12, 2017, 10:26:22 am »
You have a lot of <script> in the <head> move it somewhere else.

If you open the browser console you will see clearly the issues,

Code: [Select]
ReferenceError: jQuery is not defined[Learn More]  cammarkets.com:340:1
ReferenceError: jQuery is not defined[Learn More]  cammarkets.com:369:1
ReferenceError: transparent is not defined[Learn More]  vidbg.min.js:6:3184
Error: Missing required parameters: sitekey  recaptcha__en.js:394:182

In line 340 you are using jQuery, before it's loaded. Move the code to AFTER the libraries are loaded. From what I see, this has nothing to do with version 3.7.3, but with some ¿plugin? popup_facebook_box ?

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #9 on: July 12, 2017, 10:33:27 am »
@ _CONEJO why js in admin panel not work too

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #10 on: July 12, 2017, 10:36:18 am »
i have uninstall FB popup plugin but it still not work

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Js not work when upgrade to 3.7.3
« Reply #11 on: July 12, 2017, 10:41:19 am »
I don't have access to your admin, so can't see what is happening there, but

1.- Open your browser's console
2.- Go to your website (public or your admin, where you are having issues)
3.- See what's there


Right now, there's this:

Code: [Select]
ReferenceError: transparent is not defined[Learn More]  vidbg.min.js:6:3184
Error: Missing required parameters: sitekey  recaptcha__en.js:394:182


So, some script called "vidbg.min.js" (which resides at yourdomain.tld/js/vidbg.min.js , so it's not a plugin, not a theme, you put it there) have some issues, you need to fix it.
The next issue is that you didn't configure your recaptcha keys, this is in yoru html

Code: [Select]
<div class="g-recaptcha" data-sitekey="">

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #12 on: July 12, 2017, 10:47:41 am »
it video background banner below search bar, now it not work, i will disable it for testing

ala

  • Full Member
  • ***
  • Posts: 213
Re: Js not work when upgrade to 3.7.3
« Reply #13 on: July 12, 2017, 10:54:33 am »
<div class="g-recaptcha" data-sitekey="">
i can't add key in admin because i hover on menu in admin panel it not work
and i disable  video background banner now it still have problem