Hallo ich habe mir mal wider etwas zusammen gebaut und bekomme nun Folgenden fehler.
Code
Fatal error: XML document '/var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/tmp/xml_4dddfc4103b70840810093a9ad5ee2bdbdefc566' is not valid XML.
LibXML output:
#17 xmlParseEntityRef: no name
#17 xmlParseEntityRef: no name
Information:
id: 2fb8c42f8c4bc1c2035264426500f6f51c70dbf3
error message: XML document '/var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/tmp/xml_4dddfc4103b70840810093a9ad5ee2bdbdefc566' is not valid XML.
error code: 0
file: /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/util/XML.class.php (184)
php version: 5.6.31
wcf version: 2.1.17 (Typhoon)
date: Mon, 28 Aug 2017 19:35:09 +0000
request: /acp/index.php?install-package/&t=7da9879514ae76c096acaa8d3ef8cd51ad2e6e46&s=733242a1254d0c12767118fecad50d3d9c4c0c70
referer: https://test.computer-fun-area.de/acp/index.php?package-installation-confirm/&queueID=13&s=733242a1254d0c12767118fecad50d3d9c4c0c70
Stacktrace:
#0 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/util/XML.class.php(68): wcf\util\XML->throwException('XML document '/...', Array)
#1 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php(300): wcf\util\XML->load('/var/www/vhosts...')
#2 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/system/package/plugin/AbstractXMLPackageInstallationPlugin.class.php(58): wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->getXML('templateListene...')
#3 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/system/package/PackageInstallationDispatcher.class.php(571): wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin->install()
#4 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/system/package/PackageInstallationDispatcher.class.php(139): wcf\system\package\PackageInstallationDispatcher->executePIP(Array)
#5 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/acp/action/InstallPackageAction.class.php(73): wcf\system\package\PackageInstallationDispatcher->install('15450134')
#6 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/action/AbstractDialogAction.class.php(70): wcf\acp\action\InstallPackageAction->stepInstall()
#7 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/action/AbstractAction.class.php(49): wcf\action\AbstractDialogAction->execute()
#8 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/system/request/Request.class.php(58): wcf\action\AbstractAction->__run()
#9 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/wcf/lib/system/request/RequestHandler.class.php(139): wcf\system\request\Request->execute()
#10 /var/www/vhosts/computer-fun-area.de/test.computer-fun-area.de/acp/index.php(10): wcf\system\request\RequestHandler->handle('wbb', true)
#11 {main}
Alles anzeigen
Meckert er nun wegen dem templateListener.xml oder oackage.xml?
Ich habe beide Kontroliert und konnte keinen Fehler finden.
Aber hier mal beide .xml vielleicht habe ich etwas übersehen.
Code
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/templatelistener.xsd">
<import>
<!-- admin -->
<templatelistener name="infoTemplatesBoardAddListener">
<environment>admin</environment>
<templatename>boardAdd</templatename>
<eventname>generalFieldsets</eventname>
<templatecode>{include file='boardInfoTemplatesACPBoardAdd' application='wbb'}</templatecode>
</templatelistener>
<!-- /admin -->
<!-- user -->
<templatelistener name="infoTemplatesBoardEditListener">
<environment>user</environment>
<templatename>userNotice</templatename>
<eventname>userNotice</eventname>
<templatecode>{if $templateName == 'board' && $__wbb->isActiveApplication()}{include file='boardInfoTemplates' application='wbb'}{/if}</templatecode>
</templatelistener>
<!-- /user -->
</import>
</data>
Alles anzeigen
XML
<?xml version="1.0" encoding="UTF-8"?>
<package name="de.computer-fun-area.wbb4.boardinfo" xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/package.xsd">
<packageinformation>
<packagename>Board Information</packagename>
<packagename language="de">Board Information</packagename>
<packagedescription>This package gives you the opportunity to define Info for new thread.</packagedescription>
<packagedescription language="de">Dieses Paket bietet die Möglichkeit, Information für Board festzulegen.</packagedescription>
<version>1.0.0 Beta 1</version>
<date>2014-12-27</date>
</packageinformation>
<authorinformation>
<author>Shorty (netzreiter)</author>
<authorurl>http://computer-fun-area.de</authorurl>
</authorinformation>
<requiredpackages>
<requiredpackage minversion="2.0.0">com.woltlab.wcf</requiredpackage>
<requiredpackage minversion="4.0.0">com.woltlab.wbb</requiredpackage>
</requiredpackages>
<instructions type="install">
<instruction type="file" application="wbb">files.tar</instruction>
<instruction type="language">languages/*.xml</instruction>
<instruction type="template" application="wbb">templates.tar</instruction>
<instruction type="acpTemplate" application="wbb">acpTemplates.tar</instruction>
<instruction type="eventListener">eventListener.xml</instruction>
<instruction type="templateListener">templateListener.xml</instruction>
<instruction type="sql">install.sql</instruction>
</instructions>
<instructions type="update" fromversion="1.0.0 Beta *">
<instruction type="file" application="wbb">files.tar</instruction>
<instruction type="language">languages/*.xml</instruction>
<instruction type="template" application="wbb">templates.tar</instruction>
<instruction type="acpTemplate" application="wbb">acpTemplates.tar</instruction>
</instructions>
</package>
Alles anzeigen