0

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}

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

2个回答

0

我也是这个问题,不过其他页都正常,就是留言页有显示错误。暂未解决

0

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

撰写答案