WeBWorK Main Forum

Apache Error Log Messages

Apache Error Log Messages

by Tom Hall -
Number of replies: 2
We are getting a log of error messages in the apache error log of the form:

[Wed Sep 23 09:35:08 2009] [warn] [client 139.57.235.37] [/webwork2/MathSkills/quiz_mode/Math_Skills_Test_06/] Can't locate package Inequalities::common for @Inequalities::Set::ISA at /usr/local/webwork/webwork2/lib/Apache/WeBWorK.pm line 115.

[Wed Sep 23 01:22:14 2009] [warn] [client 10.1.11.1] [/webwork2/MathSkills/quiz_mode/Math_Skills_Test_02/] Can't locate package LimitedPolynomial::BOP for @LimitedPolynomial::BOP::power::ISA at /usr/local/webwork/webwork2/lib/Apache/WeBWorK.pm line 115.

(referrer portion deleted).

We are using version 2.4.5. Does anyone have any suggestions.

Thanks

Tom

In reply to Tom Hall

Re: Apache Error Log Messages

by Michael Gage -
The messages indicate that you are missing a few files from your pg directory. If you update your pg directory, by going to that directory and typing


cvs update -r rel-2-4-patches

you will get the latest stable version of the PG code (it is about version 2.4.7 now, but it will work with the 2.4.5 version of the webwork2 code)

Restart your server so that the new files take effect.
In reply to Michael Gage

Re: Apache Error Log Messages

by Davide Cervone -
In particular, check that you have a current version of pg/macros/contextInequalities.pl. This is the file that defines Inequalities::common. But since it also defined Inequalities::Set, I don't see why you would be having this problem. See if an update helps, and if not, delete contextInequalies.pl and update again to get a fresh copy (just to make sure you have not got a damaged copy). Restarting the server should not be necessary for this because this is not one of the cached files, but it never hurts to be sure everything is clean.

Davide