Installation

Upgrading to 2.16

Re: Upgrading to 2.16

by Danny Glin -
Number of replies: 1
The missing TikzImage module makes me suspect that you did not also upgrade the PG code to 2.16, as that module is new in PG 2.16.  You will have to run the git commands in the /opt/webwork/pg directory as well as the webwork2 directory.  Also make sure that you restart apache after updating WeBWorK code.

Seeing "[math]" instead of typeset equations means that MathJax isn't doing its job.  This is usually because your browser is not getting the MathJax javascript files from the server.  If this is not solved by upgrading pg, then there are a few troubleshooting steps:
  1. Hold down shift and reload the page.  Doing a shift-reload doesn't just reload the page, it reloads all of the dependencies as well.  Since MathJax has moved since the previous version this will clear your cache of old MathJax files.
  2. Make sure that you have installed the new version of MathJax.  This is handled by the "npm install" step in the upgrade instructions.  If this has been run successfully, then you should see a mathjax directory in /opt/webwork/webwork2/htdocs/node_modules
  3. If these don't solve the problem, then the next step would be to look at your browser's error console (usually under developer tools).  Any errors there might help diagnose the problem.
In reply to Danny Glin

Re: Upgrading to 2.16

by Geoffrey Cox -

Thanks for the help, Danny.  I totally forgot to update the pg code. Duh.  

Everything works great now!