Post
Topic
Board Project Development
Re: [ANN] MarginBot - A Bitfinex Margin Lending Management Bot
by
HowardF3
on 21/08/2017, 15:05:39 UTC
Downloaded the fix but this time the installer.php prints the script and some error to the console

/var/www/html/MarginBot-master$ php -f install.php

PHP Notice:  Undefined index: doInstall in /var/www/html/MarginBot-master/install.php on line 9

PHP Notice:  Undefined index: doInstall in /var/www/html/MarginBot-master/install.php on line 167


http://www.w3.org/1999/xhtml">



PHP Notice:  Undefined variable: config in /var/www/html/MarginBot-master/inc/General.php on line 536

PHP Notice:  Undefined variable: config in /var/www/html/MarginBot-master/inc/General.php on line 536

PHP Notice:  Undefined variable: config in /var/www/html/MarginBot-master/inc/General.php on line 536

PHP Notice:  Undefined variable: config in /var/www/html/MarginBot-master/inc/General.php on line 541






PHP Notice:  Undefined index: doInstall in /var/www/html/MarginBot-master/install.php on line 334

PHP Notice:  Undefined index: installDBHost in /var/www/html/MarginBot-master/install.php on line 336

PHP Notice:  Undefined index: installDBPrefix in /var/www/html/MarginBot-master/install.php on line 337

PHP Notice:  Undefined index: installDBName in /var/www/html/MarginBot-master/install.php on line 395

PHP Notice:  Undefined index: installDBUser in /var/www/html/MarginBot-master/install.php on line 398

PHP Notice:  Undefined index: installDBPassword in /var/www/html/MarginBot-master/install.php on line 401

PHP Notice:  Undefined index: installEmail in /var/www/html/MarginBot-master/install.php on line 427

Background on my setup, it is a new VM with Ubuntu 16.04 LAMP stack



Do you have error settings particularly high on your php setup?  These are all notices, and shouldn't cause the script to stop executing.  There's no actual errors in this list.

A quick fix would be to add this to the top line of install.php:

error_reporting(E_ALL & ~E_NOTICE);