Database SQL: "SELECT * FROM test_user WHERE uid > :uid", ErrorInfo: Table 'sst.test_user' doesn't exist

347.              }
348.          }
349. 
350.          if($sth->execute())return $readonly ? $sth->fetchAll(PDO::FETCH_ASSOC) : $sth->rowCount();
351.          $err = $sth->errorInfo();
352.          err('Database SQL: "' . $sql. '", ErrorInfo: '. $err[2], 1);
353.      }
354.      
355.      public function dbInstance($db_config, $db_config_key, $force_replace = false){
356.          if($force_replace || empty($GLOBALS['mysql_instances'][$db_config_key])){
357.              try {
319.              }
320.          }
321.          return $this->page;
322.      }
323.      
324.      public function query($sql, $params = array()){return $this->execute($sql, $params, true);}
325.      public function execute($sql, $params = array(), $readonly = false){
326.          $this->sql[] = $sql;
327. 
328.          if($readonly && !empty($GLOBALS['mysql']['MYSQL_SLAVE'])){
329.              $slave_key = array_rand($GLOBALS['mysql']['MYSQL_SLAVE']);
69.          // 准备SQL,查询uid大于3的
70.          $sql = "SELECT * FROM test_user WHERE uid > :uid";
71.          
72.          // query第一个参数是SQL语句,第二个参数是绑定参数的列表
73.          $this->findall = $user->query($sql, array(
74.              ":uid" => $uid, // 注意这种绑定参数的做法,可以防止SQL注入
75.          ));
76.          $this->display("db/query.html");
77.      }
78.      
79.      // SQL执行execute
96.  if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
97.  if(!class_exists($controller_name, true))_err_router("Err: Controller '$controller_name' is not exists!");
98.  if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
99. 
100.  $controller_obj = new $controller_name();
101.  $controller_obj->$action_name();
102. 
103.  if($controller_obj->_auto_display){
104.      $auto_tpl_name = (empty($__module) ? '' : $__module.DS).$__controller.'_'.$__action.'.html';
105.      if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
106.  }
26.  header('Access-Control-Allow-Headers: *');
27.  header('Access-Control-Max-Age: 86400');
28. 
29.  define('APP_DIR', realpath('./'));
30.  define("APP_PATH", dirname(__FILE__));
31.  require(APP_DIR.'/protected/lib/speed.php');