× Joomla Facebook Connect support forum

Topic-icon Site not working on IE 8 and IE 7

Active Subscriptions:

None
14 years 7 months ago #14707 by stiffler120
I am using your component for some months now, but I recently discovered that my site is unreachable for IE users due to your component that creates serious conflicts with the Microsoft's stupid browser!

As soon as i disable the plugin "System - JFBCSystem" the site works perfectly in IE, as soon as I enable it, then... it dosent!
I would like your help in order to solve this issue the domain is site
The topic has been locked.
Support Specialist
14 years 7 months ago #14709 by alzander
Can you post, or private message, the URL with problems? There are different reasons this can be caused, but we'll need to see the error in action to recommend a possible solution.

Thanks,
Alex
The topic has been locked.
Support Specialist
14 years 7 months ago #14715 by alzander
Thanks for the PM with the link and picture of the problem.

The error your seeing is due to very rigid requirements by IE7 and IE8 that were loosened up in IE9, which why you don't see it there if you've tried. The Javascript that the JFBCSystem plugin inserts uses some Javascript to modify the contents of the current page. If the HTML on the page has an open tags (an opening div without a closing one, or a similar span, etc), IE throws the error you're seeing when the Javascript tries to do its changes.

If you run your URL through the HTML validation tool at validator.w3.org, search for "end tag for" and you'll see about 5 occurrences at the very bottom regarding span tags that weren't closed. Those need to be fixed. They're not caused by JFBConnect, but they are causing JFBConnect problems:

Line 2264, Column 6: end tag for "span" omitted, but OMITTAG NO was specified

It looks like you just have 2 bad span tags in your template file.

You can ignore most of the other problems (including unclosed img tags). If that doesn't fix the problem though, let us know, and we'll rescan the results (there are many) to see if there are other known problems we can see.

Hope that helps get you started. If you need more help, let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #14719 by stiffler120
Hello Alzander and thank you for your reply

I did the changes you suggested me and fixed the mising "closing tags" but still the problem exists

What else can we do?
The topic has been locked.
Support Specialist
14 years 7 months ago #14725 by alzander
Thanks for closing those tags. The only other issues I'm seeing now that could be the problem is the following Javascript error:

Uncaught TypeError: Cannot call method 'getChildren' of null

I'm seeing that error in Chrome and Firefox, and is likely the same error as seen in IE. The error is coming from Mootools (which JFBConnect doesn't use). I'm not sure what is causing that error, but I'd recommend disabling any plugins or modules that are Javascript intensive to see what could be throwing it. That error, along with the Facebook Javascript code that we include are probably clashing.

Hope that helps narrow things down further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #14733 by stiffler120
I tried some changes and updates but still the problem remains, i think its something else now, can you plz check and tel me your opinion on it?
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #14900 by stiffler120
Dear alzander,
I know you are trying to help us all, but im really having serious problems and I dont know what to do,
I decided to use this component since it looked prety good, but Im really having problems with the IE 7 & 8 browsers.
I am really asking for further help in order to solve this problem, since the site fails to load on those browsers and ive tried everything to fix it but nothing works (The only way to work is to remove the component from the site :( )
The topic has been locked.
Support Specialist
14 years 7 months ago #14912 by alzander
Stiffler,
Very sorry for missing your last request.

I just tested in IE7 (7.0.5730.13) on Windows XP and am no longer seeing any Javascript errors or other problems. I was able to see the problems before when I recommended the HTML changes above. I do have the "Display a notification about every script error" setting enabled, so I should see warnings if there are problems.

You mention "I think it's something else now". What are you seeing, and with what version of IE? We'll do what we can to help you get to the bottom of it. If there's any steps I need to take to recreate the problem, just let me know, but things are looking much better now on my end. I can upgrade to IE8 on our test computer as well if you'd like me to test there. I also tested IE9 without issues, but that browser was never a problem.

Sorry again for the delay, and hopefully, we're almost there!
Alex
The topic has been locked.