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

1. 訪問出現(xiàn)形如 “The requested URL /site/login was not found on this server.”的錯誤 或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)此問題的原因應是你安裝環(huán)境apache的mod_rewrite模塊沒被打開。
兩種解決辦法:
1). 開啟apache的mod_rewrite模塊
2). 將protected/main.php里''showScriptName'' => false改為true
2.Windows 下的安裝PDO MySQL擴展模塊
編輯使用的 php.ini, 找到下面擴展并去掉注釋打開擴展即可
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pdo_mssql.dll
重新啟動你的 Web Server
用 phpinfo() 出來的信息查看所有 pdo 模塊是否正常安裝

3.XAMPP下,Apache啟動時報Can't load Perl file問題的解決
通過xampp面板啟動apache時,面板總提示:
“Busy。。。
Apache service started

但始終未能真正起來。
找到apache錯誤日志:D:xamppapachelogserror.log,里面的錯誤信息如下:
[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)上查閱資料說是因為和oracle的某個環(huán)境變量沖突所致(我的機器上安裝有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"
再次啟動Apache服務,成功啟動。

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

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