--- loncom/xml/lonxml.pm 2006/04/18 22:35:55 1.410 +++ loncom/xml/lonxml.pm 2006/06/27 14:22:39 1.413 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.410 2006/04/18 22:35:55 albertel Exp $ +# $Id: lonxml.pm,v 1.413 2006/06/27 14:22:39 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -123,9 +123,6 @@ $evaluate = 1; # stores the list of active tag namespaces @namespace=(); -# has the dynamic menu been updated to know about this resource -$Apache::lonxml::registered=0; - # a pointer the the Apache request object $Apache::lonxml::request=''; @@ -603,7 +600,6 @@ sub callsub { sub setup_globals { my ($request,$target)=@_; $Apache::lonxml::request=$request; - $Apache::lonxml::registered = 0; $errorcount=0; $warningcount=0; $Apache::lonxml::default_homework_loaded=0; @@ -1423,7 +1419,7 @@ sub handler { my $filecontents=&Apache::lonnet::getfile($file); if ($filecontents eq -1) { my $start_page=&Apache::loncommon::start_page('File Error'); - my $end_page=&Apache::loncommon::end_page('File Error'); + my $end_page=&Apache::loncommon::end_page(); my $fnf=&mt('File not found'); $result=(<',@_); + my $host=$Apache::lonnet::perlvar{'lonHostID'}; + my $msg = join('
',(@_,"The occured on host $host")); #notify author &Apache::lonmsg::author_res_msg($env{'request.filename'},$msg); #notify course