Topic-icon Login button not working

Active Subscriptions:

None
14 years 3 weeks ago #22806 by fb_506903577
Hi - I reported a problem with logging in using JFBConnect on my site on the following thread which has now been closed:

www.sourcecoast.com/forums/jfbconnect/jf...n-button-not-working

Unfortunately my site is still not working, and I've gone through the suggestions in the final post on the above thread, including upgrading to Joomla 2.53, installing the newest versions of JFBC and running the error check which didnt identify any errors with the setup. I've also removed the 'Frontend Access' plugins and corrected as many css errors as I was able to.

The problem is present every time I click the Login with Facebook button and it redirects to the page:

www.mkfm.com/index.php?option=com_jfbcon...w==&cb=1337295986614

Which has the error: 500 View not found [name, type, prefix]: jfbconnect, html, jfbconnectView

Please can you have another look at my site (login details as previously emailed to alzander).

Thanks

Chris

System Information

I am using Joomla 2.5.2 with Rockettheme Momentum template.

PHP Built On Linux galaxy.nemoweb.co.uk 2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 i686
Database Version 5.0.95-community
Database Collation utf8_general_ci
PHP Version 5.2.17
Web Server Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.2.17
WebServer to PHP Interface apache2handler
The topic has been locked.
Support Specialist
14 years 3 weeks ago #22813 by alzander
Replied by alzander on topic Login button not working
Chris,
I periodically delete older PMs for security and privacy sake. We get a lot of admin credentials for sites, and prefer not to have them sit in our inbox forever (since many admins don't downgrade us after we're done).

Can you re-send the Private Message with admin details and we'll take a look?

Finally, we have another user that was having a similar (but different) issue on a multi-lingual site. Are you using multiple languages or anything else that requires/sets up unique URLs for specific user types? Just a thought...

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

None
14 years 2 weeks ago #22979 by fb_506903577
I've PMed these details to you... No it's not a multi-lingual site.

Chris
The topic has been locked.
Support Specialist
14 years 2 weeks ago #22990 by alzander
Replied by alzander on topic Login button not working
Chris,
I just got into the admin area and looked around. I could easily recreate the problem on the front-end. However, in the admin area, I couldn't find any obvious configuration problems.

I then cleaned the Joomla cache, and the error went away. Can you try and test yourself? It's possible it was a corrupted cache or something similar causing the problem. If you run into the problem again, can you try disabling the System - Cache plugin (temporarily) and see if it goes away? That will at least help narrow down where the problem may be originating from.

Thanks,
Alex
The topic has been locked.
Support Specialist
14 years 2 weeks ago #23013 by alzander
Replied by alzander on topic Login button not working
Chris,
Thanks for the details. We're still not sure exactly what's causing the problem, but did some more investigation today. With the Joomla cache cleared, it worked. However, it then seemed to break again this morning (meaning the cache refreshed with some 'bad' data, somehow).

I put in a temporary fix to basically prevent caching on the Login/Register page of JFBConnect and that will hopefully work around the issue for now. We haven't narrowed down the actual cause yet, but are trying to on another site which it is easier to reproduce the problem (and therefore, understand it).

Please feel free to test with the current solution, let us know how it goes, and we'll let you know if we come up with a different/better solution.

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

None
14 years 2 weeks ago #23035 by fb_506903577
Thanks for taking the time to check this out for me... the new cache settings definitely seem to be helping - it's working OK for me at the moment...

One possibly unrelated issue - I did find that when I first looked at the site tonight I was getting the iPad version (on Chrome and IE9) - this is selected by the Tap Theme System plugin... and I've changed the template selected in this for iPad browsers from "iPad - Default" to "iPad" and this has fixed it...not sure if this has anything to do with the JFBC issues but thought I'd mention it...

I'll keep an eye on it and let you know if it's still working tomorrow.

Chris
The topic has been locked.
Support Specialist
14 years 2 weeks ago #23040 by alzander
Replied by alzander on topic Login button not working
Chris (and a few others that I will be pointing to this page),
Nope, that's not it. We found out where the conflict is coming from. It's the "System - FeedGator pseudo-cron Plugin". When enabled, when it's time for that plugin to execute, it will try to overwrite the task variable in the URL with their own function, called 'pseudocron'. That means that JFBConnect's task of "loginFacebookUser" is not being detected, and therefore, our code doesn't operate which then results in a 500 error.

I'm not sure what that plugin does, or why it's interfering in the way that it is. However, we were able to get onto one users site and dig down and absolutely verify that our task wasn't being called during the login process. We didn't try to determine what it was doing or why though.

Here's what we'd recommend:
* Set the "System - FeedGator pseudo-cron Plugin" Access level to "Registered" or "Special". That should only allow it to execute when the user is already logged in. Since Guests are the one clicking the Login With Facebook button, that should prevent this conflict
* Contact the developer of that extension and let them know it has issues. From a quick search, I found multiple results in Google of users talking about 500 errors with many extensions and templates when that plugin is enabled. Setting it to "Registered" should fix JFBConnect issues, but I think you'll run into similar problems with other extensions.

Definitely hope that helps, and please let us know what you find!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 2 weeks ago #23044 by fb_506903577
Thanks - that's very helpful... Feedgator is an extension which generates articles from RSS feeds and has a cron job which runs every hour to import the articles - I dont think I am using the pseudo-chron plugin for it which is for when you cant run cron jobs on your server.... I'll see if I can just disable the plugin.

The reason I just came back to this thread was to report that JFBC login had just stopped working again and when I disabled the 'System - TapTheme' plugin it fixed it and it's now working fine again (although taptheme is obviously no longer working)... could this be another issue or just a coincidence?
The topic has been locked.
Support Specialist
14 years 2 weeks ago #23046 by alzander
Replied by alzander on topic Login button not working
Just to make sure, if you re-enable the TapTheme plugin, it fails again? Haven't heard of that issue before, and we know quite a few users that use TapTheme.. so it 'should' work :)

When it doesn't work, are you getting the same results as before? A 500 error on the login page, or is it something else? Also, obviously try with the Feedgator pseudo cron plugin disabled, since that could be causing part of the issue too.

Keep us posted, and thanks!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 2 weeks ago #23049 by fb_506903577
I've re-enabled the tap theme plugin but left feedgator pseudo cron switched off (I dont need this plugin anyway) and it seems to be working fine now... but I will test it again later. Maybe the tap theme plugin was activating the feedgator plugin when it re-selected the template on login....
The topic has been locked.