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

Course Import error 'Can not read file'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
    • Environment:
      Linux server

      Description

      Hi there,

      I am trying to import the content of a course. I am receiving a "Can not read file, either file does not exist or there are permission problems" I am doing this from my admin account.

      I have enable debugging mode and received the following message:
      Stack trace:

      • line 174 of /lib/filestorage/stored_file.php: file_exception thrown
      • line 90 of /backup/util/helper/backup_file_manager.class.php: call to stored_file->copy_content_to()
      • line 101 of /backup/moodle2/backup_custom_fields.php: call to backup_file_manager::copy_file_moodle2backup()
      • line 70 of /backup/util/structure/backup_nested_element.class.php: call to file_nested_element->fill_values()
      • line 94 of /backup/moodle2/backup_custom_fields.php: call to backup_nested_element->process()
      • line 95 of /backup/util/structure/backup_nested_element.class.php: call to file_nested_element->process()
      • line 95 of /backup/util/plan/backup_structure_step.class.php: call to backup_nested_element->process()
      • line 153 of /backup/util/plan/base_task.class.php: call to backup_structure_step->execute()
      • line 148 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
      • line 105 of /backup/util/plan/backup_plan.class.php: call to base_plan->execute()
      • line 293 of /backup/controller/backup_controller.class.php: call to backup_plan->execute()
      • line 111 of /backup/util/ui/backup_ui.class.php: call to backup_controller->execute_plan()
      • line 92 of /backup/import.php: call to backup_ui->execute()

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mjfrith Michael J. Frith
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: