Topic-icon System - JFBCSystem cause 404 error

Active Subscriptions:

None
12 years 9 months ago #35660 by french150
Hello. I use "user profile" plugin to force user to accept condition and terms content on joomla registration form. I enabled the joomla rewrite url. The problem is that when user click on TOS field to read the content he get a 404 error. This happens because the url of the TOS content is not rewritten. This happens for every url that is not rewritten. So i must disable the sef parameters on joomla global configuration. I tried to disable every system plugin to find that cause this issue and i discovered that the System - JFBCSystem cause it. If i disable it all works fine.

Here the url where you can get the error.

www.docseller.it/component/users/?view=registration

Click on "termini di utilizzo" link to get the issue.
The topic has been locked.
Support Specialist
12 years 9 months ago #35673 by alzander
The URL of the terms of service page that is trying to load is:

www.docseller.it/component/content/artic...&id=3&tmpl=component

That is being rewritten, but the page isn't working. That URL should work, as far as I know. The way that it does work on your site is:

www.docseller.it/component/content/artic...modal&tmpl=component

The difference is that the id=3 is /3 instead of in the query string.

Are you using any tools for generating 404 errors or additional SEF extensions? I'm not aware of any reason that JFBConnect should be interfering with any SEF URLs or that one in particular.

Can you disable the JFBCSystem plugin and see if the first URL mentioned above (with id=3) works? That will also help understand things more.

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

None
12 years 9 months ago #35677 by french150
Hi i did the test. If i disable the System - JFBCSystem plugin the url that you suggested works fine. I use only Joomla SEF system and i don't use any tools for generating 404 errors.
Please consider that the url (with id=3) is created from the user profile plugin and works fine in other my sites. Only when i enable your plugin it doesn't work.
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #35800 by french150
Hi. Still I am waiting for your reply.
Bye
The topic has been locked.
Support Specialist
12 years 9 months ago #35866 by alzander
Sorry for the delayed response. We just released JFBConnect v5.1, which was consuming a lot of our time. We were able to investigate this issue and found a bug in our Open Graph - Content plugin that was causing this issue. The change will be in the next release, v5.1.1, due out in a few days.

In the meantime, if you'd like to implement and test it, please edit the /plugins/opengraph/content.php file. Around line 46, you'll see:
$item = $contentModel->getItem($queryVars['id']);
Change that to:
$item = $contentModel->getItem((int)$queryVars['id']);
The difference is adding the (int) before the $queryVars.

If you do implement the change, please let us know how it goes. We'd love to have your feedback.

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

None
12 years 9 months ago #35886 by french150
Ok. I'll try. Before let me know if i must upgrade the JFB to latest version and after do this modification.
Also can i upgrade JFB by using joomla update function or do i have to do manually by install the file of latest version?
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #35888 by french150
I instelled the latest JFB version before manually and after i did the modification as you suggested me and now it works!!!!!

Thanks
The topic has been locked.
Support Specialist
12 years 9 months ago #35899 by alzander
Awesome! Glad to hear that worked. That change will definitely be in the minor bug-fix v5.1.1 release due out soon. We really appreciate your feedback to double-check that it fixed the problem as you wanted.

Thanks,
Alex
The topic has been locked.