× Joomla Facebook Connect support forum

Topic-icon Require a Guinea Pig!

Support Specialist
16 years 2 weeks ago #3773 by alzander
Replied by alzander on topic Require a Guinea Pig!
Hi again!
This is going to sound random, but after some research, the best explanation we've found for that error is that there's a Javascript error somewhere on your page. Going through your HTML line-by-line, the first (only?) javascript problem we found was in this block:
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}

In the "settings" line (it's on 2 lines) the 2nd line doesn't end with a semi-colon like it should. This would be ok if it was the last line of javascript, but then there's another definition after it for "win = ", which would be bad. It's best to add a semi-colon to the "win" line as well, actually. Can you please update the line (not sure where this is coming from) to:
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';

Hopefully that will get you going. Let us know when that's updated and we can keep looking at the code to see if there's other obvious issues.
The topic has been locked.
Active Subscriptions:

None
16 years 2 weeks ago #3774 by fb_610167664
Replied by fb_610167664 on topic Require a Guinea Pig!
Hiya,

I've added the semi-colon to both lines, but still no dice :-(

I also tried just stripping that code out, but it killed the page, so I guess it's quite essential!!!

Thanks again for all your efforts here!
The topic has been locked.
Support Specialist
16 years 2 weeks ago #3775 by alzander
Replied by alzander on topic Require a Guinea Pig!
Hrmm. Worth a shot.

We're stateside here, so this will probably be the last post for tonight. Not sure how intrusive this will be, but please try the following:
* copy the JFBCLogin module and put it in the "left" module position
* switch templates to rhuk_milkyway
* try logging in now

If possible, disable any 'flashy' modules, but since your template isn't using many of the module positions that rhuk uses, most will not appear anyways. This method will test if there are other javascript errors or conflicts in your page that we're not seeing, and at the very least narrow down the search. If it does work, then you'll need to start disabling modules and/or debugging your template to see where the conflict is. If it still doesn't work, you know where to find us. We'll get you going.

Obviously, once you test, you can switch back to your current template.
The topic has been locked.
Active Subscriptions:

None
16 years 2 weeks ago #3784 by fb_610167664
Replied by fb_610167664 on topic Require a Guinea Pig!
Hiya,

Sorry for the delay in replying!!

I've tried what you have suggested, stripping everything out and using the rhuk template, but the same problem is still presenting itself.

As with before, in Google Chrome, it'll partially work, however no data is coming across from facebook at all. IE still presents the error posted earlier on.

Cheers

Kevin
The topic has been locked.
Support Specialist
16 years 1 week ago #3816 by alzander
Replied by alzander on topic Require a Guinea Pig!
Uh oh. I just tried to go to your site and I'm getting a blank white page with the Plesk favicon.

Let us know when it's back up and if you need any more help.
The topic has been locked.
Active Subscriptions:

None
15 years 9 months ago #4574 by slipslide
Replied by slipslide on topic Require a Guinea Pig!
Hello, I'm having the same problem as this. Up until an hour ago, it was working fine, but now I see this same message and my site in the popup box. I'm not sure what could have changed in the meantime, I've not changed anything related to jfblogin since installation and since it has been working fine.
The topic has been locked.
Support Specialist
15 years 9 months ago #4600 by alzander
Replied by alzander on topic Require a Guinea Pig!
Slipslide, are you still having this issue? Sometimes Facebook has 'hiccups' where things go wrong, and there's not much we can do. If you are still having issues though, let us know your domain name so we can take a peek.

Thanks!
The topic has been locked.