version 1.181, 2007/04/03 20:04:54
|
version 1.182, 2007/05/02 01:33:48
|
Line 1316 sub update_full_student_data {
|
Line 1316 sub update_full_student_data {
|
chop($store_command); |
chop($store_command); |
$dbh->do($store_command); |
$dbh->do($store_command); |
if ($dbh->err) { |
if ($dbh->err) { |
$returnstatus = 'error storing part data'; |
$returnstatus = 'error saving part data'; |
&Apache::lonnet::logthis('insert error '.$dbh->errstr()); |
&Apache::lonnet::logthis('insert error '.$dbh->errstr()); |
&Apache::lonnet::logthis("While attempting\n".$store_command); |
&Apache::lonnet::logthis("While attempting\n".$store_command); |
} |
} |
Line 1356 sub update_full_student_data {
|
Line 1356 sub update_full_student_data {
|
chop($store_command); |
chop($store_command); |
$dbh->do($store_command); |
$dbh->do($store_command); |
if ($dbh->err) { |
if ($dbh->err) { |
$returnstatus = 'error storing response data'; |
$returnstatus = 'error saving response data'; |
&Apache::lonnet::logthis('insert error '.$dbh->errstr()); |
&Apache::lonnet::logthis('insert error '.$dbh->errstr()); |
&Apache::lonnet::logthis("While attempting\n".$store_command); |
&Apache::lonnet::logthis("While attempting\n".$store_command); |
} |
} |
Line 1368 sub update_full_student_data {
|
Line 1368 sub update_full_student_data {
|
($sname,$sdom,$courseid, |
($sname,$sdom,$courseid, |
&Apache::lonnet::convert_dump_to_currentdump(\%studentdata)); |
&Apache::lonnet::convert_dump_to_currentdump(\%studentdata)); |
if ($returnstatus eq 'okay' && $status ne 'okay') { |
if ($returnstatus eq 'okay' && $status ne 'okay') { |
$returnstatus = 'error storing current data:'.$status; |
$returnstatus = 'error saving current data:'.$status; |
} elsif ($status ne 'okay') { |
} elsif ($status ne 'okay') { |
$returnstatus .= ' error storing current data:'.$status; |
$returnstatus .= ' error saving current data:'.$status; |
} |
} |
## |
## |
## Update the students time...... |
## Update the students time...... |