--- rat/lonuserstate.pm 2004/12/06 21:41:01 1.83 +++ rat/lonuserstate.pm 2005/02/17 09:09:11 1.84 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construct and maintain state and binary representation of course for user # -# $Id: lonuserstate.pm,v 1.83 2004/12/06 21:41:01 albertel Exp $ +# $Id: lonuserstate.pm,v 1.84 2005/02/17 09:09:11 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -152,9 +152,10 @@ sub loadmap { } my $title=$token->[2]->{'title'}; $title=~s/\&colon\;/\:/gs; - &Apache::lonnet::do_cache(\%Apache::lonnet::titlecache, - &Apache::lonnet::encode_symb($uri,$token->[2]->{'id'}, - $turi),$title,'title'); +# my $symb=&Apache::lonnet::encode_symb($uri, +# $token->[2]->{'id'}, +# $turi); +# &Apache::lonnet::do_cache_new('title',$symb,$title); unless ($ispage) { $turi=~/\.(\w+)$/; my $embstyle=&Apache::loncommon::fileembstyle($1); @@ -304,7 +305,7 @@ sub loadmap { } } else { - $errtext.='Map not loaded: The file does not exist. '; + $errtext.='Map not loaded: The file ('.$fn.') does not exist. '; } }