- Posts: 193
- Thank you received: 76
Fatal error in hikashopregistrationredirect
11 years 11 months ago #177137
by korzo
Fatal error in hikashopregistrationredirect was created by korzo
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to undefined function hikashop_get() on plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43
After update to Hikashop 2.3.4 with "Redirect Joomla registration to HikaShop Plugin" turned on, when I click on Joomla registration link, I get this fatal error.
I think there is missing include of file "administrator\components\com_hikashop\helpers\helper.php"
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to undefined function hikashop_get() on plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43
After update to Hikashop 2.3.4 with "Redirect Joomla registration to HikaShop Plugin" turned on, when I click on Joomla registration link, I get this fatal error.
I think there is missing include of file "administrator\components\com_hikashop\helpers\helper.php"
Please Log in or Create an account to join the conversation.
11 years 11 months ago #177148
by Jerome
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.
Replied by Jerome on topic Fatal error in hikashopregistrationredirect
Hi,
Thanks for the report.
Please add the line
just before the line
in the plugin "hikashopregistrationredirect".
We will update the HikaShop 2.3.4 package as soon as possible.
Regards,
Thanks for the report.
Please add the line
Code:
if(include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true;
Code:
$menuClass = hikashop_get('class.menus');
We will update the HikaShop 2.3.4 package as soon as possible.
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.
11 years 10 months ago #177798
by crealiagroup
Replied by crealiagroup on topic Fatal error in hikashopregistrationredirect
I've tested your solution and also downloaded the new package again. The fatal error is solved but if I click on the default login registration link in Joomla Login Module it doen't redirect me to the HikaShop page. I've checked that the menu ID in the plugin is correctly assigned to the HikaShop registration page.
What's wrong?
What's wrong?
Please Log in or Create an account to join the conversation.
11 years 10 months ago #177821
by nicolas
Replied by nicolas on topic Fatal error in hikashopregistrationredirect
So what does it do ? what is the link of the page after you click on the registration link of the module ?
Is the plugin enabled ?
Is the plugin enabled ?
Please Log in or Create an account to join the conversation.
11 years 10 months ago #177877
by crealiagroup
Replied by crealiagroup on topic Fatal error in hikashopregistrationredirect
It redirects me to the default joomla registration page instead of the hikashop registration page. The link is the same link of Joomla registration page. Plugin is enabled.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #178201
by Jerome
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.
Replied by Jerome on topic Fatal error in hikashopregistrationredirect
Hi,
Would it be possible to have a link to your store ?
Regards,
Would it be possible to have a link to your store ?
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.
11 years 10 months ago - 11 years 10 months ago #178209
by korzo
Replied by korzo on topic Fatal error in hikashopregistrationredirect
There is bug again in silent update for 2.3.4
in \plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43.
There should be :
in \plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43.
There should be :
Code:
if(!(include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php'))) return true;
Last edit: 11 years 10 months ago by korzo.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #178211
by Jerome
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.
Replied by Jerome on topic Fatal error in hikashopregistrationredirect
Hi,
You're right ; I missed it.
Thanks for the report, I will see to update the package as soon as possible.
Regards,
You're right ; I missed it.
Thanks for the report, I will see to update the package as soon as possible.
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.
11 years 10 months ago #178220
by korzo
Replied by korzo on topic Fatal error in hikashopregistrationredirect
Also at line 56 should be :
Otherwise when SEF is turned off, Itemid is not detected.
Screenshot from JInput::data attached.
Code:
$app->redirect(JRoute::_('index.php?option=com_hikashop&ctrl=user&task=form'.$url_itemid, false));
Otherwise when SEF is turned off, Itemid is not detected.
Screenshot from JInput::data attached.
The following user(s) said Thank You: Jerome
Please Log in or Create an account to join the conversation.
Time to create page: 0.195 seconds