Via Bitifly heb ik een script gekocht, enkel na het installeren van deze script krijg ik deze fout meldingen aangezien ik geen verstand heb van PHP, JAVA, of andere programmering taal ben ik opzoek naar iemand die deze foutjes voor mij zou willen oplossen.
--------------------------------------
Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") in /home/u162001929/public_html/index.php on line 7
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/u162001929/public_html/resource/page/home.php on line 53
Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, null given in /home/u162001929/public_html/resource/page/home.php on line 53
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/u162001929/public_html/resource/page/home.php on line 59
Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, null given in /home/u162001929/public_html/resource/page/home.php on line 59
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/u162001929/public_html/resource/page/home.php on line 73
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/u162001929/public_html/resource/page/home.php on line 75
Het script zal wel bepaalde eisen hebben, en dan heeft het ook te maken met de configuratie van de webserver c.q. PHP die erop afgesteld moet zijn. Zit er een eisenlijst / requirements zij?
Since all deposits are added "the present number", based on 100 hours of going on JS script.
Most logical to change the date when the sample from the database and bring it under the right, for example, 2 days, 10 minutes,
etc.
After the counter comes to zero - will be the status PENDING
1. Open home.php (/ resource / page /)
This code is to be inserted where eating kommentary "HERE"
$ NewDate = date ('Ymd H: i: s', strtotime ($ Row ['date']. "-1 Days"));
$ Row ['date'] = $ NewDate;
-1 Days, + 1 days, +1 week, +2 days, +4 hours, -21 seconds - all these commands allow you to change the time for some period
These may be used alone, or together but without commas
looking for $Pay = json_decode(file_get_contents('https://api.coinbase.com/v2/receive?method='.WALLET.'&callback='.urlencode(URL.'/deposit?u='.$_POST['wallet'].'&secret='.Secret($_POST['wallet']).'&ref='.$REF)));
$Pay = 'your_btc_address here';
2. Open setting.php - there I said constant DOUBLE_SUM - how many times will double the deposit ?! 2, 1.5, 0.3, etc.
3. It is necessary to change the display in the admin applications that expect payment (time ischerpnno)
Open admin.php (/ resource / page /)
Looking for $ Query = mysqli_query ($ CONNECT, "SELECT` id`, `sum`,` date`, `adress` FROM` deposit` WHERE `status` = 0 AND` ref`
= '0' AND `date` <SUBTIME (NOW (), '0 99: 00: 0') ");
There I left koment "Here it is"
The numbers in the late '99 0: 00: 0' - this is a sample, if you are all changed in the code above for example 23 hours, there is
also need to change to 0 24:00:00
Like all :)
Klinkt dus als een incompleet geheel ;-).
Ikzelf zou altijd een 'requirements' verwachten bij een aankoop. En de vraga is ook of er updates voor vrijkomen, straks is PHP 7 zeer veel gebruikt en dan is het de vraag of het direct werkt, of juist niet. En wie bouwt de boel dan om?
Ja precies! ben sowieso wel een type als het script niet werkt gooi ik het de prullenbak in, en geef deze gewoon weg aan iemand die eraan wilt knutselen. Heb dit script gekocht voor 5USD dus stelt misschien niet veel voor. Maar zou wel leuk zijn als dit zou werken uiteraard.
if ($Page == 'ref' and $Module and !$_COOKIE['REF'] and $_COOKIE['UNIQID'] != $Module) {
setcookie('REF', $Module, strtotime('+90 days'), '/');
Location();
}
if ($Page != 'deposit' and !$_SESSION['DOS']) exit(include 'resource/page/dos.php');
if ($Page == '/' and $Module == '/' or $Page == 'ref' and $Module or $Page == 'all' or $Page == 'my' or $Page == 'payouts') include 'resource/page/home.php';
else if ($Page == 'affiliate') include 'resource/page/affiliate.php';
else if ($Page == 'terms') include 'resource/page/terms.php';
else if ($Page == 'support') include 'resource/page/support.php';
else if ($Page == 'deposit') include 'resource/page/deposit.php';
else if ($Page == 'loader') include 'resource/page/loader.php';
else if ($Page == 'admin' and $Module == ADMIN_KEY) include 'resource/page/admin.php';
else Message(1, 'Page not found.');
function Form($p1) {
return nl2br(htmlspecialchars(trim($p1), ENT_QUOTES), false);
}
function Secret($p1) {
return md5('SECRET'.md5(md5('KEY').$p1.md5('FOR')).'1'.md5('2').'3'.md5($p1 + 'PAY').'BTC');
}