/home/wwwroot/qtnonfu/lib/db/mysql_driver.php[ 187 ]
182 }
183 public function getErrno() {
184 return ($this->_link) ? mysql_errno ( $this->_link ) : mysql_errno ();
185 }
186 public function halt($message = '', $sql = '') {
187 throw new keke_exception ( ':error [ :query ]', array ('msg'=>$message,':error' => mysql_error ( $this->_link ), ':query' => $sql ), mysql_errno ( $this->_link ) );
188 exit ();
189 }
190 public function special_filed(&$value) {
191 if ('*' == $value || false !== strpos ( $value, '(' ) || false !== strpos ( $value, '.' ) || false !== strpos ( $value, '`' )) {
192 } else {
-
/home/wwwroot/qtnonfu/index.php [ 5 ] » include ( arguments )
0
string(34) "/home/wwwroot/qtnonfu/app_comm.php"
1 <?php 2 //echo "调试中";exit; 3 define ( "IN_KEKE", TRUE ); 4 5 include 'app_comm.php'; 6 $task_open = $kekezu->_task_open; 7 $shop_open = $kekezu->_shop_open; 8 $dos = $kekezu->_route; 9 //判断访问设备 10 //$id = isset($_GET["id"]) ? ($_GET["id"]) : "";
-
/home/wwwroot/qtnonfu/app_comm.php [ 3 ] » require ( arguments )
0
string(49) "/home/wwwroot/qtnonfu/lib/inc/keke_core_class.php"
1 <?php 2 require (dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'lib/inc/keke_base_class.php'); 3 require (dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'lib/inc/keke_core_class.php'); 4 require (dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'include/sms_sdk/TopSdk.php'); 5 require (dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'include/captcha/autoload.php'); 6 7 $basic_config = $kekezu->_sys_config; 8 $model_list = $kekezu->_model_list;
-
/home/wwwroot/qtnonfu/lib/inc/keke_core_class.php [ 1249 ] » kekezu::get_instance ( )
1244 } 1245 1246 $ipath = dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . "data" . DIRECTORY_SEPARATOR . "keke_kppw_install.lck"; 1247 file_exists($ipath) == true or header("Location: install/index.php"); 1248 kekezu::register_autoloader(); 1249 $kekezu = &kekezu::get_instance(); 1250 keke_lang_class::load_lang_class('keke_core_class'); 1251 $_cache_obj = $kekezu->_cache_obj; 1252 $page_obj = $kekezu->_page_obj; 1253 $template_obj = $kekezu->_tpl_obj;
-
/home/wwwroot/qtnonfu/lib/inc/keke_core_class.php [ 999 ] » kekezu->__construct ( )
994 public $_route; 995 996 public static function &get_instance() { 997 static $obj = null; 998 if ($obj == null) { 999 $obj = new kekezu (); 1000 } 1001 return $obj; 1002 } 1003 1004 function __construct() {
-
/home/wwwroot/qtnonfu/lib/inc/keke_core_class.php [ 1005 ] » kekezu->init ( )
1000 } 1001 return $obj; 1002 } 1003 1004 function __construct() { 1005 $this->init(); 1006 keke_lang_class::loadlang('public', 'public'); 1007 } 1008 1009 function init() { 1010 global $_K, $_lang;
-
/home/wwwroot/qtnonfu/lib/inc/keke_core_class.php [ 1026 ] » kekezu->init_industry ( )
1021 $this->_cache_obj = new keke_cache_class(CACHE_TYPE, $_K ['cache_config']); 1022 $this->_tpl_obj = new keke_tpl_class (); 1023 $this->_page_obj = new keke_page_class (); 1024 $this->init_out_put(); 1025 $this->init_model(); 1026 $this->init_industry(); 1027 $this->init_oauth(); 1028 $this->init_curr(); 1029 if (!isset($_SESSION ['auid']) and $this->_sys_config ['is_close'] == 1 && $_GET ['do'] != 'close' && substr($_SERVER ['PHP_SELF'], - 16) != '/' . ADMIN_DIRECTORY . '/index.php') { 1030 header("Location:index.php?do=close"); 1031 }
-
/home/wwwroot/qtnonfu/lib/inc/keke_core_class.php [ 1131 ] » db_factory::query ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1126 } 1127 } 1128 } 1129 } 1130 $this->_indus_arr = kekezu::get_table_data('*', 'witkey_industry', '', ' CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END ', '', '', 'indus_id', NULL); 1131 $arrtotask = db_factory::query("show COLUMNS FROM " . TABLEPRE . 'witkey_industry' . " WHERE Field='totask' "); 1132 if ($arrtotask[0]) { 1133 $this->_indus_task_arr = kekezu::get_table_data('*', "witkey_industry", "indus_type=1 and indus_pid = 0 and totask=1 ", " CASE WHEN listorder = 0 THEN 9999999 WHEN listorder > 0 THEN listorder END ", '', '', 'indus_id', NULL); 1134 } 1135 $arrtogoods = db_factory::query("show COLUMNS FROM " . TABLEPRE . 'witkey_industry' . " WHERE Field='togoods' "); 1136 if ($arrtogoods[0]) {
-
/home/wwwroot/qtnonfu/lib/db/db_factory.php [ 102 ] » keke_db->query ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1
int(0)
97 public static function query($sql, $is_cache = 0, $cache_time = 0, $is_unbuffer = 0) { 98 $db = self::init (); 99 $result=''; 100 if(IS_CACHE){ 101 $cache_time > 0||is_null($cache_time) and ($result = self::db_cache ( 1, $sql, $cache_time ) and $cached=1); 102 $result or ($result = self::$db_obj->query ( $sql, $is_unbuffer ) and $cached=0); 103 if($result&&$result!='QUERY_EMPTY'){ 104 !$cached&&self::db_set_cache ($sql, $cache_time, $result ); 105 return $result; 106 }else{ 107 !$cached&&self::db_set_cache ($sql, $cache_time);
-
/home/wwwroot/qtnonfu/lib/db/db_factory.php [ 81 ] » mysql_drver->query ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1
int(0)
76 } 77 public function get_one($sql) { 78 return $this->_mydb->get_one_row ( $sql ); 79 } 80 public function query($sql, $is_unbuffer = 0) { 81 return $this->_mydb->query ( $sql, $is_unbuffer ); 82 } 83 public function __destruct() { 84 $this->_mydb->close (); 85 } 86 }
-
/home/wwwroot/qtnonfu/lib/db/mysql_driver.php [ 33 ] » mysql_drver->execute_sql ( arguments )
0
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
1
int(0)
28 } 29 mysql_select_db ( $this->_dbname, $this->_link ) or $this->halt ( 'select database:' . $this->_dbname . ' fail!' ); 30 return $this->_link; 31 } 32 public function query($sql, $is_unbuffer = 0) { 33 $this->execute_sql ( $sql, $is_unbuffer ); 34 $result = array (); 35 while ( ($rs = $this->fetch_array ()) != false ) { 36 $result [] = $rs; 37 } 38 $this->free_result ();
-
/home/wwwroot/qtnonfu/lib/db/mysql_driver.php [ 153 ] » mysql_drver->halt ( arguments )
0
string(32) "Got error 28 from storage engine"
1
string(60) "show COLUMNS FROM keke_witkey_industry WHERE Field='totask' "
148 } 149 protected function execute_sql($sql, $is_nubuffer = 0) { 150 ! is_resource ( $this->_link ) and $this->dbConnection (); 151 $is_nubuffer == 1 and $query_type = "mysql_unbuffered_query" or $query_type = "mysql_query"; 152 array_push($this->_query_sql, $sql); 153 $this->_last_query_id = $query_type ( $sql, $this->_link ) or $this->halt ( mysql_error (), $sql ); 154 $this->_query_num ++; 155 return $this->_last_query_id; 156 } 157 public function get_query_num() { 158 return $this->_query_num;