Argh. Don't patch it with an obsolete plugin like "Automatic Currencies" for an even older version. That's moving backwards.
The whole currency-rate update infrastructure was revamped
in October 2015 as part of preparation for v1.5.5
It uses CURL, with better error reporting if something goes wrong, and attempts to skip the often-throttled-or-disabled file_get_contents() calls many hosts put restrictions on. It also allows installing addons for alternate currency rate sources (if you actually upgrade to v1.5.5 or higher).
You can't benefit from these things if you don't upgrade ;)
You can EXPERIMENT with copying these files from v1.5.5 to your old v1.5.1 site. I think it'll work this way, but haven't tested it myself.
1. /admin/includes/classes/currencies.php
2. /includes/classes/currencies.php
3. /admin/currencies.php
4. /admin/includes/functions/localization.php
5. Then add another special compatibility file:
/admin/includes/functions/extra_functions/delete_after_v154_upgrade.php
containing:
Code:
<?php
// Delete this file after upgrading to v1.5.4 or higher
function zen_record_admin_activity() {
// this does nothing until v1.5.4, so delete this after upgrading to/above v1.5.4
}
Bookmarks