Page 1 of 1

Unable to add text

Posted: 28 Oct 2023, 21:57
by chatloupe
Hello
Adding a file works but unable to add text
When I press the +Text button an error appears on all my 15 websites using phocadownload

An error has occurred.
0 Class "Factory" not found


I think the error appeared when updating to joomla 4.4.0

in debug mode this is what appears:
1 () JROOT/administrator/components/com_phocadownload/views/phocadownloadfile/tmpl/edit_text.php:25
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:415
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
4 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_phocadownload/views/phocadownloadfile/view.html.php:39
5 PhocaDownloadCpViewPhocaDownloadFile->display() JROOT/libraries/src/MVC/Controller/BaseController.php:660
6 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_phocadownload/controller.php:59
7 PhocadownloadCpController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:693
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocadownload/phocadownload.php:47
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
13 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
14 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
16 require_once() JROOT/administrator/index.php:32

PhocaDownload version 4.0.8 (or 4.0.7)
PHP 8.1.18
MariaDB 10.5.21

Do you have a solution ?
Thank you in advance for your help

Re: Unable to add text

Posted: 28 Oct 2023, 22:57
by Jan
Hi, thank you very much for the info, please update to 4.0.9: https://www.phoca.cz/download/68-phoca- ... -component

It should be OK there.

Thank you, Jan

Re: Unable to add text

Posted: 29 Oct 2023, 09:31
by chatloupe
Hi Jan
It's perfect now with version 4.0.9
thank you for your work
Chatloupe

Re: Unable to add text

Posted: 30 Oct 2023, 00:33
by Jan
Ok