TestLink所需环境为PHP+MYSQL (支持MS SQL等),系统推荐使用PHP5.2,安装成功以后,如果运行时出错,主要两种错:

[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消失!

最新文章

  1. python3+ 模块学习 之 subprocess
  2. MyBatis学习总结(八)——Mybatis3.x与Spring4.x整合
  3. Android实现两个ScrollView互相联动,同步滚动的效果
  4. git安装步骤
  5. Intellij 导入play framework 项目
  6. JSP页面之${fn:}内置函数
  7. 使用Iterator遍历Sheet(POI)验证及解释结果有序性
  8. 简单 TCP/IP 服务功能
  9. iOS APP中Versions和build版本区别
  10. 转载:MyEclipse安装插件的几种方法
  11. Gitlab CI 自动部署 asp.net core web api 到Docker容器
  12. 如何使用Python读取大文件
  13. Integer 比较忽略的问题
  14. [UnityAPI]SerializedObject类 & SerializedProperty类
  15. SPLAY,LCT学习笔记(六)
  16. ASYNC_IO_COMPLETION
  17. dpkg: warning: files list file for package `*****' missing, assuming package has no files currently installed解决办法
  18. python自动化运维之路06
  19. 对java的理解
  20. BZOJ 1211 树的计数(purfer序列)

热门文章

  1. 教程 | 使用Sqoop从MySQL导入数据到Hive和HBase
  2. [Web Analytics] Into to Web Analytics
  3. JSP自己定义标签入门实例具体解释
  4. CodeForces484A Bits(贪心)
  5. js中的封装、继承、多态
  6. jquery選取所有checkbox和判斷是否全部checkbox已經被勾選
  7. Objective-C语言的 if ( self = [super init] )
  8. js全局替换空格,制表符,换行符
  9. c# Winform上传文件
  10. HTTP要点概述:十,内容协商