Skip to main content

Registration not working in 2.3.4

12 years 1 day ago - 12 years 1 day ago #178307 by HenrikS
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.27
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : Just a blank page .. no error message

Hikashop Business
Registration link not working in loginmodule goes to blank page, this is only on version 2.3.4 if i go back to version 2.3.3 of Hikashop it is working ok again.

What can be the problem?
Last edit: 12 years 1 day ago by HenrikS.

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

12 years 1 day ago #178309 by Jerome
Hi,

Please re-download HikaShop 2.3.4 ; we just update the package with some fixes.

Regards,

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

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

12 years 1 day ago #178355 by HenrikS
Not a proper solution, it jumps to the Joomla login page NOT to the Hikashop registration page as it should and on the Joomla login-page You get an login error "Message Please login first" and if You press "Don't have an account?" there nothing happens.

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

12 years 1 day ago #178357 by HenrikS
In /plugins/system/hikashopregistrationredirect/hikashopregistrationredirect.php

If i comment out line 45 to 50 it is working again, hope this helps You.

// if(!empty($Itemid)){
// $Itemid = $menuClass->loadAMenuItemId('','',$Itemid);
// }
// if(empty($Itemid)){
// $Itemid = $menuClass->loadAMenuItemId('','');
// }

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

12 years 1 day ago - 12 years 1 day ago #178358 by HenrikS
Found the error

line 48
if(empty($Itemid)){ the "!" is missing
Change to this
if(!empty($Itemid)){
Last edit: 12 years 1 day ago by HenrikS.

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

12 years 1 day ago #178362 by Jerome
Hi,

Which one ? :)

Regards,

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

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

12 years 1 day ago #178363 by Jerome
Hi,

Please note that there is another thread talking about the same plugin.
www.hikashop.com/forum/3-bug-report/8726...trationredirect.html

Regards,

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

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

12 years 1 day ago - 12 years 1 day ago #178364 by HenrikS
Yes that is the one where i found that error and now it is working by me.

You missed one little "!" in line 48 ;)
Last edit: 12 years 1 day ago by HenrikS.

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

12 years 1 day ago - 12 years 1 day ago #178370 by Jerome
Hi,

On line 48 it is logical because if there is no ItemId, it will look for the first valid HikaShop item in order to have a correct url.
The call line 46 check if the given itemid is a valid one, if not valid it will enter in the second if (without the "!").
So I'm not sure I see the patch you proposed.

But I am sure that I will talk with Nicolas who submit the patch few days before the release without fully test it ; and now Nicolas is at the JWC so it's difficult to talk with him.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 12 years 1 day ago by Jerome.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum