Error on user mail authorization

  • Posts: 14
  • Thank you received: 3
5 days 8 hours ago #365890

-- HikaShop version -- : 5.1.5
-- Joomla version -- : 5.2.4
-- PHP version -- : 8.4.4
-- Browser(s) name and version -- : Chrome 133.0.6943.127
-- Error-message(debug-mod must be tuned on) -- : 0
Class "JModelLegacy" not found

Hi!

For testing reasons I installed HikaShop on my website. But when I went through the ordering process I face some trouble.
I can put products in the cart. Then I start registration. I get the activation email. If I click on the "activate" button, I've been redirected to the shops website. Here I get the following error:

0
Class "JModelLegacy" not found

Any ideas? ;)

Rusty

P.S. Here's my debug log:

ERROR 0 - Class "JModelLegacy" not found in /var/www/vhosts/path_to_website/components/com_hikashop/controllers/user.php:273
Call Stack
#	Function	Location
1	()	JROOT/components/com_hikashop/controllers/user.php:273
2	userController->activate()	JROOT/libraries/src/MVC/Controller/BaseController.php:730
3	Joomla\CMS\MVC\Controller\BaseController->execute()	JROOT/administrator/components/com_hikashop/helpers/helper.php:2442
4	hikashopController->execute()	JROOT/components/com_hikashop/hikashop.php:88
5	require_once()	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
6	Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
7	Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()	JROOT/libraries/src/Component/ComponentHelper.php:361
8	Joomla\CMS\Component\ComponentHelper::renderComponent()	JROOT/libraries/src/Application/SiteApplication.php:218
9	Joomla\CMS\Application\SiteApplication->dispatch()	JROOT/libraries/src/Application/SiteApplication.php:272
10	Joomla\CMS\Application\SiteApplication->doExecute()	JROOT/libraries/src/Application/CMSApplication.php:306
11	Joomla\CMS\Application\CMSApplication->execute()	JROOT/includes/app.php:58
12	require_once()	JROOT/index.php:32

Last edit: 5 days 8 hours ago by Rusty.
The following user(s) said Thank You: oxido

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

  • Posts: 83347
  • Thank you received: 13482
  • MODERATOR
5 days 5 hours ago #365893

Hi,

Thank you for your feedback.
Add the line:

'JModelLegacy' => 'Joomla\CMS\MVC\Model\BaseDatabaseModel',
before the line:
'JControllerLegacy' => 'Joomla\CMS\MVC\Controller\BaseController',
in the file administrator/components/com_hikashop/helpers/helper.php via FTP and that will fix the problem.
We're going to add that change on our end too.

The following user(s) said Thank You: oxido

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

  • Posts: 14
  • Thank you received: 3
4 days 9 hours ago #365910

nicolas wrote: Add the line:

'JModelLegacy' => 'Joomla\CMS\MVC\Model\BaseDatabaseModel',
before the line:
'JControllerLegacy' => 'Joomla\CMS\MVC\Controller\BaseController',
in the file administrator/components/com_hikashop/helpers/helper.php via FTP and that will fix the problem.


Okay, thanks. That worked!

The following user(s) said Thank You: nicolas

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

Time to create page: 0.044 seconds
Powered by Kunena Forum