version 1.260, 2006/03/23 22:01:58
|
version 1.261, 2006/04/07 21:56:01
|
Line 199 sub handler {
|
Line 199 sub handler {
|
'We were unable to retrieve data describing your search. '. |
'We were unable to retrieve data describing your search. '. |
'This is a serious error and has been logged. '. |
'This is a serious error and has been logged. '. |
'Please alert your LON-CAPA administrator.'; |
'Please alert your LON-CAPA administrator.'; |
return &Apache::loncommon::simple_error_page($r,'Search Error', |
&Apache::loncommon::simple_error_page($r,'Search Error', |
$msg); |
$msg); |
|
return OK; |
} |
} |
} |
} |
} else { |
} else { |
Line 221 sub handler {
|
Line 222 sub handler {
|
# This is a stupid error to give to the user. |
# This is a stupid error to give to the user. |
# It really tells them nothing. |
# It really tells them nothing. |
my $msg = 'Unable to tie hash to db file.'; |
my $msg = 'Unable to tie hash to db file.'; |
return &Apache::loncommon::simple_error_page($r,'Search Error', |
&Apache::loncommon::simple_error_page($r,'Search Error', |
$msg); |
$msg); |
|
return OK; |
} |
} |
} |
} |
## |
## |
Line 363 END
|
Line 365 END
|
my $msg = |
my $msg = |
'Unable to create table in which to store search results. '. |
'Unable to create table in which to store search results. '. |
'The search has been aborted.'; |
'The search has been aborted.'; |
return &Apache::loncommon::simple_error_page($r,'Search Error', |
&Apache::loncommon::simple_error_page($r,'Search Error', |
$msg); |
$msg); |
|
return OK; |
} |
} |
delete($env{'form.launch'}); |
delete($env{'form.launch'}); |
if (! &make_form_data_persistent($r,$persistent_db_file)) { |
if (! &make_form_data_persistent($r,$persistent_db_file)) { |
my $msg= |
my $msg= |
'Unable to properly store search information. '. |
'Unable to properly store search information. '. |
'The search has been aborted.'; |
'The search has been aborted.'; |
return &Apache::loncommon::simple_error_page($r,'Search Error', |
&Apache::loncommon::simple_error_page($r,'Search Error', |
$msg); |
$msg); |
|
return OK; |
} |
} |
## |
## |
## Print out the frames interface |
## Print out the frames interface |