Topic-icon JLinked button not visible plus some errors

Support Specialist
12 years 10 months ago #35156 by alzander
Murphz,
Can you tell me exactly the change you made the change you mentioned above about JRoute? I'm still a bit confused as to what you did and really don't understand why it's required on your site.

I still see that I can navigate directly to the non-SEF route for our Login/Register page at:

www.gospeakenglish.com/index.php?option=...register&return=Lw==


The error you're seeing with the SEF route explains a lot. The main problem is that the "500 - View not found [name, type, prefix]: loginregister, html, contentView" message is indicating that Joomla thinks that you're loading the Joomla Content component (articles) based on the contentView word in that line. There can be a few reasons I can think of for that:
* You have a menu item named "component" that is loading a Joomla article
* Joomla is not properly finding com_jlinked and defaulting to content. Shouldn't be happening, but if you've altered other router functionality, that could be the reason

If you update the redirect in /components/com_jlinked/controller.php around line 94 and remove the JRoute, that may fix your issue as it will go to the 'raw' URL which seems to work. Test that, and let us know how it goes.

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

None
12 years 9 months ago #35312 by Murphz
The exact change I've made is, from:

$app->redirect(JRoute::_('index.php?option=com_jfbconnect&view=loginregister' . $returnParam), 'Your session timed out. Please try again', 'error');

to:

$link_JFBLogin = JURI::root()."index.php?option=com_jfbconnect&view=loginregister".$returnParam;
$app->redirect($link_JFBLogin,'Your session timed out. Please try again', 'error');

in every redirect, because it was leading to a 505 error. Actually, with your suggestion is everything fine in JFBConnect and in Jlinked too.

I have no menu item named component, and the router functionalities is from sh404sef (but set to joomla router for JFB & JL), never modified.

All is ok now, can't wait to implement Google+ login/registration :)

Thanks a lot Alzander :) bye!
The topic has been locked.
Support Specialist
12 years 9 months ago #35330 by alzander
Murphz,
Very glad to hear you got things going. Still honestly not sure why that change is required, but the important thing is that it works.

The next JFBConnect release should be out next week. Definitely keep an eye on that problem when you install the new version in case that change is required again.

Best of luck,
Alex
The topic has been locked.