We are getting some errors after upgrading to 2.4.9. I follow the directions, and first login to the admin course to upgrade the database. Then, after I login to a regular course and click on a homework assignment, I get errors like this (any help is appreciated):
Warning messages
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
not defined formatDateTime('1226537340', '') WeBWorK::PG::Local /opt/webwork/webwork2/lib/WeBWorK/PG/Local.pm 71 WeBWorK::PG::Local::new_helper 1 0 1538 UUUUUUUUUUUUUU at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
not defined formatDateTime('1274078700', '') WeBWorK::PG::Local /opt/webwork/webwork2/lib/WeBWorK/PG/Local.pm 71 WeBWorK::PG::Local::new_helper 1 0 1538 UUUUUUUUUUUUUU at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
not defined formatDateTime('1274079000', '') WeBWorK::PG::Local /opt/webwork/webwork2/lib/WeBWorK/PG/Local.pm 71 WeBWorK::PG::Local::new_helper 1 0 1538 UUUUUUUUUUUUUU at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 596.
After the upgrade when I first login to the admin course and after upgrading the courses, I still get errors like this:
upgrade m095_farrell
sql_single
Directory structure or permissions need to be repaired. Database tables ok
upgrade m095_jensen sql_single
Directory structure or permissions need to be repaired. Database tables ok
upgrade m095_kim sql_single
Directory structure or permissions need to be repaired. Database tables okThen, after clicking the "Upgrade courses" button, I get errors under each course like these:
Database tables are ok
Directory structure- DATA => /opt/webwork/courses/m095_jensen/DATA rwx
- email => /opt/webwork/courses/m095_jensen/templates/email rwx
- html => /opt/webwork/courses/m095_jensen/html rwx
- html_images => /opt/webwork/courses/m095_jensen/html/images missing
- html_temp => /opt/webwork/courses/m095_jensen/html/tmp rwx
- logs => /opt/webwork/courses/m095_jensen/logs rwx
- macros => /opt/webwork/courses/m095_jensen/templates/macros rwx
- mailmerge => /opt/webwork/courses/m095_jensen/DATA/mailmerge rwx
- root => /opt/webwork/courses/m095_jensen rwx
- scoring => /opt/webwork/courses/m095_jensen/scoring rwx
- templates => /opt/webwork/courses/m095_jensen/templates rwx
- tmpEditFileDir => /opt/webwork/courses/m095_jensen/templates/tmpEdit rwx
Directory structure is missing directories or the webserver lacks sufficient privileges.
This error goes away if I manually add the html/images directory, so this is not a major issue.Lars.