Hello,
I'm currently testing TL 1.7.0 and I have a problem if I try to modify the $g_tc_status_for_ui variable in the const.inc.php file.
Initial source is :
// Used to generate radio and buttons at user interface level.
// Order is important, because this will be display order on User Interface
//
// key => verbose status as defined in $g_tc_status
// value => string id defined in the strings.txt file,
// used to localize the strings.
//
// $g_tc_status_for_ui = array(
// "not_run" => "test_status_not_run",
// "passed" => "test_status_passed",
// "failed" => "test_status_failed",
// "blocked" => "test_status_blocked"
// );
$g_tc_status_for_ui = array(
"passed" => "test_status_passed",
"failed" => "test_status_failed",
"blocked" => "test_status_blocked"
);
If I try to (re)introduce "not_run" => "test_status_not_run", line in the array, I receive the following message (in a blank window) when loging:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\testlink\cfg\const.inc.php:1) in C:\xampp\htdocs\testlink\lib\functions\common.php on line 187
Is there a problem with this status?
Thank's for your help.
Dan
Unable to modify $g_tc_status_for_ui
Moderators: Amaradana, TurboPT, TL Developers
Unable to modify const.inc.php
Hello fman,
The problem happened each time I tried to edit this file.
I migrate to 1.7.3 version but I still had the same issue.
I used Notepad to edit the file and I noticed the size of the file was not the same after modifying it and remove modification.
So I used emacs to edit it and it worked, but I can't explain that.
Best regards,
Dan
The problem happened each time I tried to edit this file.
I migrate to 1.7.3 version but I still had the same issue.
I used Notepad to edit the file and I noticed the size of the file was not the same after modifying it and remove modification.
So I used emacs to edit it and it worked, but I can't explain that.
Best regards,
Dan
Hello,
Even if I'm not sure, in my opinion, the issue is due to end of line formatting (return/line feed) characters.
After editing the original file with emacs, when I open it with notepad, I get an unformatted text (all the source is concateneted with squares for end of line characters).
Perhaps this file was created on an Unix/Linux computer without Windows end of line settings (to be verified).
Best regards,
Dan
Even if I'm not sure, in my opinion, the issue is due to end of line formatting (return/line feed) characters.
After editing the original file with emacs, when I open it with notepad, I get an unformatted text (all the source is concateneted with squares for end of line characters).
Perhaps this file was created on an Unix/Linux computer without Windows end of line settings (to be verified).
Best regards,
Dan