Topic-icon logout redirection 404 error

Active Subscriptions:

None
12 years 10 months ago #34923 by agmnet
when a user logout from facebook or site it redirects him to homepage where i set but with error 404 page not found, my site is elmarada.org and when someone logs out it redirect him to elmarada,org but with this error 404 page not found, i tried to change the redirection page but same results, error 404 or error 35 page not found, joomla login module works fine. any suggestions!?
The topic has been locked.
Support Specialist
12 years 10 months ago #34934 by alzander
What is the URL that's shown in the browser address bar when the 404 is shown? If it's the correct home page URL, then it means something else on your site is acting up. I'd recommend disabling any SEF extensions, 404 managers, security extensions or redirection tools you may have enabled on your site to narrow down what may be interfering with that page.

Let me know what you find and we'll gladly help diagnose things further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #34970 by agmnet
Replied by agmnet on topic logout redirection 404 error
Dear Sir,
I disabled joomla redirect plugin, and i still get the same errors. 35:error:35 the page is not found. the login is working but the logout is not.
i tried with joomla login module. it is working fine for login and logout.
so please if you can specify my problem and you can try it by urself: elmarada.org
The topic has been locked.
Support Specialist
12 years 10 months ago #34976 by alzander
I'm still unable to login to your site using Facebook. Doing a little research on the error message I see, "The specified feature has been temporarily disabled for this application".

Can you go to developers.facebook.com/apps -> Settings (Advanced) -> App Restrictions and check if you have restricted your application to a specific country or territory? From the US (where I am), I'm unable to login to your app using Facebook, and it's likely that you've placed some restriction on the application that is causing this problem.

Once we can register with Facebook, we'll gladly investigate why the logout functionality isn't working.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #35003 by agmnet
Replied by agmnet on topic logout redirection 404 error
please try now to login. i changed some settings in the app
The topic has been locked.
Support Specialist
12 years 10 months ago #35012 by alzander
Thank you for updating your application. I was able to login using Facebook now and my account was automatically created as expected.

However, I'm not sure what's causing the error on your home page during the logout process. When we change the logout redirection URL in the SCLogin module, the new value isn't being used. The user is always redirected to the home page but that error message is showing. It seems like something else is causing the redirection and not JFBConnect since it's not going where we are configuring it to go to.

Our logout code is being completely revised in the upcoming v5.1 release and should definitely fix this issue since we'll be relying on Joomla's standard logout functionality. That release will be out in the 2nd half of August. Until then, if you're ok with making the following code change, it should fix the logout button. To do so, please edit the /modules/mod_sclogin/helper.php file. Around line 385, you'll see:
function getLogoutButton($useSecure, $jLogoutUrl)
    {
        if ($this->isJFBConnectInstalled)
        {
Change that to:
function getLogoutButton($useSecure, $jLogoutUrl)
    {
        if (false)
        {
That will use the standard Joomla logout functionality, which should be fine for your configuration.

Please let me know how that goes, and sorry for the trouble.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #35026 by agmnet
Replied by agmnet on topic logout redirection 404 error
Thanks for your help, i changed the code as given but it didn't work!
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #35056 by agmnet
Replied by agmnet on topic logout redirection 404 error
Any new suggestion please?
The topic has been locked.
Support Specialist
12 years 10 months ago #35060 by alzander
Sorry for the delay. The change I asked you to make actually did what it was supposed to, but I do still see the problem. That change altered our logout button to use the exact same logout functionality that the Joomla login module uses.

Can you try to enable the mod_login module (the standard Joomla login module) on the page and test with that as well? If it does work, can you leave it enabled on a page so we can see what may be different or going wrong. You can leave it on some interior menu item so all users don't see it.

If the standard Joomla login module doesn't work as well, that means it's likely not a JFBConnect issue as the logout functionality is a core part of Joomla. I wouldn't know what the problem is though, at that point.

I hope that helps, and let us know how it goes.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #35111 by agmnet
Replied by agmnet on topic logout redirection 404 error
well i enbaled it in page elmarada.org/login-register
u can use account: test - test
u can see when u logout with joomla no problem but when u logout from sclogin it gives you error
The topic has been locked.