traceInfo(click it!)

  1. DB->halt( "Invalid SQL: set names GBK" )
    78    if($limit$queryString .= ' LIMIT ' $beginRow .','$limit;
    79    
    80    
    thinkstep::$sqlHistroy[] = $queryString;
    81    
    82    
    $queryid     mysqli_query($this->connection $queryString );
    83    
    $this->selectQueries++;
    84    if (!
    $queryid)  $this->halt('Invalid SQL: ' $queryString);
    85    return (new 
    DB_RESULT($queryid));
    86  }
    87  
    /**
  2. DB->query( "set names GBK" )
    46   * @return bool
    47   */
    48  
    function connect($host$username$password$database$port) {
    49
    50    
    $connect_function = ($this->pConnect) ? 'mysqli_pconnect' 'mysqli_connect' ;
    51    
    $this->connection $connect_function($host$username$password $database $port);
    52    
    $this->query("set names ".SET_DB_CHARSET);
    53    if (!
    $this->connection) {
    54      
    $this->halt("Connect to SQL server use ($host$username, ****** , $database) failed.");
    55      return 
    false;
  3. DB->connect( "127.0.0.1", "root", "dylcwsjkmm@2010#", "xinghong", "3306" )
    36   * constructor
    37   */
    38  
    function DB$host ''$username ''$password ''$database '' $port='' $pConnect SET_USE_PCONNECT$autoConnect $db_type=1) {
    39    
    $this->pConnect $pConnect;
    40    
    $this->db_type $db_type;
    41    if( 
    $autoConnect )
    42      
    $this->connect($host$username$password$database$port);
    43  }
    44  
    /**
    45   * connect to mysql server
  4. DB->DB( "127.0.0.1", "root", "dylcwsjkmm@2010#", "xinghong", "3306" )
    46 *  TS DATABASE USER INITIALIZATION
    47 */
    48
    $global_call = array();
    49
    50
    $thinkstep = new thinkstep();
    51
    52
    $DB = new DBSET_DATABASE_HOSTSET_DATABASE_USER SET_DATABASE_PASSWORD SET_DATABASE_DBNAME SET_DATABASE_PORT );
    53
    54
    define('MYSQL_VERSION',         floormysqli_get_server_version($DB->connection) / 10000) );
    55
    $user null;
  5. include( "/data/xinghong/data/modules/core/mainprog.inc.php" )
    178  * 网站暂时关闭提示
    179  */
    180
    if (SET_SITE_CLOSE)
    181  
    tsErrorHandler(100100);
    182
    183
    184include( 
    CORE_MODULEPATH.'/mainprog.inc.php' );
    185if (
    file_exists(MODULE_CONFIGFILEPATH)){
    186    
    //var_dump(MODULE_CONFIGFILEPATH);
    187    
    include_once( MODULE_CONFIGFILEPATH );
  6. include( "/data/xinghong/common.inc.php" )
    36  '_pageurl' => $_SERVER['REQUEST_URI'],
    37  
    '_encodeurl' => urlencode($_SERVER['REQUEST_URI']),
    38  
    '_sitetitle' => SITE_TITLE,
    39  
    '_module' => THIS_MODULE,
    40  
    '_action' => THIS_PROG,
    41);
    42include( 
    SITE_CONFIG_FILE );
    43
    /**************************************************************
    44  * output 与系统输出变量结合
    45  *************************************************************/
  7. include( "/data/xinghong/index.php" )
    17define('INDEX_TYPE''html');
    18
    19
    define('SITE_TITLE',        '星鸿财富投资——产品后台');
    20
    define('SITE_SLOGAN',        '');
    21
    define('SITE_DESCRIPTION',    'des');
    22
    23
    define('SITE_URL',                    '' );
    24
    define('SITE_PATH',                    dirname(__FILE__));
    25
    26include (
    '../index.php' );

# Function Defined in Call by Args
7 DB->halt() /data/xinghong/data/classes/com/thinkstep/database.class.php:199 /data/xinghong/data/classes/com/thinkstep/database.class.php:84

Args(click it!)

Array
(
    [0] => Invalid SQL: set names GBK
)
6 DB->query() /data/xinghong/data/classes/com/thinkstep/database.class.php:75 /data/xinghong/data/classes/com/thinkstep/database.class.php:52

Args(click it!)

Array
(
    [0] => set names GBK
)
5 DB->connect() /data/xinghong/data/classes/com/thinkstep/database.class.php:48 /data/xinghong/data/classes/com/thinkstep/database.class.php:42

Args(click it!)

Array
(
    [0] => 127.0.0.1
    [1] => root
    [2] => dylcwsjkmm@2010#
    [3] => xinghong
    [4] => 3306
)
4 DB->DB() /data/xinghong/data/classes/com/thinkstep/database.class.php:38 /data/xinghong/data/modules/core/mainprog.inc.php:52

Args(click it!)

Array
(
    [0] => 127.0.0.1
    [1] => root
    [2] => dylcwsjkmm@2010#
    [3] => xinghong
    [4] => 3306
)
3 include internal:0 /data/xinghong/common.inc.php:184

Args(click it!)

Array
(
    [0] => /data/xinghong/data/modules/core/mainprog.inc.php
)
2 include internal:0 /data/xinghong/index.php:42

Args(click it!)

Array
(
    [0] => /data/xinghong/common.inc.php
)
1 include internal:0 /data/xinghong/wwwroot/index.php:26

Args(click it!)

Array
(
    [0] => /data/xinghong/index.php
)

sqlHistory(click it!)

Array
(
    [0] => set names GBK
)

ts_vars(click it!)

    	array(3) {
  ["p"]=>
  string(16) "home_xhspecialdc"
  ["type"]=>
  string(4) "view"
  ["specialid"]=>
  string(2) "61"
}