您的位置:軟件測(cè)試 > 開(kāi)源軟件測(cè)試 > 開(kāi)源Bug管理工具 > BugFree
Bugfree 3.0.2環(huán)境搭建和安裝問(wèn)題
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2013/12/26 11:19:28 ] 推薦標(biāo)簽:數(shù)據(jù)庫(kù)

1. 訪問(wèn)出現(xiàn)形如 “The requested URL /site/login was not found on this server.”的錯(cuò)誤 或Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,webmaster@localhostand inform. them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
3.0.2/.htaccess: Invalid command 'RewriteEngine',
perhaps misspelled or defined by a module not included in the server configuration,
referer:http://localhost:5000/
 出現(xiàn)此問(wèn)題的原因應(yīng)是你安裝環(huán)境apache的mod_rewrite模塊沒(méi)被打開(kāi)。
兩種解決辦法:
1). 開(kāi)啟apache的mod_rewrite模塊
2). 將protected/main.php里''showScriptName'' => false改為true
2.Windows 下的安裝PDO MySQL擴(kuò)展模塊
編輯使用的 php.ini, 找到下面擴(kuò)展并去掉注釋打開(kāi)擴(kuò)展即可
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pdo_mssql.dll
重新啟動(dòng)你的 Web Server
用 phpinfo() 出來(lái)的信息查看所有 pdo 模塊是否正常安裝

3.XAMPP下,Apache啟動(dòng)時(shí)報(bào)Can't load Perl file問(wèn)題的解決
通過(guò)xampp面板啟動(dòng)apache時(shí),面板總提示:
“Busy。。。
Apache service started

但始終未能真正起來(lái)。
找到apache錯(cuò)誤日志:D:xamppapachelogserror.log,里面的錯(cuò)誤信息如下:
[Mon Apr 09 15:00:26 2012] [error] Attempt to reload DynaLoader.pm aborted. Compilation failed in require at D:/xampp/perl/site/lib/ModPerl/Const.pm line 18. BEGIN failed--compilation aborted at D:/xampp/perl/site/lib/ModPerl/Const.pm line 18. Compilation failed in require at D:/xampp/perl/site/lib/Apache2/Const.pm line 18. BEGIN failed--compilation aborted at D:/xampp/perl/site/lib/Apache2/Const.pm line 18. Compilation failed in require at D:/xampp/apache/conf/extra/startup.pl line 9. BEGIN failed--compilation aborted at D:/xampp/apache/conf/extra/startup.pl line 9. Compilation failed in require at (eval 2) line 1.
[Mon Apr 09 15:00:26 2012] [error] Can't load Perl file: D:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...
 網(wǎng)上查閱資料說(shuō)是因?yàn)楹蚾racle的某個(gè)環(huán)境變量沖突所致(我的機(jī)器上安裝有Oracle10g)。
解決辦法:
 找到文件:C:xamppapacheconfextrahttpd-perl.conf,添加“PerlSwitches -T”,紅色字體部分:
LoadFile "C:/xampp/perl/bin/perl510.dll"
LoadModule perl_module modules/mod_perl.so
PerlSwitches -T
PerlPostConfigRequire "D:/xampp/apache/conf/extra/startup.pl"
再次啟動(dòng)Apache服務(wù),成功啟動(dòng)。

4. Error 500  mysql_real_escape_string(): Access denied for user””@”localhost” (using password: NO)
解決方法:
注釋掉Sqlservice.php中的$fieldValue = mysql_real_escape_string($fieldValue);這行ok了,可以正常進(jìn)入系統(tǒng)了。
問(wèn)題: Error 500 mysql_real_escape_string(): Access denied for user””@”localhost” (using password: NO) 解決方法: 注釋掉Sqlservice.php中的$fieldValue = mysql_real_escape_string($fieldValue);這行ok了,可以正常進(jìn)入系統(tǒng)了。

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