We're trying to set up a new WeBWorK server. I've been moving courses over (archive, scp, then unarchive) and checking that problem sets (etc.) work, and I've run into a strange problem.
One of the courses I moved over, when I try to edit problems for an existing homework (that was moved over) under Hmwk Sets Editor gives the following errors:
Error messages
The 'epoch' parameter ("") to DateTime::from_epoch did not pass regex check
at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/DateTime.pm line 452
DateTime::from_epoch(undef, 'epoch', '', 'time_zone', 'America/Los_Angeles') called at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 594
WeBWorK::Utils::formatDateTime('', 'America/Los_Angeles') called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm line 2014
WeBWorK::ContentGenerator::formatDateTime('WeBWorK::ContentGenerator::Instructor::ProblemSetDetail=HASH(...', '') called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm line 478
WeBWorK::ContentGenerator::Instructor::ProblemSetDetail::FieldHTML('WeBWorK::ContentGenerator::Instructor::ProblemSetDetail=HASH(...', 'sadofsky', '2_3_Integer_Exponents', undef, 'WeBWorK::DB::Record::Set=HASH(0x5cf6738)', undef, 'open_date') called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm line 381
WeBWorK::ContentGenerator::Instructor::ProblemSetDetail::FieldTable('WeBWorK::ContentGenerator::Instructor::ProblemSetDetail=HASH(...', 'sadofsky', '2_3_Integer_Exponents', undef, 'WeBWorK::DB::Record::Set=HASH(0x5cf6738)', undef) called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm line 1832
WeBWorK::ContentGenerator::Instructor::ProblemSetDetail::body('WeBWorK::ContentGenerator::Instructor::ProblemSetDetail=HASH(...', 'HASH(0x5c75080)') called at /opt/webwork/webwork2/lib/WeBWorK/Template.pm line 152
WeBWorK::Template::template('/opt/webwork/webwork2/conf/templates/math/system.template', 'WeBWorK::ContentGenerator::Instructor::ProblemSetDetail=HASH(...') called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm line 491
WeBWorK::ContentGenerator::content('WeBWorK::ContentGenerator::Instructor::ProblemSetDetail=HASH(...') called at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm line 195
WeBWorK::ContentGenerator::go('WeBWorK::ContentGenerator::Instructor::ProblemSetDetail=HASH(...') called at /opt/webwork/webwork2/lib/WeBWorK.pm line 353
WeBWorK::dispatch('Apache2::RequestRec=SCALAR(0x599c8f8)') called at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 115
eval {...} called at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 115
Apache::WeBWorK::handler('Apache2::RequestRec=SCALAR(0x599c8f8)') called at -e line 0
eval {...} called at -e line 0
Call stack
The information below can help locate the source of the problem.
in Carp::confess called at line 452 of /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/DateTime.pm
in DateTime::from_epoch called at line 594 of /opt/webwork/webwork2/lib/WeBWorK/Utils.pm
in WeBWorK::Utils::formatDateTime called at line 2014 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::formatDateTime called at line 478 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm
in WeBWorK::ContentGenerator::Instructor::ProblemSetDetail::FieldHTML called at line 381 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm
in WeBWorK::ContentGenerator::Instructor::ProblemSetDetail::FieldTable called at line 1832 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm
in WeBWorK::ContentGenerator::Instructor::ProblemSetDetail::body called at line 152 of /opt/webwork/webwork2/lib/WeBWorK/Template.pm
in WeBWorK::Template::template called at line 491 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::content called at line 195 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::go called at line 353 of /opt/webwork/webwork2/lib/WeBWorK.pm
Does anyone have any insight?
thanks, Hal