Division by Zero Error | topic started 8/23/2004; 4:00:37 PM last post 8/23/2004; 5:17:40 PM |
|
John Jones - Re: Division by Zero Error 8/23/2004; 5:17:40 PM (reads: 1135, responses: 0) |
Hi, We say this sort of problem when we upgraded webwork, and used it on an existing course. In short, there was a change in how webwork stored data for sql courses, and it lead to values being read as the number 0 when they were really undefined. I think the changes were done consistently, so the problem should only pop up on old courses and new webwork. Is that the case here? When we had it happen, it was in sql courses. If that is also the case, you can test by starting mysql, tell it to use webwork_mycourse (for the course in question), and then have it describe the problem_user table. If all the fields have type TEXT, then I am stumped. If some have other types (like integer), then you probably have the same problem I did. John |