tout2004 Posted March 9, 2014 Share Posted March 9, 2014 Hello, Running 1.4x Im having trouble with the curency converter, both the click to update and the link for cronjob brings up the cannot parse feed error. I have contacted the host to check that the server is configured to allow @simplexml_load_file('http://www.prestashop.com/xml/currencies.xml') they replied: I have checked the error_logs on server for your acount but not found the exact error_logs.Also let us know if there is any php module to be enabled on server for prestashop currency. Is there such a php module or is there something else that I can try (as I have to update them manually for each currency) many thanks Link to comment Share on other sites More sharing options...
tout2004 Posted March 12, 2014 Author Share Posted March 12, 2014 can anyone help? the hosting company sent this today but im not sure how the update fuction works so cannot reply: "Hello,Are you trying to use cURL and then converts the response into XML ?If this is the case then we will have to make necessary changes on server as per suggested by cPanel.also let us know if there is any additional module require for xml." do anyone know anything about the currency update fuction? Link to comment Share on other sites More sharing options...
phrasespot Posted March 14, 2014 Share Posted March 14, 2014 Tell your hosting company PS 1.4 tries to retieve an XML file of currency rates from PrestaShop. It first looks at the PHP setting 'allow_url_fopen" and if it is enabled it uses the PHP function 'file_get_contents' to retrieve it. If it is not enabled then it tries to retieve it with cURL. If your PHP version is greater than 5.1.2 there is no need for additional XML modules; simplexml is enabled by default. 1 Link to comment Share on other sites More sharing options...
tout2004 Posted March 14, 2014 Author Share Posted March 14, 2014 many thanks for the reply, I have sent your comment to the host and will see what happens. Regards James Link to comment Share on other sites More sharing options...
tout2004 Posted March 14, 2014 Author Share Posted March 14, 2014 upadte: the host has allowed the 'allow_url_fopen" and it now works perfectly, thank you phrasepot Link to comment Share on other sites More sharing options...
Recommended Posts