RSForm Conflict

  • Posts: 58
  • Thank you received: 2
  • Hikashop Business
11 years 2 months ago #123624

-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.19
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to undefined function hikashop_decode() in /administrator/components/com_rsform/helpers/rsform.php(479) : eval()'d code on line 3

I recently updated from Hika Business 1.5.9 to 2.2.1. Prior to updating I was using hikashop_decode to return the affiliate id in a popup form. It was working in 1.5.9 but since the update I started getting the above error. It still works fine in a normal module on the site but in a popup it seems that the decode function isn't being loaded before the popup is triggered even though the plugin order has popup plugin at the end (right before cache which is disable and before SEF)

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
11 years 2 months ago #123654

Hi,

It means that HikaShop is not loaded in the page.
You have to include the HikaShop helper if you want to access to the "hikashop_decode" function.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 58
  • Thank you received: 2
  • Hikashop Business
11 years 2 months ago #123658

Which file is that?

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

  • Posts: 58
  • Thank you received: 2
  • Hikashop Business
11 years 2 months ago #123662

I found it.

require_once ("administrator/components/com_hikashop/helpers/helper.php");

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

Time to create page: 0.063 seconds
Powered by Kunena Forum