[Skip to main content](#vessel-content)

#   Login &amp; Registration error messages problem

##

- **[innoads](/forum/user/33433-innoads "View innoads's Profile")**
- [![innoads's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33433-innoads "View innoads's Profile") Topic Author
- [ Offline](/forum/user/33433-innoads)

Less More

- Posts: 27
- Thank you received: 0
-
-

12 years 3 months ago -  12 years 3 months ago [\#169014](#169014) by [innoads](/forum/user/33433-innoads "View innoads's Profile")  *[Login &amp; Registration error messages problem](/forum/27-checkout/870639-login-registration-error-messages-problem#169014 "-- 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&#95;DATABASE&#95;ERROR&#95;PLEASE&#95;ENTER&#95;A&#95;USER&#95;NAME  Instead of displaying the correct text. When using original Joomla login &amp; registration form it works fine.  Error messages on cart view are working.  How can this be fixed?  Thanks, Andreas")* was created by *[innoads](/forum/user/33433-innoads "View innoads's Profile")*

-- 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 &amp; registration form it works fine.

Error messages on cart view are working.

How can this be fixed?

Thanks,
Andreas

Last edit: 12 years 3 months ago by [innoads](/forum/user/33433-innoads "View innoads's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYzOS1sb2dpbi1yZWdpc3RyYXRpb24tZXJyb3ItbWVzc2FnZXMtcHJvYmxlbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 3 months ago [\#169046](#169046) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Login &amp; Registration error messages problem](/forum/27-checkout/870639-login-registration-error-messages-problem#169046 "-- 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&#95;DATABASE&#95;ERROR&#95;PLEASE&#95;ENTER&#95;A&#95;USER&#95;NAME  Instead of displaying the correct text. When using original Joomla login &amp; registration form it works fine.  Error messages on cart view are working.  How can this be fixed?  Thanks, Andreas")*

Hi,

It seems that the login library of Joomla doesn't load itself its translations.
Add the code:
$language = JFactory::getLanguage();
$language-&gt;load('lib_joomla', JPATH_SITE);
before the line:
if (!$user-&gt;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](/forum/user/33433-innoads "View innoads's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYzOS1sb2dpbi1yZWdpc3RyYXRpb24tZXJyb3ItbWVzc2FnZXMtcHJvYmxlbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[innoads](/forum/user/33433-innoads "View innoads's Profile")**
- [![innoads's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33433-innoads "View innoads's Profile") Topic Author
- [ Offline](/forum/user/33433-innoads)

Less More

- Posts: 27
- Thank you received: 0
-
-

12 years 3 months ago [\#169071](#169071) by [innoads](/forum/user/33433-innoads "View innoads's Profile")  Replied by *[innoads](/forum/user/33433-innoads "View innoads's Profile")* on topic *[Login &amp; Registration error messages problem](/forum/27-checkout/870639-login-registration-error-messages-problem#169071 "-- 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&#95;DATABASE&#95;ERROR&#95;PLEASE&#95;ENTER&#95;A&#95;USER&#95;NAME  Instead of displaying the correct text. When using original Joomla login &amp; registration form it works fine.  Error messages on cart view are working.  How can this be fixed?  Thanks, Andreas")*

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?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYzOS1sb2dpbi1yZWdpc3RyYXRpb24tZXJyb3ItbWVzc2FnZXMtcHJvYmxlbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#169091](#169091) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Login &amp; Registration error messages problem](/forum/27-checkout/870639-login-registration-error-messages-problem#169091 "-- 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&#95;DATABASE&#95;ERROR&#95;PLEASE&#95;ENTER&#95;A&#95;USER&#95;NAME  Instead of displaying the correct text. When using original Joomla login &amp; registration form it works fine.  Error messages on cart view are working.  How can this be fixed?  Thanks, Andreas")*

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. ![;)](/media/kunena/emoticons/24.png ";)")

The following user(s) said Thank You: [innoads](/forum/user/33433-innoads "View innoads's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYzOS1sb2dpbi1yZWdpc3RyYXRpb24tZXJyb3ItbWVzc2FnZXMtcHJvYmxlbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
