× Joomla Facebook Connect support forum

Topic-icon Error loging in and out

Active Subscriptions:

None
15 years 5 months ago #6306 by skoegler
500 - View not found [name, type, prefix]: jfbconnect,html,jfbconnectView

I have set the site url according to the recommendation and when I refresh the page after getting this error, the login/logout has occured properly. I don't see how to resolve this.

Thanks
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6307 by overnightgeek
I'm also having this problem? Did you get an answer yet?
Thx
The topic has been locked.
Support Specialist
15 years 5 months ago #6311 by alzander
Replied by alzander on topic Error loging in and out
What page are you trying to hit? Can you give me the URL so we can see the HTML that's being generated?

Also, while we're checking, make sure that the Login Redirection URL is setup properly in the configuration area. May not be the cause, but a good thing to check.
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6312 by skoegler
Replied by skoegler on topic Error loging in and out
The site is koegler.net. Hit the Login with Facebook button. It displays the error at this url: koegler.net/component/jfbconnect/
The topic has been locked.
Support Specialist
15 years 5 months ago #6317 by alzander
Replied by alzander on topic Error loging in and out
Looking at the HTML on your site, there's more than just JFBConnect trying to manage interaction to Facebook. From what I can tell, it looks like you have MyAPI installed, which can be problematic. Can you disable this temporarily and see if that helps the problem.

The basic things that need to be removed are the following lines from the <head> section:
<script type="text/javascript" src="http://connect.facebook.net/en_GB/all.js"></script>
and
/* <![CDATA[ */
window.addEvent('domready',function(){
    FB.init({appId: "115920625135035", status: false, cookie: true,
             xfbml: false});
	FB.XFBML.parse();
});
/* ]]> */

We include similar lines in our code, and having both on the page can be problematic. Let us know when those are gone, and if you still have issues, we'll figure out the next step!
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6319 by skoegler
Replied by skoegler on topic Error loging in and out
I've uninstalled all MyAPI components but I still see the same error.
The topic has been locked.
Support Specialist
15 years 5 months ago #6328 by alzander
Replied by alzander on topic Error loging in and out
Thanks for disabling that, and sorry it didn't fix the issue. It's the first step.

What SEF component are you using? In the login and logout links that we insert into your page, the return URL that we're creating is blank. This is the cause of the problem, and obviously not correct. Not sure if it's the SEF component that's preventing us from seeing the 'correct' URL and inserting it, or if it's something else. If you disabled the SEF features on your site, I'm confident it would work (and worth a test), but obviously that's not a long term solution.

Keep us posted, and thanks for your patience.
The topic has been locked.
Active Subscriptions:

None
15 years 5 months ago #6348 by skoegler
Replied by skoegler on topic Error loging in and out
I had both ARTIO JoomlaSEF and SEF installed. I've disabled both and turned off the SEO settings (but left mod_rewrite enabled) and still get the same error.
The topic has been locked.
Support Specialist
15 years 5 months ago #6351 by alzander
Replied by alzander on topic Error loging in and out
I'm still seeing the return url for the login (or logout) redirection set to nothing. This is the cause of the 404 error, but I'm not sure why this is occurring. You can see the 'wrong' URL being generated yourself if you look at the HTML on a page. You'll see the following javascript in the fb_login_button_click function:
self.location = "http://koegler.net/index.php?option=com_jfbconnect&task=loginFacebookUser&return=";
That return= portion should have something after it.

From here, I think the next step is to look at your configuration and try to debug the issue. If it's possible, please private message us a super admin username/password to your site. You can PM us by clicking the arrow under my name to the left and clicking the mail icon. Although I'm not sure what the issue is now, we usually can fix these things quickly once we get access to your site.

Thanks,
Alex
The topic has been locked.
Support Specialist
15 years 5 months ago #6373 by alzander
Replied by alzander on topic Error loging in and out
Howdy! We got into the admin area of your site today and put in a quick fix for the problem. I honestly can't say I know why you were affected, but it seems to be working now. The issue (as we could tell) was only on the home page, but the fix should affect any pages that the problem would have occurred on (if more).

Please test and let us know if you run into any other issues. We've incorporated this minor change into our upcoming 3.1 release, so you shouldn't be affected by it when it's released and you upgrade.

Good luck!
The topic has been locked.