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

clam_scan_file name conflict with clamav plugin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Trivial
    • None
    • 1.5.4
    • Antivirus, Libraries
    • None
    • All
    • MOODLE_15_STABLE

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dougiamas Martin Dougiamas
              imported Imported
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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