SQL语句错误: SELECT COUNT(*)as rows FROM (select A.* ,news_class1.class_name as class_name from news as A left join news_class as news_class1 on A.class_id=news_class1.class_id )A where mever='cn' and class_id=2

错误信息: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rows FROM (select A.* ,news_class1.class_name as class_name from news as A left' at line 1SQL语句错误: SELECT * FROM (select A.* ,news_class1.class_name as class_name from news as A left join news_class as news_class1 on A.class_id=news_class1.class_id )A where mever='cn' and class_id=2 order by postdate desc,rank asc,id desc LIMIT 0, 9

错误信息: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc,id desc LIMIT 0, 9' at line 1SQL语句错误: SELECT * FROM news_class where mever='cn' order by rank asc

错误信息: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc' at line 1 新闻速递-门老爷
INDUSTRY
NEWS
 Error
Summary
  • Number:0
  • Message:Undefined index: class_name
    on line 38 in /data/smarty/compile/363ad046fb6a65ca280cdbf00157fa85d7502b74.file.news_list.html.php
Loaded Extensions
  • Core
  • bcmath
  • calendar
  • com_dotnet
  • ctype
  • date
  • ereg
  • filter
  • ftp
  • hash
  • iconv
  • json
  • mcrypt
  • SPL
  • odbc
  • pcre
  • Reflection
  • session
  • standard
  • mysqlnd
  • tokenizer
  • zip
  • zlib
  • libxml
  • dom
  • PDO
  • bz2
  • SimpleXML
  • wddx
  • xml
  • xmlreader
  • xmlwriter
  • cgi-fcgi
  • openssl
  • curl
  • gd
  • gettext
  • mbstring
  • mysql
  • mysqli
  • Phar
  • pdo_mysql
  • pdo_sqlite
  • intl
  • fileinfo
  • soap
  • sockets
  • SQLite
  • xmlrpc
  • sqlite3
  • sqlsrv
  • pdo_sqlsrv
  • memcache
  • redis
  • ionCube Loader
  • Zend Guard Loader
GET List
aclist
nav_id24
class_id2
Server Information
_FCGI_X_PIPE_\\.\pipe\IISFCGI-dfde062a-75d5-4f8d-b3f3-0b1b014f31b7
PHP_FCGI_MAX_REQUESTS1000
PHPRCC:\php_53
ALLUSERSPROFILEC:\ProgramData
APPDATAC:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIGC:\inetpub\temp\apppools\hkweb10332\hkweb10332.config
APP_POOL_IDhkweb10332
CommonProgramFilesC:\Program Files (x86)\Common Files
CommonProgramFiles(x86)C:\Program Files (x86)\Common Files
CommonProgramW6432C:\Program Files\Common Files
COMPUTERNAMEEBS-169225
ComSpecC:\Windows\system32\cmd.exe
DriverDataC:\Windows\System32\Drivers\DriverData
LOCALAPPDATAC:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS8
OSWindows_NT
PathC:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\mysql\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\php_52;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTUREx86
PROCESSOR_ARCHITEW6432AMD64
PROCESSOR_IDENTIFIERIntel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL6
PROCESSOR_REVISION4f01
ProgramDataC:\ProgramData
ProgramFilesC:\Program Files (x86)
ProgramFiles(x86)C:\Program Files (x86)
ProgramW6432C:\Program Files
PSModulePathC:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\PowerShell\Modules\
PUBLICC:\Users\Public
SystemDriveC:
SystemRootC:\Windows
TEMPC:\Windows\TEMP
TMPC:\Windows\TEMP
USERDOMAINWORKGROUP
USERNAMEEBS-169225$
USERPROFILEC:\Windows\system32\config\systemprofile
windirC:\Windows
FCGI_ROLERESPONDER
HTTP_CACHE_CONTROLmax-age=259200
HTTP_CONNECTIONclose
HTTP_VIA1.1 squid-proxy-5b96dc6d46-g7tzv (squid/6.13)
HTTP_CONTENT_LENGTH0
HTTP_ACCEPT*/*
HTTP_ACCEPT_ENCODINGgzip
HTTP_HOSTlafaya.cn
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_PROTOhttp
HTTP_X_FORWARDED_FOR10.10.6.39
HTTP_X_REAL_IP211.149.251.116
HTTP_REALIP_WTS_X216.73.216.245
HTTP_X_DEVICE_SIGNATUREMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_ORIGINAL_URL/news_list_2.html
IIS_WasUrlRewritten1
UNENCODED_URL/news_list_2.html
WEBSOCKET_VERSION13
IIS_UrlRewriteModule7,1,1993,2336
APPL_MD_PATH/LM/W3SVC/10400/ROOT
APPL_PHYSICAL_PATHD:\wwwroot\hkweb10332\wwwroot\
AUTH_TYPE
AUTH_PASSWORD
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_SERIALNUMBER
CERT_SUBJECT
CONTENT_LENGTH0
CONTENT_TYPE
DOCUMENT_ROOTD:\wwwroot\hkweb10332\wwwroot
GATEWAY_INTERFACECGI/1.1
HTTPSoff
HTTPS_KEYSIZE
HTTPS_SECRETKEYSIZE
HTTPS_SERVER_ISSUER
HTTPS_SERVER_SUBJECT
INSTANCE_ID10400
INSTANCE_NAMEHKWEB10332
INSTANCE_META_PATH/LM/W3SVC/10400
LOCAL_ADDR127.0.0.1
LOGON_USER
PATH_TRANSLATEDD:\wwwroot\hkweb10332\wwwroot\item.php
QUERY_STRINGac=list&nav_id=24&class_id=2
REMOTE_ADDR127.0.0.1
REMOTE_HOST127.0.0.1
REMOTE_PORT27890
REMOTE_USER
REQUEST_METHODGET
REQUEST_URI/news_list_2.html
SCRIPT_FILENAMED:\wwwroot\hkweb10332\wwwroot\item.php
SCRIPT_NAME/item.php
SERVER_NAMElafaya.cn
SERVER_PORT80
SERVER_PORT_SECURE0
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/10.0
URL/item.php
ORIG_PATH_INFO/item.php
PHP_SELF/item.php
REQUEST_TIME1789247955
Page Execution Time:102.12ms, Used Memory:1.27MB