Jump to content

ILja

Members
  • Posts

    1
  • Joined

  • Last visited

ILja's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I had same error. Problem was from pm_advancedtopmenu module. There is in pm_advancedtopmenu.php function, that changing xml file. private function _MHM_update() { if ($this->_MHM_needUpdate()) { $this->initClassVar(); $content = file_get_contents(_PS_ROOT_DIR_.Module::CACHE_FILE_MUST_HAVE_MODULES_LIST); if (strlen($content) == 0) $content = '<?xml version="1.0" encoding="UTF-8"?><modules></modules>'; $new_content = Tools::file_get_contents('http://www.presta-module.com/cross-selling-addons-modules-footer?xml=1&iso='.$this->_iso_lang.'&pm='.$this->_getPMdata()); if ($new_content !== false) { $content = str_replace('<modules>', '<modules><!-- PM_MODS -->'.$new_content.'<!-- /PM_MODS -->', $content); @file_put_contents(_PS_ROOT_DIR_.Module::CACHE_FILE_MUST_HAVE_MODULES_LIST, $content); } else { $content = str_replace('<modules>', '<modules><!-- PM_MODS --><!-- /PM_MODS -->', $content); @file_put_contents(_PS_ROOT_DIR_.Module::CACHE_FILE_MUST_HAVE_MODULES_LIST, $content); } } } For fix it, we need to change link from "http://..." to "https://..."
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More