Solved

JQueries Crashed Problem I guess on Magento

Posted on 2013-11-24
6
634 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now