mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 13:54:51 +00:00
Merge pull request #1142 from itflow-org/cron-scripts-move
Domain Refresh - Tidy old debug message
This commit is contained in:
@@ -33,16 +33,8 @@ if ( $argv[1] !== $config_cron_key ) {
|
|||||||
* REFRESH DATA
|
* REFRESH DATA
|
||||||
* ###############################################################################################################
|
* ###############################################################################################################
|
||||||
*/
|
*/
|
||||||
// 2023-02-20 JQ Commenting this code out as its intermitently breaking cron executions, investigating
|
|
||||||
// ERROR
|
// REFRESH DOMAIN WHOIS DATA (1 a day/run)
|
||||||
// php cron.php
|
|
||||||
// PHP Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in cron.php:141
|
|
||||||
// Stack trace:
|
|
||||||
//#0 cron.php(141): mysqli_fetch_array()
|
|
||||||
//#1 {main}
|
|
||||||
// thrown in cron.php on line 141
|
|
||||||
// END ERROR
|
|
||||||
// REFRESH DOMAIN WHOIS DATA (1 a day)
|
|
||||||
// Get the oldest updated domain (MariaDB shows NULLs first when ordering by default)
|
// Get the oldest updated domain (MariaDB shows NULLs first when ordering by default)
|
||||||
$row = mysqli_fetch_array(mysqli_query($mysqli, "SELECT domain_id, domain_name, domain_expire FROM `domains` ORDER BY domain_updated_at LIMIT 1"));
|
$row = mysqli_fetch_array(mysqli_query($mysqli, "SELECT domain_id, domain_name, domain_expire FROM `domains` ORDER BY domain_updated_at LIMIT 1"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user