Solved

JQueries Crashed Problem I guess on Magento

Posted on 2013-11-24
6
654 Views
Last Modified: 2016-03-02
Uncaught ReferenceError: FB is not defined                                                  (index):154
(anonymous function)                                                                                    (index):154
o                                                                                                             jquery-1.7.2.min.js:2
p.fireWith                                                                                               jquery-1.7.2.min.js:2
e.extend.ready                                                                                       jquery-1.7.2.min.js:2
c.addEventListener.B

What does it meant when I see that error on console?

How can I fix?

I have a custom theme, after I install a facebook like coupon extension (a popup box with coupon code will be appeared and generated when I click facebook LIKE button on product page). However, the facebook module work but some of my customed theme block gone or contents does not load. I tried to rename the js folder which put in folder skin/frontend/customtheme/js on server, the theme back to work but the facebook popup box with coupon code doesnt appear.

How can I fix? Thanks for your help.....
0
Comment
Question by:camcam1234
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39673333
I have added javascript and jquery as topics.

COBOLdinosaur, Topic Advisor
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39673339
To start with you might want to download the latest version of jquery (1.10.2) as you are using 1.7.2 and that is an older version.

Then you might want to check the error console when you load the page to see if something is failing to load and that results in undefined elements.

The uncaught exception does not tell us anything ecept that you have a fatal error.  Without a link to the page there is no way for us to know what is wrong with the code.

Cd&
0
 

Author Comment

by:camcam1234
ID: 39673405
Thank you http://www.i-senses.com/for-her-6.html here you are the link.
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39674792
28 CSS files, 22 js files, including the old 1.7.2 version of jquery loaded twice from 2 different sources.  Error console full of warnings and at least one hard error, and the page does not validate, including an error about undefined FB properties.

The page is a disaster.  It need drastic cleanup, trimming and rationalization.  There is no valid page on Earth that must have 28 CSS files and 22 js files to run.

I would not even begin to know how to run corrective diagnostics until the code is cleaned up.

Cd&
0

Featured Post

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I wrap text in dialog window 6 34
Different Javascript on iPhone than Win 10 desktop? 7 54
Form submit takes only for one form 23 53
jQuery Tree with Draggable items 11 22
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In th…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question