|
回复 8# castle
安装后同样错,在网上找到下面这段话~ 照做好了
10. Done, you are ready and can access the testlink
Most of the users find the below error after configuring test link & opening the page
Deprecated: Function ereg_replace() is deprecated in C:\wamp\www\testlink\lib\functions\lang_api.php on line 173
This is because the ereg command is no more used in the PHP versions > 5.2. So the solution for this is either reverting back to PHP 5.2 or lower (or) do the following tweak:
Go to the Drive:\testlink\lib\functions\ and go to line number 173 in the file ‘lang_api.php’. Change this line:
$t_lang_var = ereg_replace( ‘^TLS_’, ”, $t_var );
to be this line:
$t_lang_var = preg_replace( ‘/^TLS_/’, ”, $t_var ); |
|