Page 1 of 1
Error after Migration to jppmla 4
Posted: 11 Apr 2023, 01:20
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
Re: Error after Migration to jppmla 4
Posted: 11 Apr 2023, 07:53
by Benno
Re: Error after Migration to jppmla 4
Posted: 11 Apr 2023, 17:54
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. )
Re: Error after Migration to jppmla 4
Posted: 11 Apr 2023, 19:06
by Jan
Hi, enable debug mode to get complete error message including the trace.
Re: Error after Migration to jppmla 4
Posted: 11 Apr 2023, 19:57
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
Re: Error after Migration to jppmla 4
Posted: 11 Apr 2023, 21:08
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.
Re: Error after Migration to jppmla 4
Posted: 11 Apr 2023, 22:48
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.
Re: Error after Migration to jppmla 4
Posted: 12 Apr 2023, 12:57
by Jan
Hi, great to hear it.
Jan