搭建一个环境 lamp for win2003 安装youbbs 报错
在虚拟机中搭建环境 lamp 测试 youbbs 发现报错 无法安装
( ! ) Notice: Undefined variable: dbpassword in D:wampappsyoubbscommon.php on line 21
Call Stack
Time Memory Function Location
1 0.0156 150416 {main}( ) ..index.php:0
2 0.0156 218152 include( 'D:wampappsyoubbscommon.php' ) ..index.php:6
( ! ) Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in D:wampappsyoubbsincludemysql.class.php on line 11
Call Stack
Time Memory Function Location
1 0.0156 150416 {main}( ) ..index.php:0
2 0.0156 218152 include( 'D:wampappsyoubbscommon.php' ) ..index.php:6
3 0.0312 241304 DB_MySQL->connect( ) ..common.php:21
4 0.0312 241408 mysqli_connect ( ) ..mysql.class.php:11
MySQL Database error:
Failed to connect to MySQL: Access denied for user 'root'@'localhost' (using password: NO)
Mysql error description: Access denied for user 'root'@'localhost' (using password: NO)
Mysql error number: 1045
Date: 2015-12-03 @ 07:59
Script: http://localhost/youbbs/
已经添加 apache 的rewrite filter 模块
config.php mysql 用户名 数据库 密码 都设置正确
请求站长回复
qq:tuzuoyouxi@qq.com
See Also
- 基于YOUBBS搭建的站点,只能说YOUBBS真的很好用
- 基于 golang youbbs搭建完毕
- 使用YouBBS迅速在SAE搭建了一个小站点:gxgames.net
- 请教,LNMP下点击登陆注册等404报错!
- Youbbs for VPS v2.1支持 Emoji 表情了
Nearby
- 上一篇 › php 7 源码安装参考
- 下一篇 › 从MySQL转向PostgreSQL
@youbbs 按照提示修改了 但是还有一个错误 不知道如何修改
( ! ) Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, string given in D:wampappsYouBBSincludemysql.class.php on line 80
Call Stack
Time Memory Function Location
1 0.0000 150800 {main}( ) ..index.php:0
2 0.0000 218864 include( 'D:wampappsYouBBScommon.php' ) ..index.php:6
3 0.0156 283656 include( 'D:wampappsYouBBSmodel.php' ) ..common.php:72
4 0.0156 289592 DB_MySQL->free_result( ) ..model.php:33
5 0.0156 289640 mysqli_free_result ( ) ..mysql.class.php:80
@ddkxiaobai 在哪下载? 替换这个文件 https://github.com/ego008/youbbs/blob/master/include/mysql.class.php