Hi Forum Folks,
For problem Library/Michigan/Chap11Sec6/Q13.pg there
are two links to units.html, which when clicked give
Not Found
The requested URL /webwork2_files/units.html was not found on this server.
Apache/2.2.9 (Fedora) Server at webwork.math.umass.edu Port 80
On our server the problem is located in
/opt/webwork/libraries/ProblemLibrary/Michigan/Chap11Sec6
and I see in the code for Q13.pg (with html comment symbols
which I omit here)
function unitspopup() {
var url = "/webwork2_files/units.html";
var opt = "height=625,width=600,location=no,menubar=no,status=no" +
"resizable=yes,scrollbars=yes,toolbar=no,";
window.open(url,'examdata_info',opt).focus();
I find no directory named webwork2_files in my install. I do
see a units.html (whose contents appears to be what this
link is intended to point to) in
/opt/webwork/libraries/ProblemLibrary/Michigan
Must I edit the problem to make this work?
Thanks for your time, Hans
Dear Hans,
I think webwork2_files refers to
.../webwork2/htdocs
(on our system /opt/webwork/webwork2/htdocs )
So my preferred solution has been to copy units.html to this location.
(The actual value of webwork2_files is set somewhere in global.conf if you want to go rooting around.)
Hal
The other thing to be careful about is that there are TWO units.html files in various places. I put up some of the Michigan homework sets and my students couldn't figure out the units because the link didn't work. I found units.html, put it in the right place, and then found that I had one that had different unit abbreviations than the ones used in the Michigan set. The correct one for this set is in
/opt/webwork/libraries/NationalProblemLibrary/Michigan/units.html
I can't find the other file now. Maybe I overwrote it. (Possibly helpfiles/Units.html?)
Anyway, it would be nice if the UNIts were UNIfied for the entire NPL.
Mostly the two sets are the same, but for example one file uses year and the other uses yr. I don't know what problem sets use the other file.
/opt/webwork/libraries/NationalProblemLibrary/Michigan/units.html
I can't find the other file now. Maybe I overwrote it. (Possibly helpfiles/Units.html?)
Anyway, it would be nice if the UNIts were UNIfied for the entire NPL.
Mostly the two sets are the same, but for example one file uses year and the other uses yr. I don't know what problem sets use the other file.