Moodle

An error occurred while copying the zip file to the course directory -- turn on unicodecleanfilename

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Incomplete
  • Affects Version/s: 1.6.1
  • Fix Version/s: None
  • Component/s: Backup
  • Labels:
    None
  • Environment:
    Chinese Windows XP, PHP 5.1.4, MySQL 5.0.21
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_16_STABLE

Description

After turn on unicodecleanfilename in config.php by:

$CFG->unicodecleanfilename = true;

We can upload file name with chinese character as well.

The issue is when you run backup utility in both site wide or in a course, the Moodle generated file name will included chinese character "backup" as prefix. When you click "Continue" button, The backup did not complete successfully and with follow error message:

"An error occurred while copying the zip file to the course directory".

The backup utility works well when remove chinese character from the generated file name.

Activity

Hide
Dan Marsden added a comment -

Hi Tang,

is this still a problem?

thanks,

Dan

Show
Dan Marsden added a comment - Hi Tang, is this still a problem? thanks, Dan
Hide
Dan Marsden added a comment -

closing as incomplete. - feel free to reopen this if you are able to replicate it with newer versions of Moodle.

thanks,

Dan

Show
Dan Marsden added a comment - closing as incomplete. - feel free to reopen this if you are able to replicate it with newer versions of Moodle. thanks, Dan

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: