[system] / trunk / webwork / webworkdocs / installation / readme.install Repository:
ViewVC logotype

Diff of /trunk/webwork/webworkdocs/installation/readme.install

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 573 Revision 580
145at the messages in WeBWorK's error log (see below). 145at the messages in WeBWorK's error log (see below).
146 146
147Further look in the error logs for your webserver and in WeBWorK's error log 147Further look in the error logs for your webserver and in WeBWorK's error log
148.../webwork/system/logs/error_log. 148.../webwork/system/logs/error_log.
149 149
150For debugging errors in output (postscript,latex2html, etc), you can set 150For debugging errors in output (postscript,latex2html, etc), set $imageDebugMode
151$debugON=1 in .../cgi/cgiscripts/welcomeAction.pl and $debug=1 in 151to 1 in Global.pm and then look at the messages in WeBWorK's error log
152../courseScripts/displayMacros.pl. Doing so will save intermediate temporary 152( .../webwork/system.logs/error_log) and in the webserver's error log.
153files (log files, TeX files, etc) that may help in finding the error. Don't 153Also with $imageDebugMode set to 1 intermediate temporary files (log files,
154TeX files, etc) will be saved and these may help in finding the error.
155You will find these files in the course's tmp directory. Don't leave
154leave these set to 1. If you do, you will find your file system filling up. 156$imageDebugMode set to 1. If you do, you will find your file system filling up.
155 157
156If you do still have trouble (especially if you see Internal Server Error), 158If you do still have trouble (especially if you see Internal Server Error),
157edit ../webwork/system/lib/webworkConfig.pm setting 159edit ../webwork/system/lib/webworkConfig.pm setting
158$cgiDebugMode = 1; 160$cgiDebugMode = 1;
159$cgiDebugMode, when enabled, will call the debug wrapper scripts instead of the 161$cgiDebugMode, when enabled, will call the debug wrapper scripts instead of the
160cgi scripts themselves, allowing for header output, etc. In addition to setting 162cgi scripts themselves, allowing for header output, etc. In addition to setting
161$cgiDebugMode =1, you will also need to enable debugging in the wrapper script 163$cgiDebugMode =1, you will also need to enable debugging in the wrapper script
162for the cgi script that you wish to debug, by setting $debug = 1. Wrapper 164for the cgi script that you wish to debug, by setting $debug = 1. Wrapper
163scripts are found in the directory referred to by $cgiWebworkURL, which is # 165scripts are found in the directory referred to by $cgiWebworkURL, which is
164usually webwork/system/cgi and have the same name as the underlying cgi script. 166usually webwork/system/cgi and have the same name as the underlying cgi script.
165$cgiDebugMode = 0;
166 167
16711. Some problems have a hard coded statement that you have to get all parts 16811. Some problems have a hard coded statement that you have to get all parts
168correct in order to receive credit. This is not true if the partial credit 169correct in order to receive credit. This is not true if the partial credit
169problem grader is used. In general, it is better to let the software generate 170problem grader is used. In general, it is better to let the software generate
170such statements rather than put them in problems. But we have not edited them 171such statements rather than put them in problems. But we have not edited them

Legend:
Removed from v.573  
changed lines
  Added in v.580

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9