WeBWorK Main Forum

Functions not defined when using a VM image

Functions not defined when using a VM image

by Michael Schroeder -
Number of replies: 2

Hello everyone,

First-time caller here.

I am attempting to use the VM image for a WW server, and everything was going well until I started looking at the problem sets.

None of the problems are rendering, and I suspect it's because I am either missing some files or I didn't configure my settings to look in the right place for some of the routines.

I am getting rendering errors including

Any suggestions would be welcome :-)

Mike Schroeder

In reply to Michael Schroeder

Re: Functions not defined when using a VM image

by Michael Schroeder -
I attached some screenshots in the post which are not showing up; when the problems are rendering I get errors like (and I'm drawing from memory here) "undefined subroutine main::MODES" or "main::random" or "main::EVT3".

Thanks!
In reply to Michael Schroeder

Re: Functions not defined when using a VM image

by Danny Glin -
The screenshots would be very helpful in troubleshooting. It almost sounds like you are missing the PG code, though that seems unlikely if you are using the existing VM image.

Check that the /opt/webwork/pg folder is present, and has the appropriate permissions. Otherwise please post the exact error message or the screenshots.