Package: moodle
Version: 1.9.9.dfsg2-2.1
Severity: normal

After upgrading to Squeeze, when clicking on the "activate edition"
button, I got replies about the system not being able to edit. It does
not happen at every screen, it might be related to specific themes,
but that's only a hypothesis.

The displayed message is:

    require_js:
    http://example.com/moodle//lib/yui/selector/selector-min.js -
    file not found.

Turns out, the 'yui' package no longer ships
/usr/share/yui/html/selector/selector-min.js (which is presented in
the mentioned URL via some symlinking) but selector-beta-min.js; I
worked around this by symlinking the required name to the -beta one.
I did this for selector/selector-min.js and for
element/element-min.js; however, the 'yui' package provides several
files which fit in the pattern and might turn out to be problematic:

/usr/share/moodle/lib/yui$ find . -name *beta-*.js
./profiler/profiler-beta-min.js
./profiler/profiler-beta-debug.js
./selector/selector-beta-debug.js
./selector/selector-beta-min.js
./cookie/cookie-beta-min.js
./cookie/cookie-beta-debug.js
./yuiloader/yuiloader-beta-min.js
./yuiloader/yuiloader-beta-debug.js
./layout/layout-beta-min.js
./layout/layout-beta-debug.js
./datatable/datatable-beta-debug.js
./datatable/datatable-beta-min.js
./element/element-beta-min.js
./element/element-beta-debug.js
./imagecropper/imagecropper-beta-debug.js
./imagecropper/imagecropper-beta-min.js
./profilerviewer/profilerviewer-beta-min.js
./profilerviewer/profilerviewer-beta-debug.js
./yuitest/yuitest-beta-min.js
./yuitest/yuitest-beta-debug.js
./yuitest/yuitest_core-beta-min.js
./yuitest/yuitest_core-beta-debug.js
./editor/simpleeditor-beta-debug.js
./editor/editor-beta-debug.js
./editor/editor-beta-min.js
./editor/simpleeditor-beta-min.js
./resize/resize-beta-debug.js
./resize/resize-beta-min.js
./datasource/datasource-beta-debug.js
./datasource/datasource-beta-min.js

Please note I am filing this bug to moodle and not to yui as moodle is
the requiring party; feel free to reassign if you feel it is more
correct.

Thanks,

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages moodle depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  apache2-mpm-prefork [h 2.2.16-6          Apache HTTP Server - traditional n
ii  dbconfig-common        1.8.46            common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libapache2-mod-php5    5.3.3-7           server-side, HTML-embedded scripti
ii  libdbd-mysql-perl      4.016-1           Perl5 database interface to the My
ii  libdbi-perl            1.612-1           Perl Database Interface (DBI)
ii  libjs-yui              2.8.2r1~squeeze-1 Yahoo User Interface Library
ii  libphp-magpierss       0.72-8            provides an XML-based RSS parser i
ii  libphp-pclzip          2.8.2-2           zip archive manager class for PHP
ii  mysql-client-5.1 [mysq 5.1.49-3          MySQL database client binaries
ii  php-fpdf               3:1.6.dfsg-1      PHP class to generate PDF files
ii  php5-cgi               5.3.3-7           server-side, HTML-embedded scripti
ii  php5-cli               5.3.3-7           command-line interpreter for the p
ii  php5-curl              5.3.3-7           CURL module for php5
ii  php5-gd                5.3.3-7           GD module for php5
ii  php5-mysql             5.3.3-7           MySQL module for php5
ii  php5-pgsql             5.3.3-7           PostgreSQL module for php5
ii  postgresql-client      8.4.7-0squeeze2   front-end programs for PostgreSQL 
ii  postgresql-client-8.3  8.3.14-0lenny1    front-end programs for PostgreSQL 
ii  postgresql-client-8.4  8.4.7-0squeeze2   front-end programs for PostgreSQL 
ii  smarty                 2.6.26-0.2        Template engine for PHP
ii  ucf                    3.0025+nmu1       Update Configuration File: preserv
ii  unzip                  6.0-4             De-archiver for .zip files
ii  zip                    3.0-3             Archiver for .zip files

Versions of packages moodle recommends:
ii  aspell                        0.60.6-4   GNU Aspell spell-checker
ii  mimetex                       1.50-1.1   LaTeX math expressions to anti-ali
ii  mysql-server                  5.1.49-3   MySQL database server (metapackage
ii  mysql-server-5.1 [mysql-serve 5.1.49-3   MySQL database server binaries and
ii  php5-ldap                     5.3.3-7    LDAP module for php5
ii  php5-xmlrpc                   5.3.3-7    XML-RPC module for php5

Versions of packages moodle suggests:
ii  clamav                   0.96.5+dfsg-1.1 anti-virus utility for Unix - comm

-- Configuration Files:
/etc/cron.d/moodle [Errno 13] Permission denied: u'/etc/cron.d/moodle'
/etc/moodle/apache.conf changed:
<DirectoryMatch /usr/share/moodle/>
Options +FollowSymLinks
AllowOverride None
<IfModule mod_php5.c>
        php_flag magic_quotes_gpc On
        php_flag magic_quotes_runtime Off
        php_flag file_uploads On
        php_flag short_open_tag On
        php_flag session.auto_start Off
        php_flag session.bug_compat_warn Off
        php_value upload_max_filesize 150M
        php_value post_max_size 150M
</IfModule>
<IfModule mod_dir.c>
        DirectoryIndex index.php
</IfModule>
</DirectoryMatch>


-- debconf information:
  moodle/pgsql/method: unix socket
  moodle/dbconfig-remove:
* moodle/db_host: localhost
* moodle/create_tables:
* moodle/database-type: mysql
  moodle/remote/newhost:
  moodle/internal/reconfiguring: false
  moodle/notconfigured:
* moodle/db/app-user: moodle
  moodle/internal/skip-preseed: false
  moodle/remote/port:
  moodle/purge: false
* moodle/www: http://cec.iiec.unam.mx/cursos/
  moodle/remote/host:
* moodle/db/dbname: moodle
  moodle/install-error: abort
* moodle/mysql/method: unix socket
  moodle/remove-error: abort
* moodle/dbconfig-upgrade: true
  moodle/upgrade-backup: true
  moodle/upgrade-error: abort
  moodle/missing-db-package-error: abort
* moodle/dbu_name: cec
* moodle/db_server: mysql-server
* moodle/mysql/admin-user: root
  moodle/pgsql/manualconf:
* moodle/pgsql/authmethod-user: password
  moodle/dbconfig-reinstall: false
* moodle/webserver: apache2
  moodle/dbconfig-install: true
* moodle/pgsql/authmethod-admin: ident
  moodle/mismatch:
  moodle/pgsql/admin-user: postgres
* moodle/dba_name: root
  moodle/pgsql/changeconf: false
  moodle/pgsql/no-empty-passwords:
  moodle/passwords-do-not-match:
  moodle/db/basepath:



-- 
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