澳门威尼人9778_首页[欢迎您]

[42S02] PDOException in Mysql.php line 60

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jxcg2008.tp_about' doesn't exist

  1. {
  2. $this->initConnect(true);
  3. list($tableName) = explode(' ', $tableName);
  4. if (strpos($tableName, '.')) {
  5. $tableName = str_replace('.', '`.`', $tableName);
  6. }
  7. $sql = 'SHOW COLUMNS FROM `' . $tableName . '`';
  8. // 调试开始
  9. $this->debug(true);
  10. $pdo = $this->linkID->query($sql);
  11. // 调试结束
  12. $this->debug(false, $sql);
  13. $result = $pdo->fetchAll(PDO::FETCH_ASSOC);
  14. $info = [];
  15. if ($result) {
  16. foreach ($result as $key => $val) {
  17. $val = array_change_key_case($val);
  18. $info[$val['field']] = [
  19. 'name' => $val['field'],

Call Stack

  1. in Mysql.php line 60
  2. at PDO->query('SHOW COLUMNS FROM `t...') in Mysql.php line 60
  3. at Mysql->getFields('tp_about') in Query.php line 1424
  4. at Query->getTableInfo('tp_about', 'type') in Query.php line 1472
  5. at Query->getFieldsType(['field' => ['tp_about.*', 'tp_about_cate.name a...', 'tp_about_cate.flag a...'], 'alias' => ['tp_about_cate' => 'tp_about_cate'], 'join' => [[['tp_about_cate' => 'tp_about_cate'], 'INNER', 'tp_about.cate_id=tp_...']], ...]) in Query.php line 1478
  6. at Query->getFieldsBind(['field' => ['tp_about.*', 'tp_about_cate.name a...', 'tp_about_cate.flag a...'], 'alias' => ['tp_about_cate' => 'tp_about_cate'], 'join' => [[['tp_about_cate' => 'tp_about_cate'], 'INNER', 'tp_about.cate_id=tp_...']], ...]) in Builder.php line 230
  7. at Builder->buildWhere(['AND' => [['exp', 'tp_about.id = 22 and...']]], ['field' => ['tp_about.*', 'tp_about_cate.name a...', 'tp_about_cate.flag a...'], 'alias' => ['tp_about_cate' => 'tp_about_cate'], 'join' => [[['tp_about_cate' => 'tp_about_cate'], 'INNER', 'tp_about.cate_id=tp_...']], ...]) in Builder.php line 208
  8. at Builder->parseWhere(['AND' => [['exp', 'tp_about.id = 22 and...']]], ['field' => ['tp_about.*', 'tp_about_cate.name a...', 'tp_about_cate.flag a...'], 'alias' => ['tp_about_cate' => 'tp_about_cate'], 'join' => [[['tp_about_cate' => 'tp_about_cate'], 'INNER', 'tp_about.cate_id=tp_...']], ...]) in Builder.php line 600
  9. at Builder->select(['field' => ['tp_about.*', 'tp_about_cate.name a...', 'tp_about_cate.flag a...'], 'alias' => ['tp_about_cate' => 'tp_about_cate'], 'join' => [[['tp_about_cate' => 'tp_about_cate'], 'INNER', 'tp_about.cate_id=tp_...']], ...]) in Query.php line 2022
  10. at Query->find() in About.php line 113
  11. at About->detail()
  12. at ReflectionMethod->invokeArgs(object(About), []) in App.php line 232
  13. at App::invokeMethod([object(About), 'detail'], []) in App.php line 397
  14. at App::module([null, 'about', 'detail'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 140
  15. at App::run() in start.php line 18
  16. at require('D:\wwwroot\jxcg2008\...') in index.php line 16

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID pu95skgl401amcgbo0j5e5ih01
Sessionempty
Server/Request Data
PROCESSOR_ARCHITEW6432 AMD64
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-0b945270-8db7-42f9-85e4-1feaa6e7f9a6
PHP_FCGI_MAX_REQUESTS 1000
PHPRC C:\php_56
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\jxcg2008\jxcg2008.config
APP_POOL_ID jxcg2008
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME EBS-6728
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 12
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;d:\mysql\bin;C:\perl\bin;c:\php_52;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 2d07
ProgramData C:\ProgramData
ProgramFiles C:\Program Files (x86)
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME EBS-6728$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
windows_tracing_flags 3
windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO /index.php/about/22/about-me
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/7.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.jxcg.net
SCRIPT_NAME /index.php
SCRIPT_FILENAME d:\wwwroot\jxcg2008\wwwroot\index.php
REQUEST_URI /about/22/about-me
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 20600
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
QUERY_STRING
PATH_TRANSLATED d:\wwwroot\jxcg2008\wwwroot\index.php\about\22\about-me
PATH_INFO /about/22/about-me
LOGON_USER
LOCAL_ADDR 127.0.0.1
INSTANCE_META_PATH /LM/W3SVC/12323
INSTANCE_NAME JXCG2008
INSTANCE_ID 12323
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT d:\wwwroot\jxcg2008\wwwroot
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH d:\wwwroot\jxcg2008\wwwroot\
APPL_MD_PATH /LM/W3SVC/12323/ROOT
IIS_UrlRewriteModule 7.1.0871.0
UNENCODED_URL /about/22/about-me
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /about/22/about-me
HTTP_X_REAL_IP 154.94.65.41
HTTP_X_FORWARDED_FOR 154.94.65.41
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_HOST www.jxcg.net
HTTP_COOKIE PHPSESSID=pu95skgl401amcgbo0j5e5ih01
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
HTTP_CONNECTION close
FCGI_ROLE RESPONDER
PHP_SELF /index.php/about/22/about-me
REQUEST_TIME_FLOAT 1571719116.3311
REQUEST_TIME 1571719116
Environment Variablesempty
ThinkPHP Constants
APP_PATH D:\wwwroot\jxcg2008\wwwroot/application/
THINK_VERSION 5.0.3
THINK_START_TIME 1571719116.3311
THINK_START_MEM 138160
EXT .php
DS \
THINK_PATH D:\wwwroot\jxcg2008\wwwroot\thinkphp\
LIB_PATH D:\wwwroot\jxcg2008\wwwroot\thinkphp\library\
CORE_PATH D:\wwwroot\jxcg2008\wwwroot\thinkphp\library\think\
TRAIT_PATH D:\wwwroot\jxcg2008\wwwroot\thinkphp\library\traits\
ROOT_PATH D:\wwwroot\jxcg2008\wwwroot\
EXTEND_PATH D:\wwwroot\jxcg2008\wwwroot\extend\
VENDOR_PATH D:\wwwroot\jxcg2008\wwwroot\vendor\
RUNTIME_PATH D:\wwwroot\jxcg2008\wwwroot\runtime\
LOG_PATH D:\wwwroot\jxcg2008\wwwroot\runtime\log\
CACHE_PATH D:\wwwroot\jxcg2008\wwwroot\runtime\cache\
TEMP_PATH D:\wwwroot\jxcg2008\wwwroot\runtime\temp\
CONF_PATH D:\wwwroot\jxcg2008\wwwroot/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN true
__STATIC__ 你好!