天天看點

Testlink 1.8.5 安裝錯誤的解決方法

  [1].hp 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 xxx

  解決該錯誤的方法是找到錯誤的php檔案,打開

  1、在php檔案頭加上:date_default_timezone_set("prc");

  2、更改php.ini種date.timezone的屬性值為prc,同時去掉前面的注釋就可以了。

  [2].deprecated: function ereg_replace() is deprecated in d:\program files\apache software foundation\apache2.2\htdocs\testlink\lib\functions\lang_api.php on line 173

  解決該錯誤的方法是打開php.ini檔案,将

  ;extension=php_mbstring.dll

  改為

  extension=php_mbstring.dll

  以及将

  ;mbstring.func_overload = 0

  修改為:

  mbstring.func_overload = 7

  修改之後,系統成功運作

  進去之後,還會發現一個warning:

  there are security warnings for your consideration.  to disable any reference to these checkings, set $tlcfg->config_check_warning_mode = 'silent';

  這需要打開testlink下config.inc.php檔案,将

  $tlcfg->config_check_warning_mode = 'file';

  $tlcfg->config_check_warning_mode = 'silent';

  再運作,warning消失!

最新内容請見作者的github頁:http://qaseven.github.io/