Admin
Moderating
Donor Member
Master Member
Elite Member
Active Member
- May 31, 2020
- 2,980
- 1,693
yes ,it is auto to create and update localkey.
Can you show update link for me pls.patch was free when you have download it
i update null patch to lastest vesrion 1.0.6 ,please download from here and then replace files.
*** Hidden text: cannot be quoted. ***
method:
remove localkey
with phpmyadmin or other run sql to display localkey information.
SQL:SELECT * FROM `tblconfiguration` WHERE `setting` LIKE 'vultr_vps_localkey' ORDER BY `id` DESC
remove record
please remove select sql record,is it auto create new ?Can you show update link for me pls.
share your content to win credits.How can I download this? should I pay?
create new file name delwhmcs.php in your cronjob folder and paste this codeI've made sure the cron job runs normally, and the key is updated every day, but the invalid license error is always there.
When removing the localkey module it runs normally
SELECT * FROM `tblconfiguration` WHERE `setting` LIKE 'vultr_vps_localkey' ORDER BY `id` DESC
While I check the localkey is updated every day. localkey is always updated at 00.00 WIB
Is there an automatic command to delete localkey daily?
or every localkey is created by the system and then we make script an automatic deletion command.
<?php
// change your directory
include_once('/your/home/directory/to/configuration.php');
$conn = mysqli_connect($db_host, $db_username, $db_password, $db_name);
if(! $conn ) {
die('Could not connect: ' . mysqli_connect_error());
}
$sql = "DELETE FROM tblconfiguration WHERE setting='vultr_vps_localkey'";
if(mysqli_query($conn, $sql)){
echo "Records were deleted successfully.";
} else{
echo "ERROR: Could not able to execute $sql. " . mysqli_error($conn);
}
// Close connection
mysqli_close($conn);
die;
php -q /your/home/directory/to/your/folder/delwhmcs.php