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

Uploading a file prompts download php file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API
    • Labels:
      None
    • Environment:
      win server 2k3, mysql 5.1.43; php 5.2.12, iis6
    • Database:
      MySQL
    • URL:
      (sorry, only available inside firewall
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Trying to upload a file, in the File Picker provide attachment info and name to save as. Then click 'Upload this file'
      We get the Loading message with the spinning wheel, then a popup appears:

      File Download
      Do you want to open or save this file?
      Name: respository_ajax.php
      ... Open Save Cancel ...
      etc.

      I can cancel and go to Recent Files, click the new file, choose Select this File, at which time I get the option to Save Changes, which does commit the upload.

      So not sure if this is a Moodle bug or a setting here, but our moodle 1.9 works fine.
      Thank you

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dongsheng Dongsheng Cai
              Reporter:
              jimmoodle Jim McGregor
              Tester:
              Nobody
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10