English > General Questions
404 when switching language
(1/1)
zigzo:
Hello,
I have SEF turned on and I have phocagallery on my menu.
When I try to view the list of categories by clicking the menu, it works. And it can switch to different languages as well.
But when I click into one of the categories (which works) and then try to switch the language, a 404 page is shown.
The correct link of the category is: http://mysite/index.php/en/menu_item_name/category/2-cat-name
But I can see the link my language button wants to go is: http://mysite/index.php/en/menu_item_name?view=category
I did try to add a "category" item in a hidden menu, it works for that given category but not the others.
Similar problem happens when I click the "comment image" link for each image.
It seems that the correct SEF url can't be passed to the language switching buttons.
Is it a problem in phocagallery or language switcher?
Thanks!
Harald Leithner:
Jdiction tries to create a link that could fail.
Atm its hard to create the correct link for 3rd party components.
zigzo:
I see...
Is there a place of the code that I may hardcode some rules for jdiction to create the link?
Harald Leithner:
not at the moment, the complete module code must be rewritten because it sucks...
the only way without this error is to disable the module on these pages
zigzo:
ok, thanks for the reply~
Navigation
[0] Message Index
Go to full version