Coder Social home page Coder Social logo

Comments (7)

star7th avatar star7th commented on May 19, 2024

可能是环境问题。你看看Application\Runtime\Logs\Home目录的错误日志,顺着错误日志应该会有线索

from showdoc.

star7th avatar star7th commented on May 19, 2024

如果连日志都没看到则注意给Runtime目录可写权限,顺便清空一下Runtime目录再试

from showdoc.

zhangjinling avatar zhangjinling commented on May 19, 2024

配置文件:
\Application\Common\Conf

'配置值' 'DB_TYPE' => 'mysql', // 数据库类型 'DB_HOST' => '127.0.0.1', 'DB_NAME' => 'shoswdoc', 'DB_USER' => 'root', 'DB_PWD' => 'root', 'DB_PORT' => 3306, // 端口 'DB_PREFIX' => '', // 数据库表前缀 'DB_CHARSET'=> 'utf8', // 字符集 'DB_DEBUG' => TRUE, // 数据库调试模式 开启后可以记录SQL日志 "URL_HTML_SUFFIX" => '',//url伪静态后缀 'URL_ROUTER_ON' => true, 'URL_ROUTE_RULES'=>array( ':id\d' => 'Home/Item/Show?item_id=:1', ), ); 错误信息: [ 2015-12-07T09:23:34+08:00 ] 127.0.0.1 /index.php/home/user/login ERR: SQLSTATE[HY000] [1045] Access denied for user 'showdoc'@'localhost' (using password: YES) 我已经把用户名改了,怎么还是这个?还有其他配置的地方吗? 这个应该是密码不对! 谢谢。。。

from showdoc.

star7th avatar star7th commented on May 19, 2024

清空一下Runtime目录再试。
另外数据库名是showdoc,不是shoswdoc

from showdoc.

zhangjinling avatar zhangjinling commented on May 19, 2024

一直也没敢删Runtiime文件夹!就是那个文件夹的问题,我觉得下次你提交的时候就别提交那个文件夹里的东西了,项目非常好,谢谢,辛苦了。

from showdoc.

star7th avatar star7th commented on May 19, 2024

我没有提交那个文件夹的东西的。可能是你下载下来后,尚未改掉配置就运行了,运行后就生成了Runtiime缓存。所以当你改掉配置,你则需求把之前生成的缓存清理掉

from showdoc.

star7th avatar star7th commented on May 19, 2024

新增了支持三级目录的功能;升级安装请参考部署手册中“升级安装”部分。http://blog.star7th.com/2016/05/2007.html
此外我新建了一个ShowDoc使用交流qq群(群号:564671853),欢迎探讨问题

from showdoc.

Related Issues (20)

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.