51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4485|回复: 3
打印 上一主题 下一主题

我刚安装了BUGFREE,可以进入到登陆界面,但是无法登陆。请指教。

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-10-14 09:42:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我刚安装了BUGFREE,可以进入到登陆界面,但是无法登陆。
我是先安装了XAMPP,然后再安装的BUGFREE。
我确定,数据库是创建成功了的,还可以在XAMPP管理界面内对BUGFREE的数据库进行管理。
多谢指点,不甚感激。


我是按照下载的安装流程来安装的,流程如下:

Bugfree在Windows操作系统下的安装
在安装BugFree之前,需要首先安装Apache, PHP, Mysql支持软件包,例如XAMPP或EASYPHP等。
下面以XAMPP为例进行说明。请先访问http://www.apachefriends.org/zh_cn/xampp.html 下载并安装最新的XAMPP版本。这里我们以压缩包“xampplite-win32-1.7.1.zip”为例进行说明。将压缩包解压到指定目录下,文件名为“xampplite”,方便后面的操作。
1.下载BugFree2.0.3安装包,解压后复制到XAMPP系统的htdocs子目录下,如D:\ xampplite\ htdocs。
2.进入bugfree的安装目录,复制文件Include/Config.inc.Sample.php为新文件Include/Config.inc.php。
3.在文件夹“xampplite”中找到“setup_xampp.bat”文件,运行。
3.在文件夹“xampplite”中找到“xampp-control.exe”文件 ,双击打开“XAMPP Control Panel Application”窗口,如图2.1所示。

图2.1
4.依次点击Apache和MySql后面的“Start”按钮,启动Apache和MySql服务,如图2.2所示。

图2.2
5.打开IE浏览器,在地址栏中输入:http://localhost,点击回车键出现如图2.3所示界面。

图2.3
6.选择“中文”链接,来到友好欢迎界面,提示你成功安装“XAMPP”,如图2.4所示。

图2.4
7.此时,在地址栏中输入https://localhost/bugfree,点击回车键。系统提示:数据库连接失败!如图2.5所示

图2.5
8.点击“创建数据库”链接,成功创建数据库,如图2.6所示。

图2.6
9.点击“继续安装”,提示安装全新的Bugfree2,如图2.7所示。

图2.7
10.点击“安装全新的Bugfree2”链接开始安装。安装结束后,系统会提供默认管理员的帐号和密码,如图2.8所示。


错误提示如下:
没错误提示,只有警告。
这个是安装过程的警告(有警告,但是还是可以继续安装。):
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\xampp\htdocs\bugfree\Include\Class\TemplateLite\class.template.php on line 97

数据库连接失败!
请确认是否存在数据库 bugfree2 创建数据库>>
请确认数据库的用户名和密码是否正确。
请确认数据库的服务器地址是否正确。
请确认数据库是否在运行。

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\xampp\htdocs\bugfree\Include\Class\TemplateLite\class.template.php on line 97

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\xampp\htdocs\bugfree\Include\Class\TemplateLite\class.compiler.php on line 139

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\xampp\htdocs\bugfree\Include\Class\TemplateLite\class.compiler.php on line 139



这个是登陆界面的警告:
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\xampp\htdocs\bugfree\Include\Class\TemplateLite\class.template.php on line 97

我使用了2.04和2.11的BUGFREE效果一样。浏览器IE也换了几种。
电脑在两台不同的电脑上安装整个过程,所有效果一样。
xampp是  xampp-win32-1.7.3.exe   这个版本的,官方下载。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    奋斗
    2022-5-8 19:23
  • 签到天数: 137 天

    连续签到: 1 天

    [LV.7]测试师长

    2#
    发表于 2010-10-27 21:58:55 | 只看该作者
    数据库的时区好像不对
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
    发表于 2011-8-17 11:17:03 | 只看该作者
    Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead

    因php的版本较高需要配置php.ini


    解决方法

       1:改 php.ini

    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    date.timezone ='Asia/Shanghai'

    2:在程序代码中写入

    第一行写入:date_default_timezone_set ('Asia/Shanghai');



    第一种方法可以解决这个问题。
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2022-5-8 19:23
  • 签到天数: 137 天

    连续签到: 1 天

    [LV.7]测试师长

    4#
    发表于 2011-8-18 21:52:29 | 只看该作者
    楼上所讲正解
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-9-20 16:48 , Processed in 0.062198 second(s), 25 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表