Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-1234

MMCache Conflicts with Mediaplugin Filter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0
    • None
    • General
    • None
    • Mac OS X
    • MOODLE_20_STABLE

    Description

      I am making a new server and installed PHP 4.3.4 (by Server Logistics with MMCache builtin). This PHP goes with Server Logistics Apache2 and works well so far with Moodle 1.3. After enabling MMCache and turning on the mediaplugin filter of Moodle, I get this error message...

      Fatal error: Cannot redeclare mediaplugin_filter() in /Library/Apache2/htdocs/courses/filter/mediaplugin/filter.php on line 28

      If I turn off the mediaplugin, no error message. If I disable MMCache, the mediaplugin is OK, no error message.

      I checked the MMCache documentation at SourceForge and tried to make the mmcache.filter setting ignore filter.php with the ! marker (see below) but no effect.

      [mmcache php.ini settings]

      zend_extension=/Library/PHP4/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so

      mmcache.shm_size=16

      mmcache.cache_dir=/tmp/mmcache

      mmcache.enable=1

      mmcache.optimizer=1

      mmcache.check_mtime=1

      mmcache.debug=0

      mmcache.filter=*.php !filter.php

      mmcache.shm_max=0

      mmcache.shm_ttl=0

      mmcache.shm_prune_period=0

      mmcache.shm_only=0

      mmcache.compress=1

      So is there a simple adjustment I can do? Or should I try a different php accelerator or forget about using one?

      Many thanks

      Attachments

        Activity

          People

            dougiamas Martin Dougiamas
            hinkelman Don Hinkelman
            Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: