string(50454) "
System Error
错误语句:select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ()
SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')' at line 1
// 调试结束
$this->debug(false);
// 返回结果集
return $this->getResult($pdo, $procedure);
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
echo '错误语句:'. $sql;
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
echo '错误语句:'. $sql;
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
Call Stack
- in /www/wwwroot/www.xctecno.it/thinkphp/library/think/db/Connection.php line 391 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at Connection->query('select * from (selec...')
-
at call_user_func_array([object(Mysql), 'query'], ['select * from (selec...']) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/Db.php line 178 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at Db::__callStatic('query', ['select * from (selec...']) in /www/wwwroot/www.xctecno.it/application/common/logic/GoodsLogic.php line 611 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at GoodsLogic->getGoodsIdBySpec('ggg') in /www/wwwroot/www.xctecno.it/application/home/controller/Goods.php line 264 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at Goods->goodsList()
-
at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 616 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at App::module(['home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 461 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at App::run() in /www/wwwroot/www.xctecno.it/thinkphp/start.php line 19 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
-
at require('/www/wwwroot/www.xct...') in /www/wwwroot/www.xctecno.it/index.php line 63 请求方式GET 请求地址 /home/Goods/goodsList/id/14/spec/ggg
Exception Datas
PDO Error Info
| SQLSTATE |
42000 |
| Driver Error Code |
1064 |
| Driver Error Message |
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 ')' at line 1 |
Database Status
| Error Code |
10501 |
| Error Message |
SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')' at line 1 |
| Error SQL |
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and () |
Database Config
| type |
mysql |
| hostname |
127.0.0.1 |
| database |
innovastarx |
| hostport |
3306 |
| dsn |
|
| params |
[] |
| charset |
utf8 |
| prefix |
tp_ |
| debug |
true |
| deploy |
0 |
| rw_separate |
false |
| master_num |
1 |
| slave_no |
|
| fields_strict |
true |
| result_type |
2 |
| resultset_type |
array |
| auto_timestamp |
false |
| datetime_format |
Y-m-d H:i:s |
| sql_explain |
false |
| builder |
|
| query |
\think\db\Query |
| break_reconnect |
false |
Environment Variables
Cookies
PHPSESSID
5a8jve4q9micj481bafat1ivc0
Server/Request Data
HTTP_COOKIE
PHPSESSID=5a8jve4q9micj481bafat1ivc0; is_mobile=0
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
home/Goods/goodsList/id/14/spec/ggg
SERVER_NAME
www.xctecno.it
REMOTE_ADDR
216.73.216.168
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
/www/wwwroot/www.xctecno.it
REQUEST_URI
/home/Goods/goodsList/id/14/spec/ggg
QUERY_STRING
s=home/Goods/goodsList/id/14/spec/ggg
SCRIPT_FILENAME
/www/wwwroot/www.xctecno.it/index.php
REQUEST_TIME_FLOAT
1781786896.5739
Environment Variables
empty
ThinkPHP Constants
PLUGIN_PATH
/www/wwwroot/www.xctecno.it/plugins/
UPLOAD_PATH
public/upload/
SITE_URL
https://www.xctecno.it
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.xctecno.it/application/
THINK_START_TIME
1781786896.5745
THINK_PATH
/www/wwwroot/www.xctecno.it/thinkphp/
LIB_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/
CORE_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.xctecno.it/
EXTEND_PATH
/www/wwwroot/www.xctecno.it/extend/
VENDOR_PATH
/www/wwwroot/www.xctecno.it/vendor/
RUNTIME_PATH
/www/wwwroot/www.xctecno.it/runtime/
LOG_PATH
/www/wwwroot/www.xctecno.it/runtime/log/
CACHE_PATH
/www/wwwroot/www.xctecno.it/runtime/cache/
TEMP_PATH
/www/wwwroot/www.xctecno.it/runtime/temp/
CONF_PATH
/www/wwwroot/www.xctecno.it/application/
ADDON_PATH
/www/wwwroot/www.xctecno.it/addons/
ThinkPHP
V5.0.15
{ 十年磨一剑-为API开发设计的高性能框架 }
"
Fatal error: Uncaught think\exception\ErrorException: file_put_contents(error.html): failed to open stream: Permission denied in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php:190
Stack trace:
#0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 190, Array)
#1 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(190): file_put_contents('error.html', '<!DOCTYPE html>...')
#2 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\PDOException))
#3 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\PDOException))
#4 [internal function]: think\Error::appException(Object(think\exception\PDOException))
#5 {main}
thrown in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php on line 190
string(40114) "
System Error
Uncaught think\exception\ErrorException: file_put_contents(error.html): failed to open stream: Permission denied in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php:190
Stack trace:
#0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 190, Array)
#1 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(190): file_put_contents('error.html', '<!DOCTYPE html>...')
#2 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\PDOException))
#3 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\PDOException))
#4 [internal function]: think\Error::appException(Object(think\exception\PDOException))
#5 {main}
thrown
else
include Config::get('error_tmpl');
// 获取并清空缓存
$content = ob_get_clean();
$response = new Response($content, 'html');
echo '<pre>';
var_dump($content);
// 将错误保存,访问方式 http://www.xxx.com/error.html
file_put_contents('error.html',$content);
if ($exception instanceof HttpException) {
$statusCode = $exception->getStatusCode();
$response->header($exception->getHeaders());
}
if (!isset($statusCode)) {
$statusCode = 500;
}
$response->code($statusCode);
Environment Variables
Cookies
PHPSESSID
5a8jve4q9micj481bafat1ivc0
Server/Request Data
HTTP_COOKIE
PHPSESSID=5a8jve4q9micj481bafat1ivc0; is_mobile=0
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
home/Goods/goodsList/id/14/spec/ggg
SERVER_NAME
www.xctecno.it
REMOTE_ADDR
216.73.216.168
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
/www/wwwroot/www.xctecno.it
REQUEST_URI
/home/Goods/goodsList/id/14/spec/ggg
QUERY_STRING
s=home/Goods/goodsList/id/14/spec/ggg
SCRIPT_FILENAME
/www/wwwroot/www.xctecno.it/index.php
REQUEST_TIME_FLOAT
1781786896.5739
Environment Variables
empty
ThinkPHP Constants
PLUGIN_PATH
/www/wwwroot/www.xctecno.it/plugins/
UPLOAD_PATH
public/upload/
SITE_URL
https://www.xctecno.it
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.xctecno.it/application/
THINK_START_TIME
1781786896.5745
THINK_PATH
/www/wwwroot/www.xctecno.it/thinkphp/
LIB_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/
CORE_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.xctecno.it/
EXTEND_PATH
/www/wwwroot/www.xctecno.it/extend/
VENDOR_PATH
/www/wwwroot/www.xctecno.it/vendor/
RUNTIME_PATH
/www/wwwroot/www.xctecno.it/runtime/
LOG_PATH
/www/wwwroot/www.xctecno.it/runtime/log/
CACHE_PATH
/www/wwwroot/www.xctecno.it/runtime/cache/
TEMP_PATH
/www/wwwroot/www.xctecno.it/runtime/temp/
CONF_PATH
/www/wwwroot/www.xctecno.it/application/
ADDON_PATH
/www/wwwroot/www.xctecno.it/addons/
ThinkPHP
V5.0.15
{ 十年磨一剑-为API开发设计的高性能框架 }
"
Fatal error: Uncaught think\exception\ErrorException: file_put_contents(): open_basedir restriction in effect. File(error.html) is not within the allowed path(s): (/www/wwwroot/www.xctecno.it/:/tmp/) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php:190
Stack trace:
#0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 190, Array)
#1 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(190): file_put_contents('error.html', '<!DOCTYPE html>...')
#2 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException))
#3 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\ErrorException))
#4 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(89): think\Error::appException(Object(think\exception\ErrorException))
#5 [internal function]: think\Error::appShutdown()
#6 {main in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php on line 190