[mod_phocagallery_image] Class "JRequest" not found

Phoca Gallery modules - modules for Phoca Gallery extension
Apoulit
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 Nov 2022, 18:15

[mod_phocagallery_image] Class "JRequest" not found

Post by Apoulit »

hi, can't get mod_phocagallery_image_v4.4.0 to work i get the following error codes:

Call stack
# Function Location
1 () JROOT/modules/mod_phocagallery_image/models/fields/phocagallerycategory.php:35
2 JFormFieldPhocaGalleryCategory->getInput() JROOT/libraries/src/Form/FormField.php:1029
3 Joomla\CMS\Form\FormField->renderField() JROOT/layouts/joomla/edit/fieldset.php:43
4 include() JROOT/libraries/src/Layout/FileLayout.php:128
5 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
6 Joomla\CMS\Layout\LayoutHelper::render() JROOT/administrator/components/com_advancedmodules/tmpl/module/edit.php:143
7 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
8 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
9 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_advancedmodules/src/View/Module/HtmlView.php:84
10 RegularLabs\Component\AdvancedModules\Administrator\View\Module\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
11 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_advancedmodules/src/Controller/DisplayController.php:133
12 RegularLabs\Component\AdvancedModules\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
13 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
14 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
16 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
17 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
18 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
19 require_once() JROOT/administrator/index.php:32


Thanks for your help
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9087
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: [mod_phocagallery_image] Class "JRequest" not found

Post by Benno »

Hi,
which Joomla! version do you use?
which Phoca Gallery Version do you use?
which PHP version do you use?

Kind regards,
Benno
Apoulit
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 Nov 2022, 18:15

Re: [mod_phocagallery_image] Class "JRequest" not found

Post by Apoulit »

Hi,
Joomla : 4.25
PHP: 8.0.25
Phoca Gallery 4.5.2

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

Re: [mod_phocagallery_image] Class "JRequest" not found

Post by Benno »

Hi,
Joomla : 4.25
see: https://www.phoca.cz/download/category/ ... age-module
mod_phocagallery_image_v4.4.0 is made for J3.x
Image

Kind regards,
Benno
User avatar
Kvoo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Apr 2023, 10:09

Re: [mod_phocagallery_image] Class "JRequest" not found

Post by Kvoo »

Hi Benno,

will all these modules be updated to J4.x at some point? As it stands, Phoca Gallery is missing a lot of important features on J4, especially modules.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9087
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: [mod_phocagallery_image] Class "JRequest" not found

Post by Benno »

Hi,
see: viewtopic.php?t=62650

The Phoca project consists of exactly one programmer, Jan. However, he does not program professionally, but in his spare time. With over a hundred Phoca extensions you can imagine how long it will take to rewrite them to J4. Every user wants to rewrite other extensions as fast as possible... Everything is not so easy.
Now it is aggravated by the fact that Joomla! 5 will be released this year and new PHP versions with new features are constantly being released. To make it short: No I can't tell you if all the modules you need will be rewritten and if so, when that will be. It is a time issue. :idea:

Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [mod_phocagallery_image] Class "JRequest" not found

Post by Jan »

BTW as written in other posts, the module can be replaced by combination of Custom module and Phoca Gallery plugin. So just make a custom module and paste there Phoca Gallery plugin code to display images from Phoca Gallery in module position.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [mod_phocagallery_image] Class "JRequest" not found

Post by Jan »

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