Astroid-Framework
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
-
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.
Confirmed. Mac catalina MAMP 5.7 PHP 7.4.2
Obviously, wrong path for templatesDetails.xml
This issue is fixed in the dev branch. Please check and let us know.