Astroid-Framework icon indicating copy to clipboard operation
Astroid-Framework copied to clipboard

v2.4.3. Joomla 3 and 4 on Xampp. Warning: simplexml_load_file(): I/O warning : failed to load external entity

Open ReLater opened this issue 5 years ago • 2 comments

  • I've installed AF v2.4.3 plus astroid "core" templates on XAMPP 7.3, Windows 10/64.

  • I've NOT tested yet on other environments.

  • Joomla 3.9.21 and Joomla 4-dev (nightly of today).

  • Error reporting set to "Maximum".

  • Go to Templates > Styles > Administrator. Open Joomla core template style (Isis or Atum).

  • You get a PHP warning and a notice:

Warning:
simplexml_load_file(): I/O warning : failed to load external entity
"file:/C:/xampp73-16/htdocs/kujm/templates/atum/templateDetails.xml"
in
C:\xampp73-16\htdocs\kujm\libraries\astroid\framework\library\astroid\Helper.php
on line 165

Notice:
Trying to get property 'version' of non-object in
C:\xampp73-16\htdocs\kujm\libraries\astroid\framework\library\astroid\Helper.php
on line 357
  • Identical messages with J3/Isis.

ReLater avatar Sep 29 '20 00:09 ReLater

Confirmed. Mac catalina MAMP 5.7 PHP 7.4.2

Obviously, wrong path for templatesDetails.xml

ghazal avatar Oct 05 '20 10:10 ghazal

This issue is fixed in the dev branch. Please check and let us know.

itxchandan avatar Aug 12 '21 11:08 itxchandan