Bug #8913
Updated by beat over 2 years ago
Ideally, it would just display an error, but not result in a fatal error..
Nothing urgent though.
This is the error when trying to install CBSubs module using the CB Plugins installer on Joomla 4.1. The module installs fine in Joomla 4.1 installer.
<pre>
<b>Warning</b>: SimpleXMLElement::__construct(): Entity: line 61: parser error : Opening and ending tag mismatch: extension line 2 and install in <b>/var/www/html/libraries/CBLib/CB/Legacy/cbInstaller.php</b> on line <b>195</b><br />
<br />
<b>Warning</b>: SimpleXMLElement::__construct(): </install> in <b>/var/www/html/libraries/CBLib/CB/Legacy/cbInstaller.php</b> on line <b>195</b><br />
<br />
<b>Warning</b>: SimpleXMLElement::__construct(): ^ in <b>/var/www/html/libraries/CBLib/CB/Legacy/cbInstaller.php</b> on line <b>195</b><br />
String could not be parsed as XML
<br >
#0 /var/www/html/libraries/CBLib/CB/Legacy/cbInstaller.php(195): SimpleXMLElement->__construct('<?xml version="...')
#1 /var/www/html/libraries/CBLib/CB/Legacy/cbInstaller.php(168): cbInstaller->isPackageFile('/var/www/html/t...')
#2 /var/www/html/libraries/CBLib/CB/Legacy/cbInstaller.php(93): cbInstaller->findInstallFile()
#3 /var/www/html/libraries/CBLib/CB/Legacy/CBInstallPlugin.php(1323): cbInstaller->upload('/var/www/html/t...')
#4 /var/www/html/libraries/CBLib/CB/Legacy/CBInstallPlugin.php(101): CBInstallPlugin->installPluginUpload()
#5 /var/www/html/libraries/CBLib/CBLib/AhaWow/Controller/ActionController.php(944): CBInstallPlugin->store()
#6 /var/www/html/libraries/CBLib/CBLib/AhaWow/Controller/ActionController.php(607): CBLib\AhaWow\Controller\ActionController->savePluginView(Array, Array, Array, Array, Object(CBLib\Xml\SimpleXMLElement), Object(CBInstallPlugin), Object(CBLib\AhaWow\Controller\RegistryEditController), 'apply', 'class', NULL, Object(CBLib\Xml\SimpleXMLElement), Object(CBLib\Registry\Registry), 'b3B0aW9uPWNvbV9...', 2)
#7 /var/www/html/libraries/CBLib/CBLib/AhaWow/Controller/ActionController.php(170): CBLib\AhaWow\Controller\ActionController->drawView('com_comprofiler', 'installcbplugin', Object(CBLib\Xml\SimpleXMLElement), 'apply')
#8 /var/www/html/libraries/CBLib/CBLib/AhaWow/Controller/Controller.php(131): CBLib\AhaWow\Controller\ActionController->handleAction(Array)
#9 /var/www/html/libraries/CBLib/CBLib/AhaWow/Controller/Controller.php(111): CBLib\AhaWow\Controller\Controller->execute(Array, Object(CBLib\Output\Output))
#10 /var/www/html/libraries/CBLib/CBLib/Controller/Controller.php(101): CBLib\AhaWow\Controller\Controller->dispatchRoute(Array)
#11 /var/www/html/libraries/CBLib/CBLib/Controller/Controller.php(78): CBLib\Controller\Controller->execute('installcbplugin...')
#12 /var/www/html/libraries/CBLib/CBLib/Controller/Dispatcher.php(86): CBLib\Controller\Controller->dispatch('installcbplugin...')
#13 /var/www/html/libraries/CBLib/CBLib/Application/Application.php(165): CBLib\Controller\Dispatcher->dispatch()
#14 /var/www/html/libraries/CBLib/CBLib/Core/CBLib.php(186): CBLib\Application\Application->dispatch()
#15 /var/www/html/administrator/components/com_comprofiler/admin.comprofiler.controller.php(202): CBLib\Core\CBLib::execute()
#16 /var/www/html/administrator/components/com_comprofiler/comprofiler.php(14): require('/var/www/html/a...')
#17 /var/www/html/libraries/src/Dispatcher/LegacyComponentDispatcher.php(69): require_once('/var/www/html/a...')
#18 /var/www/html/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/var/www/html/a...')
#19 /var/www/html/libraries/src/Component/ComponentHelper.php(389): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()
#20 /var/www/html/libraries/src/Application/AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent('com_comprofiler')
#21 /var/www/html/libraries/src/Application/AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#22 /var/www/html/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\AdministratorApplication->doExecute()
#23 /var/www/html/administrator/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#24 /var/www/html/administrator/index.php(32): require_once('/var/www/html/a...')
#25 {main}
</pre>