[email protected] Posted March 4, 2019 Share Posted March 4, 2019 Bonjour, j'ai ces messages d'erreur depuis ce matin dans le back office (modules) et certains des modules que j'utilise régulièrement n'apparaissent plus (home slider...). Une idée pour résoudre ce problème? merci par avance [eurovatgenerator] Erreur dans le fichier de configuration: Space required after the Public Identifier [eurovatgenerator] Erreur dans le fichier de configuration: SystemLiteral " or ' expected [eurovatgenerator] Erreur dans le fichier de configuration: SYSTEM or PUBLIC, the URI is missing [eurovatgenerator] Erreur dans le fichier de configuration: Opening and ending tag mismatch: hr line 8 and body [eurovatgenerator] Erreur dans le fichier de configuration: Opening and ending tag mismatch: body line 4 and html [eurovatgenerator] Erreur dans le fichier de configuration: Premature end of data in tag html line 2 Link to comment Share on other sites More sharing options...
Eolia Posted March 4, 2019 Share Posted March 4, 2019 supprimez le fichier config_fr.xml du répertoire de ce module il se reconstruira Link to comment Share on other sites More sharing options...
doekia Posted March 4, 2019 Share Posted March 4, 2019 (edited) En espérant que tu ne sois pas sur PDP11 Ajouter un @libxml_clear_errors(); pour éviter que les flux addons polluent d'autre sections Tools.php, corriger: public static function simplexml_load_file($url, $class_name = null) { $cache_id = 'Tools::simplexml_load_file'.$url; if (!Cache::isStored($cache_id)) { @libxml_clear_errors(); $result = @simplexml_load_string(Tools::file_get_contents($url), $class_name); Cache::store($cache_id, $result); return $result; } return Cache::retrieve($cache_id); } Module.php 7 occurences: grep -n simplexml_load_ classes/module/Module.php 1208: $xml_module = @simplexml_load_file($config_file); 1299: $xml_module = @simplexml_load_file($config_file); 1463: $xml = @simplexml_load_string($content, null, LIBXML_NOCDATA); 1611: $native_modules = @simplexml_load_file($module_list_xml); 1642: $native_modules = @simplexml_load_file($module_list_xml); 1776: $xml = @simplexml_load_string($content, null, LIBXML_NOCDATA); 1789: $xml = @simplexml_load_string($content, null, LIBXML_NOCDATA); @libxml_clear_errors(); avant chacune de ces lignes Edited March 4, 2019 by doekia (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now