Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Nginx, vestacp, bitshop setup with Tor on 127.0.0.1 and centos7 server.

Setup this cron job in vestacp. Set it to 45 minutes and entered.

php -q /public_html/Bitshop/goxgrab/data_update.php

Errors are still displaying on the website and the bitcoin exchange rates are not updating.

Screen shot of website errors

https://ibb.co/iAMRUy

The cron job is calling upon bitstamp.net to provide the exchange data.

What I have tried:

Added cron job in vestacp and put it to 45 minutes.

php -q /public_html/Bitshop/goxgrab/data_update.php
Posted
Updated 5-Jul-18 11:25am

1 solution

What does line 15 of market_stats.php look like?

Looks like the script is failing on word 'symbol'

Also a similar error on head.inc.php line 27.

Need to see those files (at least lines) to determine more.
 
Share this answer
 
Comments
Member 13900323 5-Jul-18 19:33pm    
Thank you! Here are the files.

Head.inc.php

https://ufile.io/asau8


Home.inc.php

https://ufile.io/y5aio


Market_Stats.php

https://ufile.io/4tuom


Plus Screenshots of all 3 files here.

https://ibb.co/dMd4Gd
https://ibb.co/cqa6Uy
https://ibb.co/jAAJbd


Was i right entering this for the cron job?

php -q /public_html/Bitshop/goxgrab/data_update


Or should it have been this?

php -q /home/admin/web/public_html/Bitshop/goxgrab/data_update.php


Getting the below 3 errors currently.

Warning: Illegal string offset 'symbol' in /home/admin/web/jrr*****************5.onion/public_html/Bitshop/goxgrab/market_stats.php on line 15

Warning: Illegal string offset 'avg' in /home/admin/web/jrr*****************5.onion/public_html/Bitshop/inc/themes/default/head.inc.php on line 27

Warning: Illegal string offset 'avg' in /home/admin/web/jrr*****************5.onion/public_html/Bitshop/inc/admin/home.inc.php on line 24

Warning: Illegal string offset 'avg' in /home/admin/web/jrr*****************5.onion/public_html/Bitshop/inc/admin/home.inc.php on line 25


Really appreciate any help raddevus :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900