zoukankan      html  css  js  c++  java
  • 【转载】testlink 1.8.5 安装错误的解决方法

    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 FilesApache Software FoundationApache2.2htdocs estlinklibfunctionslang_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消失!

  • 相关阅读:
    居然就这么没有了
    RAID4 in WAFL
    网络存储导论第15章:Netapp产品分析
    radwareAPSolute应用前端解决方案全局负载均衡解决方案
    RAID , LVM and EVMS
    FND_STANDARD.SET_WHO
    基于基表的Form开发
    eclipse pydev 升级地址
    .net程序员应该知道的
    收集利用Jquery取得iframe中元素
  • 原文地址:https://www.cnblogs.com/pasco/p/3730261.html
Copyright © 2011-2022 走看看