mr_absinthe

Members
  • Content count

    494
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About mr_absinthe

Profile Information

  • Real Name
    Alex
  • Location
    London, UK

Contact Methods

  1. Will do
  2. Thank you again Jack for pointing me the right direction, after applying Gary's fix, there are no errors when updating currencies via admin, however still the same errors when running a cron and auto_update_currencies.php file. I guess that the file has to be also changed according to Gary's fix... Is it enough to change this? from: define('CURRENCY_SERVER_PRIMARY', 'oanda'); to: define('CURRENCY_SERVER_PRIMARY', 'fixer'); most likely not, because currency update report is received by email with text Currencies for store updated on Tue Dec 13 8:56:56 2016, however when looking in admin, they are not updated (date doesn't match).
  3. Thanks Jack :thumbsup:
  4. @@burt It is now updating all currencies just fine apart from BTC: Error: The exchange rate for Bitcoin (BTC) was not updated via fixer. Is it a valid currency code?
  5. Hi, I'm now getting the following error, any ideas please? Warning: file_get_contents(http://www.xe.net/ucc/convert.cgi?Amount=1&From=GBP&To=EUR) [ function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /hosting/www/site.com/www/admin/includes/functions/localization.php on line 25 Warning: file_get_contents(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=EUR&format=CSV&dest=Get+Table&sel_list=GBP) [ function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /hosting/www/site.com/www/admin/includes/functions/localization.php on line 14 Currencies are not being updated.
  6. Hi Jack, I see this at the top of admin/database_optimizer.php TEXT_VERSION_CHECK_UPDATES_UNRELEASEDDatabase Optimizer V 1.5 is the latest version
  7. No, I've double checked the setting, confirmation page is not listed there.
  8. I've installed the add on, however the alt price is not being displayed on checkout confirmation, where it is most needed. There is a new heading now but no currency. Any ideas please? The changed code is as follows: <tr> <td class="main" colspan="2"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> <td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td> <td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td> </tr> <?php } else { ?> <tr> <?php /***** Begin Second Currency *****/ ?> <td class="main" colspan="3"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> <?php if (tep_not_null($currency_alt) && $currency_alt != $currency) { ?> <td class="main" align="right"><?php echo '<b>' . HEADING_CURRENCIES . ' ' . $currency_alt . ' (' . $currency . ')</b>'; ?></td> <?php } else { ?> <td class="main" align="right"><?php echo '<b>' . HEADING_CURRENCY . ' ' . $currency . '</b>'; ?></td> <?php } ?> <?php /***** End Second Currency *****/ ?> </tr>
  9. I just want to share, the error is gone, therefore it was most likely caused by the error mentioned above. However the cron simulator does nothing... I tested on googlefeeder.php and no file was called, no file was created or uploaded.
  10. Could it be caused by missing ?> at the end of admin/includes/modules/cron_simulator.php file? I don't know... it is working at the moment...
  11. Hi, this is now getting exhausting... it worked for 24 hours only... One day later, I'm again unable to access admin due to this fatal error: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/user/public_html/Admin/includes/functions/database.php:13) in /home/user/public_html/includes/functions/database.php on line 19 No need to mention that all works fine if remove cron simulator from admin's index.php file.
  12. Thank you for your swift reply, I'll test it and reposrt back if the cron simulator is going to work.
  13. I've corrected all those errors listed in this thread, however as soon as cron_simulator is icluded on index.php - require(DIR_WS_MODULES . 'cron_simulator.php');, I've got this error: Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/user/public_html/Admin/includes/functions/compatibility.php:18) in /home/user/public_html/includes/functions/compatibility.php on line 30 I've double checked that both compatibility.php files in admin as well as in catalog contain correct code function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; reset($ar); while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); }
  14. @@Bob Terveuren thank you, it will be most likely my only option, if it is going to work obviously @@clustersolutions to set up and run a cron job, I'm using cPanel GUI, tested your command above (replaced myusername obviously) and it does nothing, no file, no message, no ftp, nothing I have to say, I have never experienced so much hassle with a cron job and I have about 20 of them running just fine. Why is this script failing...? No idea. Thank you for trying to help, much appreciated.
  15. What I did to make v1.7 work again, I used googlesitema/index.php file from v1.8 no idea why it is no longer working with that file from v1.7