Topic-icon Problem with apps setup and configuration

Active Subscriptions:

None
11 years 5 months ago #49998 by ismham
Hi,

we have done setup of JFBC by the Tutorial JFBC config but we still have problem with login.

We are working on dev. ver of the site on our staging1.besthalalholiday.com subdomain.
We have problem in setting apps, this is a message we get:

Warning: Issues were found with your site. Please check all tests below and correct any warnings or errors.

Test: JFBCSystem plugin is enabled
Fail: Not Detected! Please enable in the Site Config area of Autotune or in the Joomla plugin manager.

If the JFBCSystem plugin is enabled, but you still get this error, please check:
Your site is not in Offline Mode. If so, turn your site Online and re-run the Error Checker.
If you have a 'mobile template', disable it and re-test
Some templates have their own Facebook integration, and actively try to remove other Facebook extensions files. Try a different template.

No further tests can be run until fixed.


Our cURL in ON , plugin JFBC system is ON, site si ONLINE mode on our desktop ver of site.

Please, we need help because we have tried everything and our patient is at the end. We are trying to solve this problem for a whole day.
The topic has been locked.
Support Specialist
11 years 5 months ago #50003 by mel
The autotune check was run against the besthalalholiday.com/ address, not your development site staging1.besthalalholiday.com.

Autotune is just querying Joomla to determine what domain that Joomla is running on. Your site is not returning the staging1.besthalalholiday.com address. Are you using any sort of SEF extension that would be changing the base domain of your site?
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #50009 by ismham
We are not using any SEF plugin except core Joomla SEF plugin.

I can't find a solution. We have done everything by the tutorial.
The topic has been locked.
Support Specialist
11 years 5 months ago #50010 by mel
Just PM your super-admin credentials and we can take a look around your backend configuration.
The topic has been locked.
Support Specialist
11 years 5 months ago #50037 by mel
Thanks for the PM. We're honestly still unsure what's happening with your site. It does seem to be reporting the URL without the staging1 at the beginning for some reason that we can't determine.

I've gone ahead and checked your site for all of the issues that the Autotune Error Checker would look for automatically. There are no issues it would have found. For now, I'd just recommend skipping that tool and continue configuring things. If you run into any functional issues, just let us know, and we'll gladly help resolve anything you run into.

I hope that helps, and sorry for the inconvenience,
Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago #50254 by ismham
We are struggling with the settings of JFBC for a week and can not seem to get it to work.
The component on the subdomain does not work. registration does not work and therefore also Open Graph action. Configuration has been made according to the instructions on their official website.
Can we get help in configuring the component or we will ask for a refund for a product that is not working properly.
The topic has been locked.
Support Specialist
11 years 4 months ago #50255 by mel

registration does not work


1. In JFBConnect > Configuration > General, I turned on the "Integrate Into Joomla Login" option and navigated to your front-end Joomla users component login page staging1.besthalalholiday.com/en/index.p...com_users&view=login then clicked the Facebook button. A user was successfully created and logged in properly. I then disabled that option again and deleted the user to clean up and try #2.

2. I then used the SCLogin module Log in button found at staging1.besthalalholiday.com/en/ - When the modal was launched, I clicked the Facebook button and, once again the user was successfully created and logged in properly. I have not deleted the user and you can see the correct mapping in JFBConnect > User Map area that it is linked to my test FB account.

You will need to provide more detailed steps on how to reproduce what you are seeing with the registration failing. I am able to successfully register and log in via a Facebook user on your site.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago - 11 years 4 months ago #50256 by ismham
Can you please check for google user registration? It's not working.
I get 404 error.
Last edit: 11 years 4 months ago by ismham.
The topic has been locked.
Support Specialist
11 years 4 months ago #50257 by mel
I get the 404 when attempting to create a user with Google. Please take a screenshot of the settings in your Google Application, specifically for the Authorized Redirect URI's and Javascript Origins sections and attach to this thread. Please make sure they would be pointed at your staging site.
The topic has been locked.
Support Specialist
11 years 4 months ago #50332 by mel
After some debugging on your site, there's a really strange issue that we're perplexed by. There is an extremely bizarre issue with PHP that we've never seen before which is stripping out your subdomain from the redirecturi of the request. We've made a one-line change in the following file.

In /components/com_jfbconnect/libraries/authentication/oauth2.php around line 61, we changed
$this->setOption('redirecturi', JURI::base() . 'index.php?option=com_jfbconnect&task=authenticate.callback&provider=' . strtolower($p->name));
to
$this->setOption('redirecturi','http://staging1.besthalalholiday.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=' . strtolower($p->name));

This seems to fix the issue on your staging server. When you transfer your site live, we should re-evaluate whether the fix needs to go on there too. Let us know if you encounter any other strange behavior though.

-Melissa
The topic has been locked.