Page 1 of 2

Problems with button select in Multilingual associations

Posted: 27 Sep 2021, 15:53
by aship
Hi, there is such a problem.
When I try to associate a category or product with a version in another language, I can only create that version. But I cannot associate with an existing category or product.

If you select a "select" button, then a window with a list of articles opens normally. But they are all unclickable, nothing can be selected.

In Joomla's posts or categories, this works fine. But in the Phoca cart, they are somehow unclickable.

Watch a video showing the problem

https://youtu.be/PPGeGxP_WV0

Re: Problems with button select in Multilingual associations

Posted: 04 Oct 2021, 02:16
by Jan
Hi, thank you for this info, confirmed. I need to find out what changed in this Joomla feature and why the Javascript does not work. Will be not so easy as this is completely a Joomla feature :-(

Jan

Re: Problems with button select in Multilingual associations

Posted: 04 Oct 2021, 13:16
by Jan
Hi, found the problem, it was changed in Joomla, so this will be fixed in next version (3.5.8)

Jan

Re: Problems with button select in Multilingual associations

Posted: 04 Oct 2021, 17:33
by oskar-lima
Great!
I have the same problem.
Thanks for the quick reply :-)

Oliver

Re: Problems with button select in Multilingual associations

Posted: 04 Oct 2021, 22:46
by Jan

Re: Problems with button select in Multilingual associations

Posted: 07 Oct 2021, 21:03
by aship
Oh! Unfortunately, it doesn't work in my case. I downloaded a new version and instead of the previous problem, another one appeared. When I click on the Select button, I get an error.

500 JHtml phocacartitem not found.

Re: Problems with button select in Multilingual associations

Posted: 12 Oct 2021, 00:51
by Jan
Hi, can you enable debug mode, so you will get whole error message including line and file.

Jan

Re: Problems with button select in Multilingual associations

Posted: 17 Oct 2021, 21:19
by aship
ОК!

An error has occurred.
500 JHtml phocacartitem not found.
/var/vhosts/olga3/www/libraries/src/HTML/HTMLHelper.php:122
Call stack
# Function Location
1 () JROOT/libraries/src/HTML/HTMLHelper.php:122
2 Joomla\CMS\HTML\HTMLHelper::_() JROOT/administrator/components/com_phocacart/libraries/phocacart/render/admincolumns.php:623
3 PhocacartRenderAdmincolumns->association() JROOT/administrator/components/com_phocacart/libraries/phocacart/render/admincolumns.php:138
4 PhocacartRenderAdmincolumns->item() JROOT/administrator/components/com_phocacart/views/phocacartitems/tmpl/modal.php:258
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
6 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
7 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_phocacart/views/phocacartitems/view.html.php:107
8 PhocaCartCpViewPhocaCartItems->display() JROOT/libraries/src/MVC/Controller/BaseController.php:664
9 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_phocacart/controller.php:87
10 phocaCartCpController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:702
11 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocacart/phocacart.php:20
12 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
13 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/index.php:51

Re: Problems with button select in Multilingual associations

Posted: 19 Oct 2021, 19:42
by Jan
Hi, which version of Joomla do you run?

Is in this file: administrator\components\com_phocacart\libraries\phocacart\render\admincolumns.php on your server the following header (line cca 13):

Code: Select all

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
Jan

Re: Problems with button select in Multilingual associations

Posted: 20 Oct 2021, 00:21
by aship
Hello,
Joomla version 3.10.2.
Yes, this lines present
https://i.imgur.com/Fh3j6Oz.jpg