API / Currency not work! (/cron/tick_update.php)

Look here if you're having trouble with BitShop
Post Reply
BitFan
Posts: 1
Joined: Sun Jun 13, 2021 6:42 pm

API / Currency not work! (/cron/tick_update.php)

Post by BitFan »

Good day,

I bought the script.

The course is not displayed correctly for me, 9k for 1 BTC is false

I don't use CPANEL but Debian 10 and have LAMP installed there.

When calling

domain.com/cron/tick_update.php

I get the following error message:

Requesting data from https://api.bitcoincharts.com/v1/weighted_prices.json ...

FAILURE! API is not responding!




I also tried the following command

<p>FAILURE! API is not responding!</p>[email protected]:/var/www/html/cron# php -q /var/www/html/cron/tick_update.php
PHP Notice: Undefined index: SERVER_ADDR in /var/www/html/inc/config.inc.php on line 102
PHP Notice: Undefined index: SERVER_PORT in /var/www/html/inc/config.inc.php on line 103
PHP Notice: Undefined index: SERVER_PORT in /var/www/html/inc/config.inc.php on line 103
<p>Requesting data from https://api.bitcoincharts.com/v1/weighted_prices.json ...</p>
User avatar
bitfreak
Site Admin
Posts: 97
Joined: Thu Dec 10, 2015 6:57 pm
Location: Australia
Contact:

Re: API / Currency not work! (/cron/tick_update.php)

Post by bitfreak »

None of the weighted/average exchange rate options will work due to an issue with one of the API's used to get the exchange rates. In the admin area, go to settings, then SCI Settings, and make sure "latest price" is selected from the "Exchange rate" drop-down menu. I'll fix the issue in the next release of BitShop.
Post Reply