Class "route" Not Found - Question | JoomShaper

Class "route" Not Found

J

johnny

SP Page Builder 2 days ago

Joomla 4.2.5 SPPB v3

I have created a login menu item and when I click the link I see the following error.

My site is localhost.

Class "Route" not found

Call stack below.

Call stack

Function Location

1 () JROOT\templates\edulif\html\com_users\login\default_logout.php:41 2 include() JROOT\libraries\src\MVC\View\HtmlView.php:410 3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\templates\edulif\html\com_users\login\default.php:21 4 include() JROOT\libraries\src\MVC\View\HtmlView.php:410 5 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\libraries\src\MVC\View\HtmlView.php:203 6 Joomla\CMS\MVC\View\HtmlView->display() JROOT\components\com_users\src\View\Login\HtmlView.php:122 7 Joomla\Component\Users\Site\View\Login\HtmlView->display() JROOT\components\com_users\src\Controller\DisplayController.php:138 8 Joomla\Component\Users\Site\Controller\DisplayController->display() JROOT\libraries\src\MVC\Controller\BaseController.php:672 9 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143 10 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:355 11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\SiteApplication.php:200 12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT\libraries\src\Application\SiteApplication.php:241 13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:294 14 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:61 15 require_once() JROOT\index.php:32

0
10 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 days ago

Hi Johnny,

by now please DELETE whole "login" folder

templates\edulif\html\com_users\login\

it should help, Joomla will use default view from core component instead.

0
J
johnny
Accepted Answer
2 days ago

Hi Paul,

Thanks for that, I can now successfully login. However, the login page styling is broken compared to the last one - it looks different. see images https://imgur.com/a/20yW1Q6

Also, the user login button on the top right of the Edulif template has disappeared - this opened a login modal window. This was a very important feature of the template for me.

Can you advise how I re-enable this?

Thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 days ago

Yes, indeed it was emergency solution only. To remove error.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 days ago

What PHP version you have there?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 days ago

Please download those two folders, unzip and upload inside your template -- by FTP tool !!

it should help, at least helped other user with PHP 7.4, Joomla 4.2

login===unzip.zip

mod_login====unzip.zip

0
J
johnny
Accepted Answer
2 days ago

Paul,

Joomla! Version 4.2.5 and PHP Version 8.0.23

Should I still download the files you provided?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 days ago

Should I still download the files you provided?

What do you think? Why I uploaded them ;p

0
J
johnny
Accepted Answer
2 days ago

Paul,

Asking because it seems you think I am using PHP 7.4 :)

I will try this and get back to you!

0
J
johnny
Accepted Answer
2 days ago

Hi Paul,

I've tried, the login menu item is fine thanks.

The module does open a popup but the styling is broken and not like the original Edulif, see image https://imgur.com/a/N26D7b3

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 days ago

But works...

so let's wait when you will be online (server, not localhost only)

0