Go Back   Web Scribble Forums » Joomla » jConnector
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2009, 07:42 AM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Default Help! Causes errors with reCaptchas.

Hello all,

First of all, Facebook Connect worked like a charm out of the box, the only problem I noticed was on pages that used reCaptcha for assistance in removal of spam. Facebook connect keeps creating errors in IE8 when the two items are loaded on the same page.

Is there a work around for this?

Thanks,
Rob.
Reply With Quote
  #2 (permalink)  
Old 10-08-2009, 09:37 AM
Web Scribble Staff
 
Join Date: Jul 2009
Posts: 280
Default

Please try opening
templates/YOUR_TEMPLATE/component.php
templates/YOUR_TEMPLATE/index.php
and add the following code
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" ...
Reply With Quote
  #3 (permalink)  
Old 10-09-2009, 08:02 AM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Default

I've already added the required Facebook XFBML line. As mentioned, it works on all pages, except it seems to conflict with pages that load reCaptcha - such as contact us and register pages.
Reply With Quote
  #4 (permalink)  
Old 10-09-2009, 08:04 AM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Default

Here is the error output that IE8 displays:


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; MVH; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 9 Oct 2009 09:32:33 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
Reply With Quote
  #5 (permalink)  
Old 10-09-2009, 09:23 AM
Web Scribble Staff
 
Join Date: Jul 2009
Posts: 280
Default

Could you please PM me your FTP details?
Reply With Quote
  #6 (permalink)  
Old 10-09-2009, 09:52 PM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Default

Eugene I've found that the root of the problem is that reCaptcha is still trying to load itself before and after the page is loaded, which conflicts with other javascript functions (I.E. Facebook Connect). Other browsers manage javascript much better than IE8 (as you probably know).

Now, I need to figure out how to integrate the reCaptcha AJAX API, instead of the normal challenge it sends out. Hopefully that will cure the problem.
Reply With Quote
  #7 (permalink)  
Old 10-10-2009, 06:56 PM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Wink

It worked - I've integrated reCaptcha with its AJAX API, then set a delay to allow it wait until Facebook Connect has finished loading.

Thanks anyway Eugene!
Reply With Quote
  #8 (permalink)  
Old 10-12-2009, 11:22 AM
Web Scribble Staff
 
Join Date: Jul 2009
Posts: 280
Default

That's great, thanks for sharing this info!
Reply With Quote
Reply

Tags
recaptcha error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 07:09 AM.