Forum archive 2000-2006

Šarūnas Burdulis - Problem while using "Try It" from Library Browser

Šarūnas Burdulis - Problem while using "Try It" from Library Browser

by Arnold Pizer -
Number of replies: 0
inactiveTopicProblem while using "Try It" from Library Browser topic started 7/26/2006; 10:29:18 AM
last post 7/26/2006; 1:34:00 PM
userarūnas Burdulis - Problem while using "Try It" from Library Browser  blueArrow
7/26/2006; 10:29:18 AM (reads: 166, responses: 2)
We are getting the following error when trying to work a sample problem (by clicking "Try it") in the "Library Browser". By looking at the code at around line 462, it appears that WW expects some "global problem" ($globalProblem) to be defined and produces the error below, when it isn't defined. Are we missing something here in our setup or configuration? Webwork 2.2 here as released in February, running on Debian stable, Apache 1.3.

Thanks for any hints or suggestions, Sarunas

Error messages

sourceFilePath is unsafe! at /var/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm line 462.

Call stack

The information below can help locate the source of the problem.

* in WeBWorK::ContentGenerator::Problem::pre_header_initialize called at line 155 of /var/webwork2/lib/WeBWorK/ContentGenerator.pm * in WeBWorK::ContentGenerator::go called at line 299 of /var/webwork2/lib/WeBWorK.pm

Request information Method GET URI /webwork2/m8f06/Undefined_Set/1/

<| Post or View Comments |>


userMichael Gage - Re: Problem while using  blueArrow
7/26/2006; 11:19:13 AM (reads: 213, responses: 0)
Hi Sarunas,

I think you can get rid of these by updating to the latest version:

If you are connected to the CVS (i.e. there are CVS directories in webwork2) then updating

cvs update -r rel-2-2-1  
should fix these errors (and is a little more stable than the HEAD of the CVS right at the moment).

Before updating save a copy of the webwork2/conf directory e.g cp -RPpi conf conf.save After updating you will need to compare global.conf, database.conf and webwork.apache-config with their .dist versions (global.conf.dist) and make any necessary additions to those files by hand.

Here is a long thread discussing exactly the problem you are facing:

http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$4113#4124

<| Post or View Comments |>


userarūnas Burdulis - Re: Problem while using  blueArrow
7/26/2006; 1:34:00 PM (reads: 219, responses: 0)
Thank you,

Update solved the problem. I should have done a full search, not only through message subjects...

Sarunas

<| Post or View Comments |>