I put this:
define('TABLE_DATABASE_OPTIMIZER', 'database_optimizer');
The line 44 corresponds to this:
$mainDate = mysql_fetch_array($query, MYSQL_ASSOC);
Correct ?
thank you
Posted 06 February 2012, 13:01
define('TABLE_DATABASE_OPTIMIZER', 'database_optimizer');
$mainDate = mysql_fetch_array($query, MYSQL_ASSOC);
Posted 06 February 2012, 13:48
mamegaga, on 06 February 2012, 13:01, said:
define('TABLE_DATABASE_OPTIMIZER', 'database_optimizer');
$mainDate = mysql_fetch_array($query, MYSQL_ASSOC);
Posted 06 February 2012, 13:54
Posted 06 February 2012, 15:19
mamegaga, on 06 February 2012, 13:54, said:
Posted 01 April 2012, 16:55
Posted 01 April 2012, 16:59
mr_absinthe, on 03 February 2012, 14:40, said:
Posted 02 April 2012, 10:32
Posted 02 April 2012, 13:49
mr_absinthe, on 02 April 2012, 10:32, said:
Posted 02 April 2012, 14:50
/********************** REMOVE CC DATA FROM ORDERS TABLE *************************/
if (! empty($config['orders_cc']) && $config['orders_cc'] < $daysLastRan) {
$dateOrder = date("Y-m-d", time() - ($config['customers'] * 86400));
$wasUpdated = true;
$message .= "\r\n" . 'Credit Card data was removed from the orders table.';
mysql_query("update " . TABLE_ORDERS . " set cc_number = '' where date_purchased > '" . $dateOrder . "'"); //clear the sessions table of entries greater than one month old
mysql_query("update database_optimizer set orders_last_update = now()");
}
/********************** REMOVE CC DATA FROM ORDERS TABLE *************************/
if (! empty($config['orders_cc']) && $config['orders_cc'] < $daysLastRan) {
$dateOrder = date("Y-m-d", time() - ($config['orders_cc'] * 86400));
$wasUpdated = true;
$message .= "\r\n" . 'Credit Card data was removed from the orders table.';
mysql_query("update " . TABLE_ORDERS . " set cc_number = '' where date_purchased > '" . $dateOrder . "'"); //clear the sessions table of entries greater than one month old
mysql_query("update database_optimizer set orders_last_update = now()");
}
(notice the change in
$dateOrder = date("Y-m-d", time() - ($config['orders_cc'] * 86400));
Am I right?Posted 02 April 2012, 15:50
modem2.0, on 02 April 2012, 14:50, said:
Posted 02 April 2012, 16:07
Edited by modem2.0, 02 April 2012, 16:09.