flowbottle 发表于 2010-10-14 09:42:10

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

我刚安装了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() : 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() : 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() : 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() : 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() : 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   这个版本的,官方下载。

msnshow 发表于 2010-10-27 21:58:55

数据库的时区好像不对

dugang 发表于 2011-8-17 11:17:03

Warning: 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


; 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');



第一种方法可以解决这个问题。

msnshow 发表于 2011-8-18 21:52:29

:victory: 楼上所讲正解
页: [1]
查看完整版本: 我刚安装了BUGFREE,可以进入到登陆界面,但是无法登陆。请指教。