× Joomla Facebook Connect support forum

Topic-icon Java Script Errors.

Active Subscriptions:

None
15 years 4 months ago #7027 by fb_1548674758
Alex,

I just recently purchased the FBC plugin from you guys, when i first installed it it had some issues, when I post here about you guys responded right away and took care of my issue like true professionals.... something rare these days. When you were solving my issue you pointed out me that my site had some JavaScript issues, How were you aware of this and How can i go about correcting them? (in case you can't tell I am quite the novice)

thanks in advance for your help.
The topic has been locked.
Support Specialist
15 years 4 months ago #7033 by alzander
Replied by alzander on topic Java Script Errors.
There's a few great ways to check for Javascript errors. By far the easiest is to install the Web Developer Tools for Firefox:
addons.mozilla.org/en-US/firefox/addon/web-developer/

I love this tool the best not because it has a ton of options (which I use on occasion) but because in the top right of the toolbar, there should be 3 green checks on every page. These checks are for CSS errors, JS errors, and Standards errors. The JS check is the most important (to us), when it turns to a red-x, something's wrong. Not all errors are critical, but always good to look into, and the reporting usually gives a great hint as to where the problem is coming from.

In addition to that, there's plenty of great other tools like the Firebug add-on for Firefox or the developer tools for Chrome (hit Ctrl-Shift-I on any page and go to console to see Javascript errors.. but it's not as detailed as the Web Developer tools above). For more information on debugging, and finding, Javascript errors, check out:
addons.mozilla.org/en-US/firefox/addon/web-developer/

Hope this helps, and good luck! If you have other 'general' questions, fire away :)
The topic has been locked.
Support Specialist
15 years 4 months ago #7034 by alzander
Replied by alzander on topic Java Script Errors.
Amusingly enough, I just looked at the other thread you mentioned and remember it well because I made a mistake.. The one issue with Firefox's Javascript console and the Web Developer tools is that you need to clear the Error Log when you're looking for a specific error. When you open it, any errors you've seen on any page will show up. I realized, a few days after your post, that the errors I referenced weren't actually on your site (the domain of the errors wasn't yours, which can happen), but actually a site I had visited a minute before.

So, another tip.. clear the error log and then refresh a page (or click a button or whatever) to make sure the error you think you see is really there :)

Hope I didn't cause you too much frustration trying to hunt down my mis-reported JS errors!
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #7040 by fb_1548674758
Replied by fb_1548674758 on topic Java Script Errors.
I downloaded it and ran the program and it is saying fbIframe.style is undefined line 1104 and it just keeps pumping those out non stop.

Thoughts?
The topic has been locked.
Support Specialist
15 years 4 months ago #7095 by alzander
Replied by alzander on topic Java Script Errors.
I'm not seeing that error in the JS logs. Can you tell me:
* What page you're seeing it on (or all)?
* Are you logged into Facebook?
* Are you logged into your site?

Thanks!
The topic has been locked.