联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
刚才打开网站出现系统崩溃请问怎么处理
类型:迅睿CMS 更新时间:2021-01-18 16:58:21 网站

刚才打开网站出现系统崩溃,请问怎么处理?

回帖
  • #1楼    迅睿框架创始人
    2021-01-17 23:18:37
    Google Pixel 手机 0
    运行这个,然后发错误日志过来给我看参考文档:《PHP环境侦探工具》
  • 永兴电子
    #2楼    永兴电子
    2021-01-17 23:28:16
    Chrome 0
    系统崩溃,请检查错误日志{ "title": "CodeIgniter\\Database\\Exceptions\\DatabaseException", "type": "CodeIgniter\\Database\\Exceptions\\DatabaseException", "code": 500, "message": "Unable to connect to the database.", "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\System\\Database\\BaseConnection.php", "line": 381, "trace": [ { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\System\\Database\\BaseConnection.php", "line": 602, "function": "initialize", "class": "CodeIgniter\\Database\\BaseConnection", "type": "->", "args": [] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\System\\Database\\BaseBuilder.php", "line": 1866, "function": "query", "class": "CodeIgniter\\Database\\BaseConnection", "type": "->", "args": [ "SELECT `password`, `salt`, `id`\nFROM `dr_member`\nWHERE `username` = :username:\n LIMIT 1", { "username": [ "爱测评好推荐", true ] }, false ] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\Fcms\\Model\\Auth.php", "line": 123, "function": "get", "class": "CodeIgniter\\Database\\BaseBuilder", "type": "->", "args": [] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\Core\\Controllers\\Admin\\Login.php", "line": 50, "function": "login", "class": "Phpcmf\\Model\\Auth", "type": "->", "args": [ "爱测评好推荐", "ABCD8779368" ] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\System\\CodeIgniter.php", "line": 931, "function": "index", "class": "Phpcmf\\Controllers\\Admin\\Login", "type": "->", "args": [] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\System\\CodeIgniter.php", "line": 427, "function": "runController", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [ { "uid": 0, "admin": false, "member": null, "module": null, "member_cache": { "auth2": { "1": { "public": { "member": { "login_score": "0", "login_exp": "0", "avatar_score": "0", "avatar_exp": "0" }, "home": { "show": "0", "is_category": "0" }, "module": { "news": { "show": "0", "search": "0", "comment_add": "1", "comment_exp": "", "comment_score": "" } }, "form_public": "", "share_category_public": { "show": "1", "add": "1", "edit": "1", "code": "1", "verify": "0", "exp": "", "score": "", "money": "", "day_post": "", "total_post": "" }, "category_public": [ { "test": "1" } ], "mform_public": "", "form": null, "share_category": null, "category": null, "mform": null } } }, "config": { "cname": "", "edit_name": "1", "userlen": "1", "pwdlen": "1", "pwdpreg": "", "edit_mobile": "1", "logintime": "0", "verify_msg": "", "pagesize": "0", "pagesize_mobile": "0", "pagesize_api": "0" }, "login": { "code": "1", "field": [ "phone", "email" ] }, "oauth": { "login": "0", "field": "0", "qq": { "id": "", "value": "" }, "weixin": { "id": "", "value": "" } }, "register": { "cutname": "0", "preg": "", "close": "0", "groupid": "1", "field": [ "username", "phone", "email" ], "unprefix": "", "code": "1", "verify": "", "notallow": [ "" ], "group": [ "1" ] }, "myfield": null, "field": [], "authid": [ 0, "1" ], "group": { "1": { "id": "1", "name": "注册用户", "price": "0.00", "unit": "0", "days": "0", "apply": "1", "register": "1", "setting": { "level": { "auto": "0", "unit": "0", "price": "0" }, "verify": "0" }, "displayorder": "0", "field": null } } }, "site": { "1": 1 }, "site_info": { "1": { "SITE_NAME": "爱测评好推荐", "SITE_DOMAIN": "www.zgmxsjg.cn", "SITE_LOGO": "http://www.zgmxsjg.cn/uploadfile/202101/e6605323edca76b.png", "SITE_MOBILE": "m.zgmxsjg.cn", "SITE_AUTO": "1", "SITE_IS_MOBILE_HTML": "", "SITE_MOBILE_NOT_PAD": "", "SITE_CLOSE": "0", "SITE_THEME": "default", "SITE_TEMPLATE": "default", "SITE_REWRITE": null, "SITE_SEOJOIN": "笔记本电脑测评,笔记本电脑推荐,平板电脑推荐,WIFI6路由器图文设置教程", "SITE_LANGUAGE": "zh-cn", "SITE_TIMEZONE": "8", "SITE_TIME_FORMAT": "", "SITE_INDEX_HTML": "0", "SITE_ID": 1, "SITE_URL": "http://www.zgmxsjg.cn/", "SITE_MURL": "http://m.zgmxsjg.cn/", "SITE_IS_MOBILE": 1 } }, "site_domain": { "www.zgmxsjg.cn": 1, "m.zgmxsjg.cn": 1 }, "is_hcategory": null, "session": {}, "is_mobile": 0, "temp": [] } ] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\System\\CodeIgniter.php", "line": 333, "function": "handleRequest", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [ null, { "handler": "file", "backupHandler": "file", "storePath": "E:\\wwwroot\\Host012184322\\wwwroot/cache/caching/", "cacheQueryString": false, "prefix": "PHPCMFbc6c23a70103007905616604810a7649", "memcached": { "host": "127.0.0.1", "port": 11211, "weight": 1, "raw": false }, "redis": { "host": "127.0.0.1", "password": null, "port": 6379, "timeout": 0, "database": 0 }, "validHandlers": { "dummy": "CodeIgniter\\Cache\\Handlers\\DummyHandler", "file": "CodeIgniter\\Cache\\Handlers\\FileHandler", "memcached": "CodeIgniter\\Cache\\Handlers\\MemcachedHandler", "predis": "CodeIgniter\\Cache\\Handlers\\PredisHandler", "redis": "CodeIgniter\\Cache\\Handlers\\RedisHandler", "wincache": "CodeIgniter\\Cache\\Handlers\\WincacheHandler" } }, false ] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\Fcms\\Init.php", "line": 398, "function": "run", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [] }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\index.php", "line": 47, "args": [ "E:\\wwwroot\\Host012184322\\wwwroot\\dayrui\\Fcms\\Init.php" ], "function": "require" }, { "file": "E:\\wwwroot\\Host012184322\\wwwroot\\sjg.php", "line": 9, "args": [ "E:\\wwwroot\\Host012184322\\wwwroot\\index.php" ], "function": "require" } ] }
  • 永兴电子
    #3楼    永兴电子
    2021-01-17 23:28:48
    Chrome 0
    是不是这
  • 永兴电子
    #4楼    永兴电子
    2021-01-17 23:37:04
    Chrome 0


  • 永兴电子
    #5楼    永兴电子
    2021-01-17 23:38:18
    Chrome 0
    侦测结果如图
  • 永兴电子
    #6楼    永兴电子
    2021-01-17 23:40:37
    Chrome 0
    是什么问题,该怎么处理
  • 永兴电子
    #7楼    永兴电子
    2021-01-18 00:24:16
    Chrome 0
    有懂得人吗?我现在该如何恢复
  • #8楼    迅睿框架创始人
    2021-01-18 07:55:11
    Chrome 0
    数据库问题,让主机服务商处理
  • 小纯色
    #9楼    小纯色
    2021-01-18 09:12:38
    Chrome 0
    数据库挂掉了,找主机运营商处理
  • 菜鸟一枚
    #10楼    菜鸟一枚
    2021-01-18 10:58:27
    Edge 0
    数据库挂了或者设置错误,先试试用数据库软件能不能连上
  • phyger
    #11楼    phyger
    2021-01-18 16:58:21
    Chrome 0
    数据库配置不正确,检查一下数据库配置,兄弟伙,以后发线上的图片建议打一下码,弄完后记得把数据库的账户或者密码改一下永兴电子