× Joomla Facebook Connect support forum

Topic-icon Unstable with IE 7 & 8: HTML Parsing Error: KB927917

Active Subscriptions:

None
Hi:

I have bought and install all the JFB connect, invite and login components and have installed it in my test production site. <!-- m --><a class="postlink" href="new159.puxzycat.com">new159.puxzycat.com.

What I find is that IE will hang if I load the page sometimes. The problem is most apparent when I try to load the JFBConnect page which is placed inside an article with {loadposition 'position'}. Sometimes it loads, sometimes it doesn't and hitting refresh will solve the problem. And the worst thing is that sometimes it hangs and the IE will say it can't find the webpage.

With firefox, it is much more stable. I have tested it with both IE8 and IE7, both seems to be doing the same thing.

As it is quite a random event, it's hard for me to tell you exactly what I did to cause the problem. What I am doing is to test the solution is to login, logout, login, logout, load the invite page, etc. One out of say every 10 page loads, the problem surfaces.

I am totally confused as this instability is not acceptable to put on the production site. However, implementing facebook connect very high priority for us.

Whenever this happens, I get an error as described below:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
Timestamp: Thu, 6 Aug 2009 11:22:16 UTC


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: <!-- m --><a class="postlink" href="new159.puxzycat.com/index.php?option=com...59&Itemid=95&lang=en">new159.puxzycat.com/index.php?op ... 95&lang=en


Message: 'FB' is undefined
Line: 78
Char: 5
Code: 0
URI: <!-- m --><a class="postlink" href="new159.puxzycat.com/index.php?option=com...59&Itemid=95&lang=en">new159.puxzycat.com/index.php?op ... 95&lang=en



If you need an admin username and password, I can create one for you and PM you.

Thanks.

Albert
The topic has been locked.
Support Specialist
14 years 8 months ago #1855 by alzander
The variable FB is defined by us, but references a Javascript object from Facebook's client. We have no control over whether this instantiation goes well or not, but it's important that it does for functionality to work.

Facebook seems to have made some changes to their API over this week, which sometimes causes instability when they upgrade as it rolls out slowly. I would definitely suggest closing the browser, clearing cache, etc and trying again to see if the instability remains.

As for inserting the module in your page as referenced here , we'll be releasing a new JFBCLogin module today which should correct that issue.. though I'm assuming you've already come up with the solution of changing require to require_once in the mod_jfbclogin.php helper as described here .

Sorry for the delay in response.
The topic has been locked.
Support Specialist
14 years 8 months ago #1856 by alzander
Oh, also, since Facebook heavily relies on Javascript code, please ensure that other JS code on your page is performing as expected. If you have a complex (flashy) template, you may want to try with the default Khepri template on a 'bland' page (some article, not a glitzy component page) and see if the issue remains there. If not, try to narrow down the template or component that may be interfering.
The topic has been locked.
Active Subscriptions:

None
Thanks for your reply...

Microsoft IE is undoubtedly the worst browser ever. I had so many problems with it and everytime I do something, I have to check against it. So unfortunate that it is the most popular due to their marketing strategies. I guess that's life.

I had been trying to solve these issues on my own and I found a forum where it said that the developer tool can interfere and cause these problems. So I un-installed IE8 with developer tools and installed IE7 instead.

That seemed to solve the problem!

In fact, after some testing, it wasn't your Facebook connect and login modules that are causing the problem, my template was causing a lot of problems as well. But it wasn't as often.

Thanks for your advice on changing the template to default joomla templates. That was a really good idea to isolate problems. Pointers like these to newbies like me really help and I appreciate your help.

Best regards,

Albert
The topic has been locked.
Support Specialist
14 years 8 months ago #1888 by alzander
No problem, glad we could help you find the issue!
The topic has been locked.