WeBWorK Main Forum

Course error

Course error

by Edwin Flórez -
Number of replies: 1

after created a course with name "Mathematics5_Laguerre_Anneliese_Hernandez", I got a error. Now I can see it at list, but when a try to get in show a error:

WeBWorK error

An error occured while processing your request. For help, please send mail to this site's webmaster (root@localhost), including all of the following information as well as what what you were doing when the error occured.

Fri Aug 05 16:08:10 2016

Warning messages

Error messages

Call stack

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

  • in Exception::Class::Base::throw called at line 818 of /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm
  • in WeBWorK::DB::Schema::NewSQL::Std::handle_error called at line 413 of /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm
  • in WeBWorK::DB::Schema::NewSQL::Std::_get_fields_where_prepex called at line 381 of /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm
  • in WeBWorK::DB::Schema::NewSQL::Std::get_fields_where called at line 481 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
  • in WeBWorK::DB::listUsers called at line 266 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Login.pm
  • in WeBWorK::ContentGenerator::Login::body called at line 155 of /opt/webwork/webwork2/lib/WeBWorK/Template.pm
  • in WeBWorK::Template::template called at line 531 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
  • in WeBWorK::ContentGenerator::content called at line 203 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
  • in WeBWorK::ContentGenerator::go called at line 382 of /opt/webwork/webwork2/lib/WeBWorK.pm

If I put my username a pass, the same error. If I try to delete from admin course, another error:

An error occured while deleting the course Mathematics5_Laguerre_Anneliese_Hernandez:

DBD::mysql::db do failed: Incorrect table name 'Mathematics5_Laguerre_Anneliese_Hernandez_global_user_achievement' at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm line 826.

Looks like a problem with the name in the database. 

What should be the proper way to erase it by force?  Something like: 1) Delete folder, 2) delete database, 3) etc. 

WeBWork info:
Page generated at 08/05/2016 at 12:00pm AST

In reply to Edwin Flórez

Re: Course error

by Edwin Flórez -
I check the database and that course was no there, then just delete the folder in /opt/webwork/courses and now looks like is OK, is not listing the. Why did this happened?