dutom007 Posted April 3, 2014 Share Posted April 3, 2014 (edited) Bonjour, J'administre une boutique 1.3.1.1. J'ai un souci avec le module Google Sitemap qui fini la génération prématurément. J'ai joins l'erreur obtenu. J'ai tenté la mise en jour du module en 1.5 sans changement et le 1.6 bloque la page module. Je ne parvins a comprendre l'erreur à la lecture du reporting... Auriez vous une idée de la cause ? Merci Edited April 3, 2014 by dutom007 (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted April 3, 2014 Share Posted April 3, 2014 Bonjour, vous avez regardé ce qu'il y avait à la ligne 200 du fichier indiqué en erreur ? Link to comment Share on other sites More sharing options...
dutom007 Posted April 4, 2014 Author Share Posted April 4, 2014 Oui, Il s'agit de l'appel à la fonction "simplexml_load_file" utilisé dans cette fonction de classe : private function _displaySitemap() { if (file_exists(GSITEMAP_FILE) AND filesize(GSITEMAP_FILE)) { $fp = fopen(GSITEMAP_FILE, 'r'); $fstat = fstat($fp); fclose($fp); $xml = simplexml_load_file(GSITEMAP_FILE); $nbPages = sizeof($xml->url); $this->_html .= '<p>'.$this->l('Your Google sitemap file is online at the following address:').'<br /> <a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'sitemap.xml"><b>http://'.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'sitemap.xml</b></a></p><br />'; $this->_html .= $this->l('Update:').' <b>'.strftime('%A %d %B %Y %H:%M:%S',$fstat['mtime']).'</b><br />'; $this->_html .= $this->l('Filesize:').' <b>'.number_format(($fstat['size']*.000001), 3).'mo</b><br />'; $this->_html .= $this->l('Indexed pages:').' <b>'.$nbPages.'</b><br /><br />'; } } Mais pourquoi ? Sachant qu'il y a un mois cela fonctionné Link to comment Share on other sites More sharing options...
dutom007 Posted April 9, 2014 Author Share Posted April 9, 2014 Personne ? Link to comment Share on other sites More sharing options...
Recommended Posts