I'm using Apache 2.2 on Ubuntu 7.04. I did make the suggested changes to webwork-apache2.config for the Apache 2.2 bug. I had previously upgraded to 2.3.2, using the specialized Ubuntu 7.04 directions. (Off topic, but at that time, I was experimenting with LDAP and had to install libio-socket-ssl-perl, which wasn't mentioned elsewhere.)
When restarting Apache, I was told it couldn't find Net/IP.pm. So I installed it. It then complained about Exception/Class.pm, which I also installed. Then Apache 2 restarted OK. Browsing to /webwork2 and /webwork2_files worked.
However, when I click on a course, I get one of two errors below. It seems to be random which error I get.
I had tried to follow the database upgrade directions correctly. FYI, there is a -p missing in the line:
mysql -u root mysql in the "Upgrading the database" section of the 2.4 Install instructions.
Error messages
Can't locate Iterator.pm in @INC (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 . /etc/apache2) at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm line 29.
BEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm line 29.
Compilation failed in require at (eval 103) line 3.
...propagated at /usr/share/perl/5.8/base.pm line 84.
BEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/NonVersioned.pm line 18.
Compilation failed in require at (eval 102) line 1.
Call stack
The information below can help locate the source of the problem.
in WeBWorK::Utils::runtime_use called at line 211 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
in WeBWorK::DB::init_table called at line 200 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
in WeBWorK::DB::init_table called at line 169 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
in WeBWorK::DB::new called at line 286 of /opt/webwork/webwork2/lib/WeBWorK.pm
Request information
Method | GET | ||||||||||||||||||||||
URI | /webwork2/mutest/ | ||||||||||||||||||||||
HTTP Headers |
|
or
Error messages
error instantiating DB schema WeBWorK::DB::Schema::NewSQL::NonVersioned for table set_user: Can't locate object method "new" via package "WeBWorK::DB::Schema::NewSQL::NonVersioned" at /opt/webwork/webwork2/lib/WeBWorK/DB.pm line 212.
at /opt/webwork/webwork2/lib/WeBWorK.pm line 286
Call stack
The information below can help locate the source of the problem.
in Carp::croak called at line 214 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
in WeBWorK::DB::init_table called at line 200 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
in WeBWorK::DB::init_table called at line 169 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
in WeBWorK::DB::new called at line 286 of /opt/webwork/webwork2/lib/WeBWorK.pm
Request information
Method | GET | ||||||||||||||||||||||
URI | /webwork2/mutest/ | ||||||||||||||||||||||
HTTP Headers |
|
Thanks for your help.