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

#   user.php - Fatal Error - JDate::toMySQL()

##

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago -  13 years 11 months ago [\#75497](#75497) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  *[user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75497 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")* was created by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")*

Hallo / Hello,

I have a problem.
I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:

Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com_hikashop/classes/user.php on line 497

What can I do?

Thanks for your comments!!!

Milan

Last edit: 13 years 11 months ago by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75500](#75500) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75500 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Hi,

Change the line:
$user-&gt;set('registerDate', $date-&gt;toMySQL());

to:
$user-&gt;set('registerDate', $date-&gt;toSql());

in the file administrator/components/com_hikashop/classes/user.php via FTP and that should solve the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago -  13 years 11 months ago [\#75504](#75504) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75504 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Hi, Thank you for your help:

After this change, I get this Error-Message:

Fatal error: Call to undefined method JUtility::getHash() in /home/www/web355/html/Joomla/administrator/components/com_hikashop/classes/user.php on line 505

and the Browser-URL is: [ joomla.milanwehrmann.ch/Joomla/index.php...out/step/step-1.html](http://joomla.milanwehrmann.ch/Joomla/index.php/de/shop/checkout/step/step-1.html)

Thanks

Last edit: 13 years 11 months ago by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75506](#75506) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75506 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Change the line:
$user-&gt;set('activation', JUtility::getHash( JUserHelper::genRandomPassword()) );

to:
$user-&gt;set('activation', JApplication::getHash( JUserHelper::genRandomPassword()) );

in the file administrator/components/com_hikashop/classes/user.php via FTP and that should solve the problem.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75508](#75508) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75508 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Yes that was the solution of this error. Thank You.

But the next Error is, if I join the activation-link in the activation-e-mail:

Fatal error: Call to undefined method JModel::addIncludePath() in /home/www/web355/html/Joomla/components/com_hikashop/controllers/checkout.php on line 96

Thank you for your help!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75511](#75511) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75511 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Change the line:
JModel::addIncludePath(HIKASHOP_ROOT . DS . 'components' . DS . 'com_users' . DS . 'models');

to:
JModelLegacy::addIncludePath(HIKASHOP_ROOT . DS . 'components' . DS . 'com_users' . DS . 'models');

in the file components/com_hikashop/controllers/checkout.php via FTP and that should solve the problem.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75517](#75517) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75517 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Thank you!! It works!

My next problem is this:

Nachricht:
No payment methods found
Keine Liefermethode gewählt (in English: No delivery methods found.)

But in the configuration, I have a payment method (bank transfer) and 2 delivery methods (manual shipping).

I like your shop-plugin very much. That is the reason why I want it works. Thank you you help me.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75519](#75519) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75519 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

That's because your methods are not configured properly.

Please check that FAQ:
[ www.hikashop.com/en/support/documentatio...ins-listing.html#faq](http://www.hikashop.com/en/support/documentation/integrated-documentation/29-hikashop-plugins-listing.html#faq)

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75524](#75524) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75524 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

This tip was well, but my costumers order from three different countries.

So with a Adress from Danmark it works, because Danmark is my Standard probably. But with Germany or Switzerland, I get this message: "No pay methodes found"

Thank you so much for your help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75527](#75527) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75527 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

You should remove the zone restriction that you configured in your payment method.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75658](#75658) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75658 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Thank you!!

Everything works!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75662](#75662) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75662 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

But something others:

If I have indicated in a new visitor every user address data and I click to register, then comes a new site with the message that you have to activate the email-link.
Can I change the place from over my logo to below the logo?

- [ ![messagebox.jpg](/forum/attachment/6849) ](/forum/attachment/6849 "messagebox.jpg") [ ](/forum/attachment/6849?download=1 "messagebox.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75664](#75664) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75664 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

The messages are displayed by your template. You will have to edit your template's index.php and move the messages zone below your banner area.
I would recommend to contact your template provider for that as it can be a lot different from one template to another.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75679](#75679) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75679 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Okay Thank you, I will look...

another problem after I click on the activation link in the email.

I recieve a error page 404. Why?

Thank you for your support!!!

- [ ![emailactivationlink.jpg](/forum/attachment/6850) ](/forum/attachment/6850 "...vationlink.jpg") [ ](/forum/attachment/6850?download=1 "...vationlink.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75680](#75680) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75680 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

but if I go back to the shop, the activation was made.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago -  13 years 11 months ago [\#75863](#75863) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75863 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Try to change the line: Code:

$this-&gt;registerData-&gt;activation_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=activate&amp;activation='.$user-&gt;get('activation').'&amp;infos='.$vars.'&amp;page='.$page.'&amp;id='.$this-&gt;user_id.$url;

to: Code:

$this-&gt;registerData-&gt;activation_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=activate&amp;activation='.$user-&gt;get('activation').'&amp;infos='.$vars.'&amp;page='.$page.'&amp;id='.$this-&gt;user_id.$url.'&amp;lang='.@$_GET['lang'];

in the file administrator/components/com_hikashop/classes/user.php

Last edit: 13 years 11 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75897](#75897) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75897 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

Sorry I had to say you that it works with danish (my first language I think), but not with german!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75899](#75899) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75899 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

The line wasn't saved properly by the forum. Try again with the code I put in my previous message.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 11 months ago [\#75915](#75915) by [milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")  Replied by *[milanwehrmann](/forum/user/11363-milanwehrmann "View milanwehrmann's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75915 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

No, sorry, that's not yet the full solution:
Into the E-Mail are this links:

In the Danish's one:
[ joomla.milanwehrmann.ch/Joomla/index.php...temid=497&amp;lang=Array](http://joomla.milanwehrmann.ch/Joomla/index.php?option=com_hikashop&ctrl=checkout&task=activate&activation=4e099cef95ce7ba9f02e4c6434d1aefe&infos=YToyOntzOjY6InBhc3N3ZCI7czo0OiIxMjM0IjtzOjg6InVzZXJuYW1lIjtzOjQ6ImFzZGYiO30%3D&page=checkout&id=8&Itemid=497&lang=Array)

In the German's one:
[ joomla.milanwehrmann.ch/Joomla/index.php...d=9&amp;Itemid=486&amp;lang=](http://joomla.milanwehrmann.ch/Joomla/index.php?option=com_hikashop&ctrl=checkout&task=activate&activation=1b55e2a8e3c255261e7229cb368c060d&infos=YToyOntzOjY6InBhc3N3ZCI7czo0OiIxMjM0IjtzOjg6InVzZXJuYW1lIjtzOjQ6InF3ZXIiO30%3D&page=checkout&id=9&Itemid=486&lang=)

I miss the Array in the end of the German's one. I think this is the error.

Thank you for your support!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 11 months ago [\#75919](#75919) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: user.php - Fatal Error - JDate::toMySQL()](/forum/2-general-talk-about-hikashop/75497-user-php-fatal-error-jdate-tomysql#75919 "Hallo / Hello,  I have a problem. I have the shop on my webpage and if I would Registred a new Adress with Username and Password, Street etc., I get this Error-Message:  Fatal error: Call to undefined method JDate::toMySQL() in /home/www/web355/html/Joomla/administrator/components/com&#95;hikashop/classes/user.php on line 497  What can I do?  Thanks for your comments!!!  Milan")*

If you have Array, it means that you're missing the end of the code.
Please make sure that you have @$_GET; at the end of that line.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc1NDk3LXVzZXItcGhwLWZhdGFsLWVycm9yLWpkYXRlLXRvbXlzcWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.184 seconds

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

[](#top)
