Answer the question
In order to leave comments, you need to log in
What is the error in the admin panel of Opencart?
Actually, here:
Warning: simplexml_load_string(): Entity: line 1: parser error : Unsupported encoding windows-1251 in /volume1/Web/sorage/modification/admin/model/localisation/currency.php on line 186Warning: simplexml_load_string(): <?xml version="1.0" encoding="windows-1251"?><ValCurs Date="17.03.2021" name="Fo in /volume1/Web/sorage/modification/admin/model/localisation/currency.php on line 186Warning: simplexml_load_string(): ^ in /volume1/Web/sorage/modification/admin/model/localisation/currency.php on line 186
Answer the question
In order to leave comments, you need to log in
Looks like windows-1251 is not parsing correctly in my case on my current system. Opened the specified currency.php file, found where the exchange rate is twitching from, and this is www.cbr.ru/scripts/XML_daily.asp
Changed the link to https://www.cbr-xml-daily.ru/daily_utf8.xml - the error is gone. I don't know if it's the right thing to do, but it seems to work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question