Skip to main content

RSForm Conflict

More
13 years 2 weeks ago #123624 by natselection
RSForm Conflict was created by natselection
-- 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.

More
13 years 2 weeks ago #123654 by Jerome
Replied by Jerome on topic RSForm Conflict
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.

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

More
13 years 2 weeks ago #123658 by natselection
Replied by natselection on topic RSForm Conflict
Which file is that?

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

More
13 years 2 weeks ago #123662 by natselection
Replied by natselection on topic RSForm Conflict
I found it.
Code:
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.191 seconds
Powered by Kunena Forum