Skip to main content

Error on user mail authorization

More
1 year 7 months ago - 1 year 7 months ago #365890 by Rusty
-- 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:
Code:
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: 1 year 7 months ago by Rusty.
The following user(s) said Thank You: oxido

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

More
1 year 7 months ago #365893 by nicolas
Hi,

Thank you for your feedback.
Add the line:
Code:
'JModelLegacy' => 'Joomla\CMS\MVC\Model\BaseDatabaseModel',
before the line:
Code:
'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.

More
1 year 6 months ago #365910 by Rusty

nicolas wrote: Add the line:

Code:
'JModelLegacy' => 'Joomla\CMS\MVC\Model\BaseDatabaseModel',
before the line:
Code:
'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.188 seconds
Powered by Kunena Forum