Hello!

When importing a translation into Drupal, the following error occurs:

Warning: move_uploaded_file (temporary: //drupal-7.51.ru_.po): failed to open stream: "DrupalTemporaryStreamWrapper :: stream_open" ).

Warning: move_uploaded_file (): Unable to move '/ tmp / phpnGg9Cp' to 'temporary: //drupal-7.51.ru_.po' in drupal_move_uploaded_file () (line 1642 of /home/media/public_html/include/file.inc) .

File upload error. Could not move uploaded file.

File to import not found.

How to solve this problem?

Thank.

    1 answer 1

    Typically, this problem may be related to a temporary folder, or with permissions, try these steps:

    1. Create a new temporary directory.
    2. Set permissions on the folder 777 (This is if on the server, and not on LAN)
    3. Follow the path: Configuration - Multimedia - File System
      (admin / config / media / file-system) set a new / correct path to
      folder

    Do not forget to set 777 to the folder /sites/default/files/languages

    • Thanks, it worked ...) problem after transferring the site from locale to host ... - Mojito