您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > BugFree
Windows 7 下安裝BugFree與異常處理
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2014/1/8 10:13:14 ] 推薦標(biāo)簽:Apache BugFree

Windows 7 下安裝BugFree2.1.2  (xampp-win32-1.7.3)

1:安裝xampp-win32-1.7.3 選擇磁盤空間較大的盤符
2:如果Apache的端口不需要改的話(在apache的conf目錄下的httpd文件,修改Listen 與 ServerName localhost并保存),在XAMPP注冊服務(wù)并開啟所有的服務(wù)。
3:把bugfree拷貝到htdocs目錄下
4:瀏覽http://192.168.0.9:8080/bugfree/install.php(提示:File 'Include/Config.inc.php' cannot be found,配置ugfreeInclude中的Config.inc.Sample.php 配置完后把文件名改為  Config.inc.php  保存)并重新瀏覽,安裝完成。

===================================================================================
D:usrwwwugfreeInclude中的Config.inc.Sample.php

                error_reporting(E_ALL ^ E_NOTICE);

                $BugConfig["ScriptDir"] = "D:usrwwwugfree";
                $_CFG['LangList']['EN_UTF-8']    = 'English UTF-8';
                $_CFG['LangList']['ZH_CN_UTF-8'] = 'ZH_CN UTF-8';
                $_CFG['DefaultLang']             = 'ZH_CN_UTF-8';

                /*2. Define admin user list. Like this: array('admin','yourloginname') */
                $_CFG['AdminUser'] = array('admin');

                /* Define report user list. Like this: array('admin','someone@example.com');*/
                $_CFG['MailReportUser'] = array('');

                /* 3. Define the username and password of the BugFree database. */

                $_CFG['DB']['User']        = 'root';
                $_CFG['DB']['Password']    = 'xxmi.com';
                $_CFG['DB']['Host']        = 'localhost';
                $_CFG['DB']['Database']    = 'bugfree';
                $_CFG['DB']['TablePrefix'] = 'bf_';
                $_CFG['DBCharset']         = 'UTF8';

bugfree 安裝 錯誤 解決方法
----------------------------------------------------------------
****************************************************************
ERROR OCCUR TO /bugfree/install.php:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''TYPE=MyISAM DEFAULT


CHARSET=UTF8'' at line 54
****************************************************************

解決方法一:
使用 XAMPP 1.7.3 + BugFree2.1.2 安裝成功


解決方法二:
安裝的時候出現(xiàn)錯誤,phpcms near 'TYPE=MyISAM DEFAULT CHARSET=utf8' at line 1
mysql版本的問題?


TYPE=MyISAM 和 ENGINE=MyISAM 都是設(shè)置數(shù)據(jù)庫存儲引擎的語句
(老版本的MySQL使用TYPE而不是ENGINE(例如,TYPE = MYISAM)。
MySQL 5.1為向下兼容而支持這個語法,但TYPE現(xiàn)在被輕視,而ENGINE是首先的用法。
一般地,ENGINE 選項是不必要的;除非默認(rèn)已經(jīng)被改變了,MyISAM是默認(rèn)存儲引擎。


查到上面的信息,我的數(shù)據(jù)庫是mysql5.5.8,把TYPE改成ENGINE ok了。

**********************************************************************************
出現(xiàn)Call-time pass-by-reference has been deprecated
**********************************************************************************
Warning: Call-time pass-by-reference has been deprecated;
解決方法:
修改php.ini可以了。
1. 搜索: allow_call_time_pass_reference
2. ? Off 改成 On ,Web Server重起OK了~

 

Access denied for user'root'@'localhost'(using password: NO)的解決辦法


在windows下 1045 access denied for user'root'@'localhost'using password yes 解決辦法時間:2009-11-24 22:54:30來源:網(wǎng)絡(luò) 作者:未知 點擊:2495次
在windows下的解決辦法如下:
在windows下的解決辦法如下:

    1.net stop mysql 停用服務(wù)

    2.修改${mysql_home}/MySQL Server 5.1目錄下的my.ini文件

          [mysqld]下面添加這句:
              skip_grant_tables

    3.把你的${mysql_home}in目錄加入path路徑里邊

    4.net start mysql 啟動mysql服務(wù)

    5.mysql -uroot -p
       Enter password:root

    6.mysql>UPDATE user SET Password=PASSWORD('root') where USER='root';
       mysql>FLUSH PRIVILEGES;
       mysql>exit

    7.刪除my.ini中的這句話:skip_grant_tables
       net stop mysql
       net start mysql

       8.可以登錄了

       mysql -uroot -proot
       mysql>

軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd