- Posts: 27
- Thank you received: 0
Login & Registration error messages problem
12 years 2 months ago - 12 years 2 months ago #169014
by innoads
Login & Registration error messages problem was created by innoads
-- url of the page with the problem -- : private
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4.4
Hello,
I have hikashop 2.3.2 running on Joomla 3.3.1 and if a user makes a mistake when using login or registration form during checkout the Joomla error messages look like this:
JLIB_DATABASE_ERROR_PLEASE_ENTER_A_USER_NAME
Instead of displaying the correct text.
When using original Joomla login & registration form it works fine.
Error messages on cart view are working.
How can this be fixed?
Thanks,
Andreas
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4.4
Hello,
I have hikashop 2.3.2 running on Joomla 3.3.1 and if a user makes a mistake when using login or registration form during checkout the Joomla error messages look like this:
JLIB_DATABASE_ERROR_PLEASE_ENTER_A_USER_NAME
Instead of displaying the correct text.
When using original Joomla login & registration form it works fine.
Error messages on cart view are working.
How can this be fixed?
Thanks,
Andreas
Last edit: 12 years 2 months ago by innoads.
Please Log in or Create an account to join the conversation.
12 years 2 months ago #169046
by nicolas
Replied by nicolas on topic Login & Registration error messages problem
Hi,
It seems that the login library of Joomla doesn't load itself its translations.
Add the code:
$language = JFactory::getLanguage();
$language->load('lib_joomla', JPATH_SITE);
before the line:
if (!$user->bind( $data, 'usertype' )) {
in the file administrator/components/com_hikashop/classes/user.php and that should fix that.
It seems that the login library of Joomla doesn't load itself its translations.
Add the code:
$language = JFactory::getLanguage();
$language->load('lib_joomla', JPATH_SITE);
before the line:
if (!$user->bind( $data, 'usertype' )) {
in the file administrator/components/com_hikashop/classes/user.php and that should fix that.
The following user(s) said Thank You: innoads
Please Log in or Create an account to join the conversation.
12 years 2 months ago #169071
by innoads
Replied by innoads on topic Login & Registration error messages problem
Hi,
thank you very much! This fixed the problem.
How does it come that I seem to be the only one with this problem. Is it possible that the 3rd party template that I use is causing this issue?
thank you very much! This fixed the problem.
How does it come that I seem to be the only one with this problem. Is it possible that the 3rd party template that I use is causing this issue?
Please Log in or Create an account to join the conversation.
12 years 2 months ago #169091
by Xavier
Replied by Xavier on topic Login & Registration error messages problem
Hi,
It can potentially be related on the template.
There is a lot of different configurations, templates, etc so we are not surprised when there is this kind of issue for only one person on the forum.
It can potentially be related on the template.
There is a lot of different configurations, templates, etc so we are not surprised when there is this kind of issue for only one person on the forum.
The following user(s) said Thank You: innoads
Please Log in or Create an account to join the conversation.
Time to create page: 0.102 seconds