[LON-CAPA-admin] Printing with <m> tag

H. K. Ng ng at martech.fsu.edu
Mon Oct 18 14:48:47 EDT 2004


On one of my servers the simple problem below does not want to print. When 
I click on the PRT button, it gives

HTTP/1.1 500 Internal Server Error Date: Mon, 18 Oct 2004 18:47:47 GMT 
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b 
DAV/1.0.3 mod_perl/1.26 Connection: close Transfer-Encoding: chunked 
Content-Type: text/html

The httpd error_log says

[Mon Oct 18 14:47:47 2004] [error] maketext doesn't know how to 
say:!_radical_equations_100.problem (what you just saw on the screen)!as 
needed at /home/httpd/lib/perl/Apache/lonlocal.pm line 186!

Is this server missing some modules or have a conflicting module? I check 
mod_ssl and mod_perl - they are the same versions on both lib servers. 
Thanks, -hk

<problem>
<script type="loncapa/perl">
$a=&random(1,25,1);
$b=&random(1,15,1);
$c=($a-$b)**2;
</script>
<startouttext />Solve for x.<br />
<m eval="on"> \[ \sqrt{x } + $b = $a \] </m>
<endouttext />
<numericalresponse answer="$c">
     <textline />
</numericalresponse>
</problem>




More information about the LON-CAPA-admin mailing list