Giter VIP home page Giter VIP logo

cactusplus's People

Contributors

hygd0813 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cactusplus's Issues

数据库问题——3个问题

问题一

  • 结果:

只有首页显示Database Query Error。

  • 环境:

宝塔、typecho1.2.1、php7.4、MySQL5.7、
新搭建的站点,执行了三条代码修改了数据库。除了评论和微语评论中未找到QQ号没修改之外,都按照教程改了(Edit.php非必须就没改)。
page.files.php中第51行没有修改成自己的分类信息,但是显示正常。(这个不知道怎么改)

  • 尝试修复:

index.php中注释掉 ,也就是不调用agreeCount函数。并且把functions中此函数注释。

问题二

  • 结果:

浏览数量显示异常

  • 环境相同

  • 尝试修复:

下载pageViews插件,调用后显示正常(https://github.com/PonyCool这是插件地址)

问题三

comments和comments1.php中没有QQ吧?
而且如果在后台屏蔽掉某些分类,那么如果某些页面代码没有修改(widget('Widget_Metas_Category_List')->to($categorys);while($categorys->next()):?>)还是调用显示所有分类会提示Call to a member function format() on null。(小问题)

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.