Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

URGENT - Facebook Connect pop up Coming Blank

10 years 2 months ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

The facebook integration is not working correctly.
1. I have created a facebook app correctly following the documentation
2. The facebook app settings may been seen in the below images

Attachment fb-app1.png not found



Attachment fb-2.png not found



Attachment fb-app3.png not found



3. When a user clicks on the facebook connect button, it goes to facebook and asks for permissions
4. After clicking okay, it asks as to whether the user is new member or existing, we select new member and click next
5. No it shows the blank pop up and nothing happens after that.
6. I have created the app twice but problem is not resolved.
7. I do not know how to check the error using firebug. As I am not an IT Guy by profession.

Attachments:
10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi There,

Could you make sure you server support with PHP library "fsockopen", please? this issue I think related with it.

thank you

10 years 2 months ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

My Site is hosted with siteground.com and regarding fsockopen(), they having following in their FAQs.

I have just raised a ticket regarding this. Will revert once I will receive their reply. Please DO NOT CLOSE this ticket

The PHP function fsockopen() may not work because of firewall restrictions on the outgoing connections.

In such cases the port required for the outgoing connection should be opened. You can request this by opening a ticket through your Help Desk > Port Opening Request.

If you want to be able to use different PHP settings and PHP versions on a per-folder basis, you can sign up for a hosting account at SiteGround. We offer the best PHP hosting and our support team is ready to assist you with any PHP questions/problems you may have, including opening outgoing connections from non-standard ports.

10 years 2 months ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

Siteground Guys have enables fsockopen in my cpanel, but still the issue remains same ( NOT RESOLVED )

May be you need to check my site, Admin Details already provided in first post.

10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Mamta,

Can you provide me FTP access, please? So I can check this.

thank you

10 years 2 months ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

I have provided FTP details by editing the original post. Now you can see FTP Details in that post.

Siteground guys have put a php.ini file in public_html folder to enable fsockopen

10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Mamtha,

Seems the fsockopen doesnt enabled correctly, I check with this code thesocialindian.in/check_fsockopen.php

<?php 

if(!function_exists("fsockopen")) {
	echo "Function fsockopen Exists";
}else{
	echo 'Function fsockopen no exist';
}
?>

10 years 2 months ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

Hello,

I have again contacted siteground hosting support. and they have checked that fsockopen function is enabled.

There reply is as below. And from the url thesocialindian.in/i.php you can check that allow_url_fopen On is showing in php config.


Hello Mamta,

I crated a php info file inside your hosting account called i.php that you can access from the following link:

thesocialindian.in/i.php

There you can see that the fsockopen is available "allow_url_fopen On ". I checked the file you are using to check if the function is available and found that your login in the function is wrong. You are echoing "function not exists" when function_exists returns true.

Best Regards,

Simeon Boev
Technical Support Team

Please check again and guide what to do to make fb connect work

10 years 2 months ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

Dear Sir,

Is there any possibility like fsockopen must be enabled for a specific port for jomsocial , if any such issue, please guide regarding that as well, so that i can check with hosting guys

10 years 1 month ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

Dear Sir,

Siteground guys have replied again confirming that fsockopen is enabled there reply is below

Hello Mamta,

For your convenience I have created the file mentioned in our knowledge base:

thesocialindian.in/fsockopen_sg.php

Indeed fscokopen is enabled on the shared server.

If you need any further assistance don't hesitate to contact us again.

Best Regards,

Teodor Chilov
Technical Support Team

10 years 1 month ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Mamta,

hem.. I think this issue cuased by the FB oAuth Flow, last time they changed the API and oAuth, actually our developer is inspecting this..

For time being you can use the JFBC component, and in Jomsocial page you choose "Use SourceCoast's JFBC" to Yes

10 years 1 month ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

earlier, Iwas recieving some other error i just came to know today itself about an hour back and now i forced to redirect all url to www.domain.com due to which the error shown google chrome inpect element console changed

Now it is showing error as below

event.returnValue is deprecated. Please use the standard event.preventDefault() instead. joms.jquery-1.8.1.min.js:14
Uncaught SyntaxError: Unexpected token < ajax_1.5.pack.js:1
Jax.processResponse ajax_1.5.pack.js:1
xmlhttp.onreadystatechange ajax_1.5.pack.js:1


May be this information is of any help for you.

JFBC is a paid download, However i do not want to pay for it when jomsocial has fb connect

10 years 1 month ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Mamta,

Where did you get it? and how can I replicate this? i think that is different issue, if you have that issue please create new topic for that.

regarding FB issue, let our developer inspect the FB oAuth flow.

10 years 1 month ago
  • Mamta's Avatar
    Topic Author
  • Mamta
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Licenses:
JomSocial Expired

In my opinion FB issue is due to this error.

Steps to replicate this in Google Chrome
1. go to url thesocialindian.in
2. right click and select inspect element, a window in bottom of browser window opens - SELECT CONSOLE FROM the menu of This Window.
3. click on sign in with facebook
4. Sign into facebook in the pop up and click next
5. select i am currently a New User and click next
6. Now New Member Form will be displayed. Your Name and Email will be picked up through facebook and you have to mention a username. Now mention the username and click Create
7. Now the pop-up goes blank
8. And you can see the inspect element window in bottom of the browser where the error is visible.

This error has ocurred due to execution of FB connect script

Well, I am not a techie person, i came to know this just by chance searching the internet and came to know the way we can check any error in execution of any script can be seen through inspect element in google chrome using console option

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW