version 1.35, 2012/10/12 16:27:19
|
version 1.36, 2014/01/15 10:29:07
|
Line 186 sub get_max_time_in_db {
|
Line 186 sub get_max_time_in_db {
|
($r,$prog_state,&mt('Parsing results')); |
($r,$prog_state,&mt('Parsing results')); |
# |
# |
if (! open(TIMEDATA,$results_file)) { |
if (! open(TIMEDATA,$results_file)) { |
$r->print('<h2>'.&mt('Unable to read results file.').'</h2>'. |
$r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'. |
'<p>'. |
'<p>'. |
&mt('This is a serious error and has been logged. '. |
&mt('This is a serious error and has been logged.'). |
'You should contact your system administrator '. |
'<br />'. |
'to resolve this issue.'). |
&mt('Please alert your LON-CAPA administrator.'). |
'</p>'); |
'</p>'); |
return; |
return; |
} |
} |
Line 257 sub output_results {
|
Line 257 sub output_results {
|
if (! open(ACTIVITYDATA,$results_file)) { |
if (! open(ACTIVITYDATA,$results_file)) { |
$r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'. |
$r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'. |
'<p>'. |
'<p>'. |
&mt('This is a serious error and has been logged. '. |
&mt('This is a serious error and has been logged.'). |
'You should contact your system administrator '. |
'<br />'. |
'to resolve this issue.'). |
&mt('Please alert your LON-CAPA administrator.'). |
'</p>'); |
'</p>'); |
return -2; |
return -2; |
} |
} |