每一个即将发布的万智牌版本

Susan Sarandon
发布: 2024-11-04 04:56:02
原创
800 人浏览过

[2002] PDOException in Connection.php line 295

SQLSTATE[HY000] [2002] No such file or directory

<ol start="286">
<li class="line-286"><code>                $this->fetchType = $config['result_type'];
</code></li>
<li class="line-287"><code>            }
</code></li>
<li class="line-288"><code>            try {
</code></li>
<li class="line-289"><code>                if (empty($config['dsn'])) {
</code></li>
<li class="line-290"><code>                    $config['dsn'] = $this->parseDsn($config);
</code></li>
<li class="line-291"><code>                }
</code></li>
<li class="line-292"><code>                if ($config['debug']) {
</code></li>
<li class="line-293"><code>                    $startTime = microtime(true);
</code></li>
<li class="line-294"><code>                }
</code></li>
<li class="line-295"><code>                $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
</code></li>
<li class="line-296"><code>                if ($config['debug']) {
</code></li>
<li class="line-297"><code>                    // 记录数据库连接信息
</code></li>
<li class="line-298"><code>                    Log::record('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn'], 'sql');
</code></li>
<li class="line-299"><code>                }
</code></li>
<li class="line-300"><code>            } catch (\PDOException $e) {
</code></li>
<li class="line-301"><code>                if ($autoConnection) {
</code></li>
<li class="line-302"><code>                    Log::record($e->getMessage(), 'error');
</code></li>
<li class="line-303"><code>                    return $this->connect($autoConnection, $linkNum);
</code></li>
<li class="line-304"><code>                } else {
</code></li>
</ol>
登录后复制

Call Stack

  1. in Connection.php line 295
  2. at PDO->__construct() in Connection.php line 295
  3. at Connection->connect() in Connection.php line 995
  4. at Connection->initConnect() in Connection.php line 348
  5. at Connection->query()
  6. at call_user_func_array() in Db.php line 178
  7. at Db::__callStatic() in Index.php line 141
  8. at Index->fanyi_article_content()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

content
%3Cp%3E%3Cstrong%3EMagic%3A+The+Gathering%3C%2Fstrong%3E+is+always+changing.+A+new+set%2C+a+new+Commander+deck%2C+or+even+a+new+card+can+shake+things+up+massively%2C+and+there%E2%80%99s+always+something+else+on+the+horizon.%3C%2Fp%3E++++++++++++%0A++++%0A++++++++++++++++++++%0A++++++++++++++++++++++++%0A++++++++++++++++%0A++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++%0A++++++++%0A++++%0A++++++++%0A++++++++++++++++%0A++++++++%0A++++%0A++++++++%0A++++++++++++++++++++%09++++++++++++++++%0A%09%09%0A%09%09%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%0A++++++++++++++++%0A++++%0A++++%0A++++%0A++++++++++++++++%0A++++%0A++++++++++++++++%0A++++++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++%0A++++%0A++++%0A++++%0A%0A++++++++++++%0A%0A%0A%0A%0A%3Cp%3E%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F173066736736104.jpg%22+alt%3D%22Every+Upcoming+Magic%3A+The+Gathering+Release%22+%2F%3E%3C%2Fp%3E%0A%0A%0A++++++++%0A++++++++++++%0A%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%0A%09%09%0A%09%0A%0A%09%09%0A%09%0A++++++++%0A++++++++++++++++++++%0A%09%09%09%0A%09%09%09%09%09%0A%0A%09%0A%0A%0A++++++++++++++++%0A%0A++++++++++++++++%0A++++++++++++++++%0A++++++++++++++++%0A++++++++++++%0A++++++++++++++++%0A++++++++%0A++++++++%0A++++++++%0A++++++++++++%0A%0A%3Cp%3EIt+can+be+tricky+to+keep+tabs+on+what+is+coming+to+Magic%3A+The+Gathering.+With+products+announced+through+to+2026%2C+here%E2%80%99s+everything+currently+revealed+for+the+game.%3C%2Fp%3E++++%0A%3Cp%3E%3Cstrong%3E%3Cem%3EUpdated+October+30+at+11%3A15+GMT+by+Joe+Parlock%3A+%3C%2Fem%3E%3C%2Fstrong%3E%3Cem%3E2025%27s+sets+have+been+fully+revealed+now%2C+including+crossovers+with+Spider-Man+and+Final+Fantasy%2C+a+death+race+in+Aetherdrift%2C+and+the+return+of+the+clans+in+Tarkir%3A+Dragonstorm.%3C%2Fem%3E%3C%2Fp%3E++++%3Ch2+id%3D%22latest-release-duskmourn-house-of-horror-ndash-september-27-2024%22%3E%0A++++++++++++++++++++++++Latest+Release%3A+Duskmourn%3A+House+Of+Horror+%26ndash%3B+September+27%2C+2024%0A+++++++++++++++%3C%2Fh2%3E%0A%0A%0A%0A++++%0A%0A%0A%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++%0A++++%0A++++++++%0A++++++++++++++++%0A%0A++++++++++++++++++++%0A%0A%0A++++++++%3Cp%3E%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F173066737012465.jpg%22+alt%3D%22Every+Upcoming+Magic%3A+The+Gathering+Release%22+%2F%3E%3C%2Fp%3E%0A%0A++++%0A++++++++++++%0A++++++++++++%0A++++++++++++%0A++++++++++++++++%0A++++++++++++++++++++%0A++++++++++++++++++++%0A++++++++++++++++++++%0A++++++++++++++++++++%0A++++++++++++++++%0A++++++++++++%0A++++++++%0A++++%0A++++%0A%0A%3Cp%3EAfter+the+quaint+and+pastoral+landscapes+of+Bloomburrow%2C+Duskmourn+is+one+heck+of+a+tonal+whiplash.+Duskmourn+is+%3Cstrong%3Ea+haunted+house%3C%2Fstrong%3E%2C+warped+beyond+recognition+by+the+ancient+demon+Valvagoth.%3C%2Fp%3E
to
zh-cn
Files
empty
Cookies
empty
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_LENGTH
7153
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_ACCEPT
*/*
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_content
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
55220
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_content
SCRIPT_NAME
/index.php
CONTENT_LENGTH
7153
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
POST
QUERY_STRING
s=/api/index/fanyi_article_content
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1730705572.9838
REQUEST_TIME
1730705572
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1730705572.9843
THINK_START_MEM
426872
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
<script> var LINE = 295; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })(); </script>

以上是每一个即将发布的万智牌版本的详细内容。更多信息请关注PHP中文网其他相关文章!

来源:thegamer.com
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
作者最新文章
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!