Problems with button select in Multilingual associations

Phoca Cart - complex e-commerce extension
aship
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2021, 22:55

Problems with button select in Multilingual associations

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problems with button select in Multilingual associations

Post 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
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: Problems with button select in Multilingual associations

Post by Jan »

Hi, found the problem, it was changed in Joomla, so this will be fixed in next version (3.5.8)

Jan
If you find Phoca extensions useful, please support the project
oskar-lima
Phoca Member
Phoca Member
Posts: 18
Joined: 02 Sep 2009, 08:11

Re: Problems with button select in Multilingual associations

Post by oskar-lima »

Great!
I have the same problem.
Thanks for the quick reply :-)

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

Re: Problems with button select in Multilingual associations

Post by Jan »

If you find Phoca extensions useful, please support the project
aship
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2021, 22:55

Re: Problems with button select in Multilingual associations

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problems with button select in Multilingual associations

Post by Jan »

Hi, can you enable debug mode, so you will get whole error message including line and file.

Jan
If you find Phoca extensions useful, please support the project
aship
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2021, 22:55

Re: Problems with button select in Multilingual associations

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problems with button select in Multilingual associations

Post 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
If you find Phoca extensions useful, please support the project
aship
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2021, 22:55

Re: Problems with button select in Multilingual associations

Post by aship »

Hello,
Joomla version 3.10.2.
Yes, this lines present
https://i.imgur.com/Fh3j6Oz.jpg
Post Reply