Originally Posted by
Jacksback2
The upgrade was done by qualified third party, so assume it was done correctly.
Did a test by doing a quick install of Zencart (via Softalucous) on two other hosting accounts with the same hosting company.
Ran "update currencies" and the same error:
Warning: The primary exchange rate server (ecb) failed for US Dollar (USD) - trying the secondary exchange rate server.
Warning: The primary exchange rate server (ecb) failed for Euro (EUR) - trying the secondary exchange rate server.
Warning: The primary exchange rate server (ecb) failed for GB Pound (GBP) - trying the secondary exchange rate server.
Warning: The primary exchange rate server (ecb) failed for Canadian Dollar (CAD) - trying the secondary exchange rate server.
on original site and the two test sites.
Looking for common denominator so contacted hosting company but their response: Our server wouldn't control any of those values, its more of a development issue as it relates directly with the database and configuration files.
Primary is set to ecb, but any other settings in admin that need to be changed? or any other possible solutions?
Thanks for any help.
Getting the same thing here on a Zen Cart 1.5.5a store. The CURL request is receiving a 403 (Access denied), as illustrated in the following dump of the data returned by ECB:
Code:
[04-Aug-2017 08:53:51 America/Kentucky/Louisville] PHP Warning: array (
0 => '<html lang="en">',
1 => '<head>',
2 => '<title>European Central Bank</title>',
3 => '<style type="text/css"> body{ font-family: "Droid Sans", sans-serif; margin:0; padding:0; background-color: #9099ab; text-align: center; } h1{ font-size:38px; font-weight: normal; color:#003299; } @media screen and (max-width: 480px) { h1{ font-size: 30px; } } p { font-size: 15px; line-height: 20px; color: #333; margin-bottom: 20px; } p.signature{ font-style: italic; color:#DF0101; } .centredFrame { margin: 0 auto; text-align: center; width: 70%; } .content{ margin-top:40px; padding:40px; background-color: #fff; border:1px solid #CDE3E0; -moz-border-radius: 20px; border-radius: 20px; } </style>',
4 => '<link href="http://fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet" type="text/css">',
5 => '</head>',
6 => '<body>',
7 => '<div class="centredFrame">',
8 => '<div class="content">',
9 => '<img src="http://www.ecb.europa.eu/pic_failover/ecb_logo_EN.png">',
10 => '<h1>A problem occurred while trying to access this page</h1>',
11 => 'We apologize for any inconvenience this might have caused.',
12 => '<p class="signature">Reference number: xxx</p>',
13 => '<p class="signature">HTTP status code: 403</p>',
14 => '</div>',
15 => '</div>',
16 => '</body>',
17 => '</html>',
I've verified that I can access the ecb rates link directly, so it might be a change that ecb introduced to prevent scraping.
Bookmarks