Package: moodle
Version: 2.7.5+dfsg-2
Severity: important
Tags: newcomer

Dear Maintainer,

When you add a forum activity and try to see a forum post, a HTTP 500 error is
returned. PHP log reports:

PHP Fatal error:  Class 'core_availability\info_module' not found in
/usr/share/moodle/mod/forum/lib.php on line 5571

I found the fix from the original sources: the directory "/availability" is
missing from the installed deb package.

Once you put this directory under "/usr/share/moodle", go to "Administration >
Site administration > Notifications"
to configure the missing directory, and then the forums start working.

I guess this is a packaging issue: I checked the downloaded deb package, and
also tried to build from source. Both
times the same directory is missing.

I hope this helps you to fix this bug. Best regards.



-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages moodle depends on:
pn  apache2 | httpd                            <none>
pn  dbconfig-common                            <none>
ii  debconf [debconf-2.0]                      1.5.55
pn  libapache2-mod-php5 | php5-cgi             <none>
pn  libphp-adodb                               <none>
pn  libphp-pclzip                              <none>
pn  libphp-phpmailer                           <none>
pn  php-htmlpurifier                           <none>
pn  php5-cli                                   <none>
pn  php5-curl                                  <none>
pn  php5-gd                                    <none>
pn  php5-mysql | php5-pgsql                    <none>
ii  postgresql-client                          9.4+165
ii  postgresql-client-9.4 [postgresql-client]  9.4.0-1
ii  ucf                                        3.0030

Versions of packages moodle recommends:
ii  aspell                                            0.60.7~20110707-1.3
pn  mimetex                                           <none>
pn  php5-ldap                                         <none>
pn  php5-xmlrpc                                       <none>
pn  postgresql | mysql-server | virtual-mysql-server  <none>

Versions of packages moodle suggests:
pn  clamav  <none>


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to