Post
Topic
Board Trading Discussion
Re: Open source trading bot?
by
innervisi0nn
on 14/07/2011, 18:58:54 UTC
Still getting the same error Sad


MtGox down. Waiting...
sh: /usr/local/phpchroot/wget: No such file or directory


Are you sure that you changed BOTH occurences of the wget call? ;-)
Also if you chrooted the script it maybe doesnt have access to the wget tool.

Yep:


  $a = exec ('/usr/bin/wget -qO- --no-check-certificate https://mtgox.com/code/data/getDepth.php');

 $a = exec ('/usr/bin/wget -qO- --no-check-certificate --post-data "name=' . $username . '&pass=' . $password . $post_data . '" https://mtgox.com/code/' . $scriptname);

and im logged in as root