yzmcms仿站模板,本地测试正常,服务器运行时系统报错(下面贴出报错代码)。折腾半天也没弄好,求高手指点?

170次浏览 发布日期:2018-12-18 19:41:57 分类:问题求助 评论:2

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>系统发生错误</title>

<link rel="Shortcut Icon" href="http://www.gulike.top/common/static/admin/yzm_admin/images/favicon.ico" />

    <style>

  *{padding:0;margin:0;}

  body{background:#fff;font-family:'微软雅黑';color:#333;font-size:16px;}

  #msg{text-align:center;width:750px;margin:100px auto 0;overflow:hidden;word-break:keep-all;word-wrap:break-word;}

  #title{font-size:120px;}

  #body{font-size:50px;}

  #footer{font-size:14px;text-align:right;color:#999;}

  #footer a{color:#000;text-decoration:none;}

</style>

</head>

<body>

    <div id="msg">       

     <div id="title"> (>﹏<) </div>

     <div id="body">MySQL Error!</div>

<div id="footer"><a href="http://www.yzmcms.com/" target="_blank" title="官方网站">YZMPHP</a><sup>2.0</sup></div>

    </div>

</body>

</html>


我来说两句
  • p101732
    p101732 1月前
    补充错误日志:

    <?php exit;?> Error : 2018-12-18 23:58:28 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | /www/users/HA533397/WEB/yzmphp/core/class/db_mysql.class.php | 37
    <?php exit;?> MySQL Error: 2018-12-18 23:58:28 | Errno: 1054 | Error: Unknown column 'modelid' in 'field list' | SQL: SELECT title,thumb,modelid,url FROM `m8okj9` . `yzm_spec` WHERE status=1 ORDER BY listorder ASC,id DESC LIMIT 0,4
    <?php exit;?> Error : 2018-12-18 23:58:28 | 2 | Cannot modify header information - headers already sent by (output started at /www/users/HA533197/WEB/cache/index/header.tpl.php:34) | /www/users/HA533197/WEB/yzmphp/core/class/application.class.php | 111
    <?php exit;?> Error : 2018-12-18 23:58:28 | 2 | Cannot modify header information - headers already sent by (output started at /www/users/HA533197/WEB/cache/index/header.tpl.php:34) | /www/users/HA533192/WEB/yzmphp/core/class/application.class.php | 112
    <?php exit;?> Error : 2018-12-18 23:58:28 | 8192 | mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead | /www/users/HA533197/WEB/yzmphp/core/class/db_mysql.class.php | 37
    回复回复
  • yzmcms
    yzmcms 官网认证 1月前
    看一下错误日志: /cache/error_log.php
    回复回复
版主信息
发布新帖
发帖子 回顶部