- Posts: 43
- Thank you received: 0
Unknown error message on registration page
10 years 9 months ago #223015
by wernejo
Unknown error message on registration page was created by wernejo
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined variable: registration in /components/com_hikashop/views/user/tmpl/registration_bootstrap.php on line 19
Hi,
I'm just doing the final checks on a website that is due to go live soon and I found this error message on the registration page. I'm using the Hikashop Registration Redirect Plugin but the page that the error message is showing on is the actual Hikashop registration page.
Does anyone know why this error message is appearing? I know I can easily disable the error reporting but I'm a strong believer in not covering up the problem.
Cheers.
-- Joomla version -- : 3.4.5
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined variable: registration in /components/com_hikashop/views/user/tmpl/registration_bootstrap.php on line 19
Hi,
I'm just doing the final checks on a website that is due to go live soon and I found this error message on the registration page. I'm using the Hikashop Registration Redirect Plugin but the page that the error message is showing on is the actual Hikashop registration page.
Does anyone know why this error message is appearing? I know I can easily disable the error reporting but I'm a strong believer in not covering up the problem.
Cheers.
Please Log in or Create an account to join the conversation.
10 years 9 months ago #223016
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 Unknown error message on registration page
Hi,
Here the code in the view
If you have a warning on the variable $registration it means that your configuration "simplified_registration" does not have any of the accepted value.
Please check your HikaShop checkout/login configuration.
www.hikashop.com/support/support/documen....html#checkout_login
Regards,
Here the code in the view
Code:
if($this->display_method==1){
$this->simplified_registration=explode(',',$this->simplified_registration);
if(in_array('2',$this->simplified_registration)){ $registration=2; }
if(in_array('0',$this->simplified_registration)){ $registration=0; }
if(in_array('1',$this->simplified_registration)){ $registration=1; }
if(in_array('3',$this->simplified_registration)){ $registration=3; }
$this->simplified_registration = $registration;
}
Please check your HikaShop checkout/login configuration.
www.hikashop.com/support/support/documen....html#checkout_login
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.
Time to create page: 0.137 seconds