Solved

JQueries Crashed Problem I guess on Magento

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

Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This article discusses how to implement server side field validation and display customized error messages to the client.
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

632 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