MODPATH/database/classes/kohana/database/pdo.php [ 185 ]
180 // This benchmark is worthless
181 Profiler::delete($benchmark);
182 }
183
184 // Convert the exception in a database exception
185 throw new Database_Exception(':error [ :query ]',
186 array(
187 ':error' => $e->getMessage(),
188 ':query' => $sql
189 ),
190 $e->getCode());
-
MODPATH/database/classes/kohana/database/query.php [ 275 ] » Kohana_Database_PDO->query(arguments)
0
integer 1
1
string(168) "SELECT * FROM `sline_member_order` WHERE `ispay` = 1 AND `auto_confirm_time` < 1710818941 AND `status` = 0 AND `auto_confirm_tim …"
2
bool FALSE
3
array(0)
270 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 271 } 272 } 273 274 // Execute the query 275 $result = $db->query($this->_type, $sql, $as_object, $object_params); 276 277 if (isset($cache_key) AND $this->_lifetime > 0) 278 { 279 // Cache the result array 280 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
DOCROOT/tools/classes/st/task.php [ 106 ] » Kohana_Database_Query->execute()
101 ->where('ispay', '=', 1) 102 ->and_where('auto_confirm_time', '<', time()) 103 ->and_where('status', '=', 0) 104 ->and_where('auto_confirm_time', '>', 0) 105 ->and_where('online_transaction_no', '!=', '') 106 ->execute() 107 ->as_array(); 108 foreach ($order_list as $order) { 109 $refund_data = array( 110 'refund_reason' => '订单超过待确认时限,自动退款', 111 'refund_platform' => '系统自动退款',
-
MODPATH/cron/classes/kohana/cron.php [ 162 ] » St_Task::refund_order()
157 /** 158 * Execute this job 159 */ 160 public function execute() 161 { 162 call_user_func($this->_callback); 163 } 164 165 /** 166 * Calculates the next timestamp in this period 167 *
-
MODPATH/cron/classes/kohana/cron.php [ 133 ] » Kohana_Cron->execute()
128 { 129 // Within the window 130 131 Cron::$_times[$name] = $job->next($now); 132 133 $job->execute(); 134 } 135 } 136 } 137 catch (Exception $e) {} 138
-
DOCROOT/tools/classes/st/task.php [ 56 ] » Kohana_Cron::run()
51 52 Cron::set('search_transfer_weixin', array('*/1 * * * *', 'St_Task::search_transfer_weixin')); 53 54 55 56 Cron::run(); 57 } 58 59 public static function product_change() 60 { 61 Model_Product_Change::product_change();
-
APPPATH/bootstrap.php [ 220 ] » St_Task::init()
215 Cookie::$httponly = TRUE; 216 Cookie::$salt = 'stourwebcms'; 217 Cookie::$path = '/'; 218 Cookie::$domain = Common::cookie_domain(); 219 //任务初始化 220 St_Task::init(); 221 //加载事件配置文件 222 Hook::load(); 223 /** 224 * saas小程序订单监听,回调处理 225 */
-
DOCROOT/index.php [ 124 ] » require(arguments)
0
string(42) "/www/wwwroot/njcts.com.cn/v5/bootstrap.php"
119 { 120 define('KOHANA_START_MEMORY', memory_get_usage()); 121 } 122 123 // Bootstrap the application 124 require APPPATH.'bootstrap'.EXT; 125 126 127 if ( ! defined('SUPPRESS_REQUEST')) { 128 echo Request::factory() 129 ->execute()