Joomla 4, product custom fields.xml error

  • guitarman
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago #146996 by guitarman
Dear Support team

In Joomla 4, EShop configuration page (backend) can't be displayed due to an error in /administrator/components/com_eshop/views/configuration/view.html.php line 403.
Code:
$xml          = JFactory::getXML(JPATH_ROOT . '/components/com_eshop/fields.xml');

please change this to:
Code:
$xml          = simplexml_load_file(JPATH_ROOT . '/components/com_eshop/fields.xml');

And in /administrator/components/com_eshop/views/configuration/tmpl/default_layout.php on line 323, the same change needs to be done in order to use product custom fields in EShop for Joomla 4.

Tested on Joomla 4.0.3 and it works.

Regards,

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
2 years 6 months ago #147238 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Joomla 4, product custom fields.xml error
Hello Kemper,

Yes, I was aware of this issue and fixed it on the latest version 3.5.1 of EShop. Please upgrade EShop to the latest version 3.5.1 to have the issue is fixed.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong