Error after Migration to jppmla 4

Phoca Gallery - image gallery extension
Karl1
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Jun 2017, 16:25

Error after Migration to jppmla 4

Post by Karl1 »

After having my site migrated to Joomla 4 everything works with the exception of Phoca gallery. When I start the photo album I get the message Class "JRequest" not found. Phoca gallery Version 4.5.3
best regards
Karl1

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error after Migration to jppmla 4

Post by Benno »

Karl1
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Jun 2017, 16:25

Re: Error after Migration to jppmla 4

Post by Karl1 »

Thank you for the link. I made the truncation and import of the J.3 database tables now. And now the frontend is completely unaccessible - showing only: "Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin() "
(Backend is still ok and I can see all the Phoca G. Images and categories etc. )
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after Migration to jppmla 4

Post by Jan »

Hi, enable debug mode to get complete error message including the trace.
If you find Phoca extensions useful, please support the project
Karl1
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Jun 2017, 16:25

Re: Error after Migration to jppmla 4

Post by Karl1 »

To be sure I repeated the complete migration from making a copy of my system, Migrate, Upgrade Phoca g. , truncate db tables, import db tables from joo3 system.
The error is now again Class "JRequest" not found.
the output of Debug:
Function Location
1 () JROOT/modules/mod_phocagallery_tree/mod_phocagallery_tree.php:50
2 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52
3 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55
4 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:281
5 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:161
6 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99
7 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:667
8 Joomla\CMS\Document\HtmlDocument->countModules() JROOT/templates/cassiopeia/index.php:99
9 require() JROOT/libraries/src/Document/HtmlDocument.php:736
10 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:791
11 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:608
12 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1004
13 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:722
14 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:299
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
16 require_once() JROOT/index.php:32
Karl1
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Jun 2017, 16:25

Re: Error after Migration to jppmla 4

Post by Karl1 »

i have a little progress: after i saw on the phoca website that there are a lot of addons, i installed some of them: plg_content_phocagallery_v4.5.4, com_phocagallery_theme_standard_v454, mod_phocagallery_tree_v4.5.1
now I can see the category tree and the map again - but still lots of warnings like
"01-St. Georgen-20220606_163104_DxO Warning: Undefined array key "mb_title" in /..../components/com_phocagallery/views/detail/tmpl/default_multibox.php on line 78"
Probably something is missing? Is there a list of manadatory components ?
The colleague who made the page a few years ago is unfortunately no longer available, so I'm poking around a bit in the fog.
Karl1
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Jun 2017, 16:25

Re: Error after Migration to jppmla 4

Post by Karl1 »

The "Detail View" was still set to something that no longer exists in the new version. After the correction all error messages are gone.
Now everything works. Thanks for the help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after Migration to jppmla 4

Post by Jan »

Hi, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply