管理 给我的留言
- v_v | 2010-11-23 15:13:16
-
今天碰到一个testlink-1.8.4在php5.3下的问题。
error message:
Deprecated: Function ereg_replace() is deprecated in f:\wamp\www\testlink-1.8.4\lib\functions\lang_api.php on line 173
在网上搜到直接搜到答案:http://www.teamst.org/forum/viewtopic.php?f=1&t=2203
解决方法是:
1 把php回滚到5.2
2 修改lang_api.php 代码 173 行, 用preg_replace函数
把
$t_lang_var = ereg_replace( '^TLS_', '', $t_var );
改为
$t_lang_var = preg_replace( '/^TLS_/', '', $t_var );
- v_v | 2010-03-17 23:35:23
- http://www.amazon.cn/mn/RAFInviteApp
- Forever413 | 2007-08-20 10:54:30
- 我也喜欢樱木,呵呵
标题搜索
我的存档
数据统计
- 访问量: 58111
- 日志数: 103
- 图片数: 4
- 文件数: 2
- 建立时间: 2007-05-20
- 更新时间: 2010-11-23