[LON-CAPA-dev] Some bombs -

Guy Albertelli II lon-capa-dev@mail.lon-capa.org
Tue, 27 Jul 2004 15:58:28 -0400 (EDT)


Hi Mark,

> I'm getting some bombs on old problems and was wondering if anyone could 
> give the 30s explanation of what's going on here in general. (What is the 
> deal with this 'substitution on' ?)

There is a bug in 1.1.99.3 that is causing this. It is fixed for the
upcoming 1.1.99.4 or 1.2.0 (whatever it turns out to be.)

For the quick fix, stick

  $safeeval->permit("require");

into lonxml.pm around line 750 (there are a lot of 
  $safehole->wrap(...) lines, put it after them.

And comment out the

$safeeval->permit("require");

and

$safeeval->deny("require");

in run.pm

and do a restart on the webserver.

-- 
guy@albertelli.com  LON-CAPA Developer  0-7-3-9-