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

CLONE -clam_scan_file name conflict with clamav plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.7.1
    • 1.5.4
    • Antivirus, Libraries
    • None
    • All
    • MOODLE_15_STABLE
    • MOODLE_17_STABLE

      With PHP4 at least, if the clamav PHP plugin is installed, then the file uploadlib.php can't be loaded because the function 'clam_scan_file' is redeclared. Presumeably the clamav plugin declares its own function with that name.

      Works fine now that I've uninstalled the PHP plugin (which I didn't need anyway).

      I think if the 'clam_scan_file' function was simply renamed (maybe to 'mdl_clam_scan_file' or something) then this would be fixed.

            dougiamas Martin Dougiamas
            rhaywood Richard
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.