pessni
  • 2
  • 新人请关照

typecho首页错误求解

typecho迁移,数据库导入后首页显示错误,代码如下:

exception 'Typecho_Db_Query_Exception' in /home/noteeyga/public_html/var/Typecho/Db/Adapter/Mysql.php:88
Stack trace:

#0 /home/noteeyga/public_html/var/Typecho/Db.php(354): Typecho_Db_Adapter_Mysql->query('SELECT *  FROM ...', Resource id #18, 1, 'SELECT')
#1 /home/noteeyga/public_html/var/Typecho/Db.php(384): Typecho_Db->query(Object(Typecho_Db_Query), 1)
#2 /home/noteeyga/public_html/var/Widget/Abstract/Contents.php(89): Typecho_Db->fetchAll(Object(Typecho_Db_Query))
#3 /home/noteeyga/public_html/usr/themes/Life/index.php(26): Widget_Abstract_Contents->___fields()
#4 /home/noteeyga/public_html/var/Widget/Archive.php(2022): require_once('/home/noteeyga/...')
#5 /home/noteeyga/public_html/var/Typecho/Router.php(138): Widget_Archive->render()
#6 /home/noteeyga/public_html/index.php(24): Typecho_Router::dispatch()
#7 {main}

其他一切正常,只有首页出错,基本判断是数据库的问题,但我一直搜不到解决办法,求指点,谢谢!

阅读 1.1k
评论 2018-04-12 提问
    2 个回答
    pessni
    • 2
    • 新人请关照

    感谢各位的回答,猜测是和主题文件损坏有关的。不过我已经转到WordPress了。

    评论 赞赏 2018-05-20