您的位置:BugFree > 论坛 > 站内公告 > BugFree Release[BugFree发布] > BugFree 2.0 安装指南
2007-09-30 10:27:06 BugFree 2.0 安装指南
#1
bugfree
访问次数 : 2
注册日期 : 05-06-26 00:03
上次访问 : 09-10-29 21:05
http://www.bugfree.org.cn/blog/?p=4
1. 下载 BugFree2

2. 将所有文件解压缩到在网站指定虚拟目录下,例如 www/bugfree2

3. 安装选项

a) 升级:如果是从BugFree 1.1 升级到2.0,在浏览器端运行upgrade1to2.php

b) 全新安装:执行Doc/CreateDB.sql 创建默认数据库和表

4. 复制Include/Config.Default.php到一个新文件Config.inc.php, 编辑下列红色字段的值

/* 2. Define admin user list*/
$_CFG[’AdminUser’] = array(‘admin’, ‘yournamehere’); /* 3. Define the username and password of the BugFree database. */
$_CFG[’DB’][’User’] = ‘root’;
$_CFG[’DB’][’Password’] = ”;
$_CFG[’DB’][’Host’] = ‘localhost’;
$_CFG[’DB’][’Database’] = ‘bugfree2′;

5. 如果是在Linux安装,修改BugFile 和Data/TplCompile文件夹属性为777
6. 安装完毕后删除upgrade1to2.php文件
7. 全新安装,请使用默认管理员帐号admin登录(默认密码为空,登录后马上修改
回帖
2007-09-30 13:24:23
#2
cuteser
访问次数 : 242
注册日期 : 07-07-06 22:46
上次访问 : 09-10-29 21:05
从1.1升级出错

[步骤]
1. 将所有文件解压缩到在网站指定虚拟目录下,例如 www/bugfree2
2.在IE里输入 http://10.33.3.56:2217/bugfree2/upgrade1to2.php

[结果]
Warning: main(D:\AMP\WWW\bugfree2/Include/Config.inc.php) [function.main]:
failed to open stream: No such file or directory in
D:\AMP\WWW\bugfree2\Include\Init.inc.php on line 32

Fatal error: main() [function.require]: Failed opening required
'D:\AMP\WWW\bugfree2/Include/Config.inc.php'
(include_path='.;c:\php4\pear') in
D:\AMP\WWW\bugfree2\Include\Init.inc.php on line 32

[原因分析]
bugfree2\Include目录下的确没有文件Config.inc.php
回帖
2007-09-30 13:46:24
#3
cuteser
访问次数 : 242
注册日期 : 07-07-06 22:46
上次访问 : 09-10-29 21:05
[步骤]
1。把目录AMP\WWW\phpMyAdmin下的Config.inc.php拷贝到bugfree2\Include目录下;
2。在IE里输入 http://10.33.3.56:2217/bugfree2/upgrade1to2.php

[结果]
"Warning: Invalid argument supplied for foreach() in D:\AMP\WWW\bugfree2\upgrade1to2.php on line 383

Completed!"
回帖
2007-09-30 15:09:38
#4
beerfroth
访问次数 : 11
注册日期 : 07-09-30 08:24
上次访问 : 09-10-29 21:05
的确有问题。我装了都不行的。
回帖