Giter VIP home page Giter VIP logo

sahelp-for-typecho's People

Contributors

cnsamool avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sahelp-for-typecho's Issues

切换主题后报错500 Database Query Error

我已经根据提示 在typecho_metas表添加字段iconfont,但仍然出错,

Table 'abc.typecho_SAcontents' doesn't exist
Typecho\Db\Adapter\SQLException: Table 'abc.typecho_SAcontents' doesn't exist in /www/wwwroot/abc.com/var/Typecho/Db/Adapter/Mysqli.php:103
Stack trace:
#0 /www/wwwroot/abc.com/var/Typecho/Db.php(391): Typecho\Db\Adapter\Mysqli->query()
#1 /www/wwwroot/abc.com/var/Typecho/Db.php(424): Typecho\Db->query()
#2 /www/wwwroot/abc.com/usr/themes/SaHelp-For-Typecho-master/sidebar.php(26): Typecho\Db->fetchAll()
#3 /www/wwwroot/abc.com/var/Widget/Archive.php(1333): require('...')
#4 /www/wwwroot/abc.com/usr/themes/SaHelp-For-Typecho-master/index.php(28): Widget\Archive->need()
#5 /www/wwwroot/abc.com/var/Widget/Archive.php(1415): require_once('...')
#6 /www/wwwroot/abc.com/var/Typecho/Router.php(99): Widget\Archive->render()
#7 /www/wwwroot/abc.com/index.php(23): Typecho\Router::dispatch()
#8 {main}

NGINX 版本:1.22.1
PHP 版本:7.4 / 8.0 都试过了
数据库:MySQL 5.7.40
Typecho 版本:1.2.0

启用主题后500错误-Database Query Error

启用Typecho调试模式,错误如下:

Unknown column 'iconfont' in 'field list'
exception 'Typecho_Db_Query_Exception' with message 'Unknown column 'iconfont' in 'field list'' in /data/home/hyu4605230001/htdocs/var/Typecho/Db/Adapter/Mysql.php:88
Stack trace:
#0 /data/home/hyu4605230001/htdocs/var/Typecho/Db.php(354): Typecho_Db_Adapter_Mysql->query('SELECT mid , ...', Resource id #18, 1, 'SELECT')
#1 /data/home/hyu4605230001/htdocs/var/Typecho/Db.php(384): Typecho_Db->query(Object(Typecho_Db_Query), 1)
#2 /data/home/hyu4605230001/htdocs/usr/themes/SaHelp/sidebar.php(7): Typecho_Db->fetchAll(Object(Typecho_Db_Query))
#3 /data/home/hyu4605230001/htdocs/var/Widget/Archive.php(1937): require('/data/home/hyu4...')
#4 /data/home/hyu4605230001/htdocs/usr/themes/SaHelp/index.php(28): Widget_Archive->need('sidebar.php')
#5 /data/home/hyu4605230001/htdocs/var/Widget/Archive.php(2022): require_once('/data/home/hyu4...')
#6 /data/home/hyu4605230001/htdocs/var/Typecho/Router.php(138): Widget_Archive->render()
#7 /data/home/hyu4605230001/htdocs/index.php(23): Typecho_Router::dispatch()
#8 {main}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.