Skip to main content

URLs broken after entering hikashop menus

More
12 years 3 months ago #162133 by PeterChain
-- url of the page with the problem -- : localhost MAMP 3.x for Mac
-- HikaShop version -- : 2.newest
-- Joomla version -- : 3.newest
-- PHP version -- : 5.5.10
-- Browser(s) name and version -- : all mac


Teh whole Joomla site works fine with menus and links.

Also entering the main menu hikashop product submenu or category submenu

but once inside a category or product view the links get broken so I can't see anything inside hikashop

so if my regular URL should be

http://localhost:8888/activacions/index.php/catalogo-de-carretillas/producto/824-e-15

it gets broken in the beginning of the string like this

http://localhost/activacions/index.php/catalogo-de-carretillas/producto/824-e-15

or

http://localhost/catalogo-de-carretillas/producto/824-e-15


I have a regular .htaccess
Search Engine Friendly URLs ON
Use URL rewriting OFF

but tried all sort of combinations

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162172 by nicolas
Hi,

Ah yes, that's something which has not been handled with the new SEF URL system.
Add the code:
Code:
if(!empty($parsedCurrent['port']) && $parsedCurrent['port']!= 80){ $endUrl = ':'.$parsedCurrent['port'].$endUrl; }
before the line:
Code:
$cleanUrl = $parsedCurrent['scheme'].'://'.$parsedCurrent['host'].$endUrl;
in the file administrator/components/com_hikashop/helpers/helper.php and that will handle it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum