Problem with Hikashop $current_url (Solved)

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #129409

-- url of the page with the problem -- : dev.frame-revival.com/sold-frames
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3
-- Browser(s) name and version -- : All browsers

Hi.

I am having trouble with a Hikashop installation I am currently working on, specifically relating to the url that Hikashop is looking up.

If you take a look at this page dev.frame-revival.com/sold-frames and navigate to the 'next/prev' form at the bottom, clicking on any link in that form gives a 404.

To explain further, the path that contains the dev.frame-revival.com domain is spots.tv/live/frame-b-dev

For some reason the $current_url / hikashop_currentURL( ); is looking at the root of spots.tv, not where it was installed on dev.frame-revival.com.

Is this something simple I have overlooked? We have reason to believe it is something to do with the .htaccess file but are unsure.

Last edit: 11 years 1 month ago by spotstv. Reason: Solved

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #129462

Hi,

Thanks to try to edit the view "product / listing" via the menu display > Views and replace:

hikashop_currentURL()
By the joomla function to get the current url:
JURI::current()

You have to make the replacement twice.

The following user(s) said Thank You: spotstv

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

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #129511

Hi Xavier,

That worked perfectly, thanks a lot for your help :)

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

Time to create page: 0.068 seconds
Powered by Kunena Forum