Installation

Missing Table Error for Admin Course

Re: Missing Table Error for Admin Course

by Harshal Patel -
Number of replies: 5
Hi Danny,

I apologize. I have asked my question about amscls package in the original thread.

Regarding the courses issue, when I go to https://webwork.yourschool.edu/webwork2/[coursename], it shows me the login page and I can login as admin. So they're not visible on the main page but are being created.
In reply to Harshal Patel

Re: Missing Table Error for Admin Course

by Danny Glin -
Here are a couple of things to check:
  1. Make sure that there is not a file called "hide_directory" in the course directory.  This would cause the course to be deliberately hidden in the listing.
  2. Make sure that you have $database_host, $database_port and $database_name set in site.conf.  If you upgraded from a previous version of WeBWorK these may be missing, which has the potential to break the course listing.
In reply to Danny Glin

Re: Missing Table Error for Admin Course

by Harshal Patel -

Hi Danny,

Thank you for replying.

  1. I checked the course directory for all the courses in "/opt/webwork/courses" and there was no "hide_directory" file.
  2. Yes I have the details added in site.conf. $database_port value is kept as the default, 3306. We are using an on-prem database server at University so I have mentioned that in the $database_host and $database_name fields.
I will change the value of $database_host to localhost and create a webwork database locally to test if that makes a difference.

Harshal
In reply to Danny Glin

Re: Missing Table Error for Admin Course

by Harshal Patel -
Hi Danny,

I still cannot see the courses at the homepage. Any suggestions you can provide will be helpful?

Thank you!
Harshal
In reply to Harshal Patel

Re: Missing Table Error for Admin Course

by Peter Staab -

It seems like this thread has gotten away from the original question.  Can you submit a new post in the installation with you current issue?