ddkxiaobai avatar

搭建一个环境 lamp for win2003 安装youbbs 报错

🕘 by ddkxiaobai

在虚拟机中搭建环境 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

💘 相关文章

评论

共3条关于"搭建一个环境 lamp for win2003 安装youbbs 报错"的评论

youbbs avatar
#1 youbbs 回复

1
dbpassword in D:wampappsyoubbscommon.php on line 21

ddkxiaobai avatar
#2 ddkxiaobai 回复

@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

写一条评论

Based on Golang + fastHTTP + sdb | go1.16.5 Processed in 1ms