I've installed 2.0-rc2 on my Drupal site, but I keep getting this error when trying to install translations.
File temporary://fileAVBFD could not be copied, because the destination directory translations:// is not configured correctly.
I don't really understand what's going on here. I haven't seen the translations:// stream wrapper before, and I have no idea where to configure it.
Additional errors:
Warning: fopen(translations://transliteration-7.x-3.2.de.po): failed to open stream: "TranslationsStreamWrapper::stream_open" call failed in PoStreamReader->open() (line 162 of /srv/www/sites/vkffz.ch/builds/v1.0.0-beta.7/profiles/vkffz/modules/l10n_update/includes/gettext/PoStreamReader.php).
Warning: ftell() expects parameter 1 to be resource, boolean given in PoStreamReader->open() (line 163 of /srv/www/sites/vkffz.ch/builds/v1.0.0-beta.7/profiles/vkffz/modules/l10n_update/includes/gettext/PoStreamReader.php).
Comments
Comment #1
mikl CreditAttribution: mikl commentedComment #2
keiichito CreditAttribution: keiichito commentedI'm having the same problem on a fresh Drupal 7.32 site
The specified file temporary://filenQaNzO could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
Comment #3
Sutharsan CreditAttribution: Sutharsan commentedComment #4
Sutharsan CreditAttribution: Sutharsan commentedWithout you input I can not fix this issue (and wish I could).
Comment #5
THU_AtIE CreditAttribution: THU_AtIE commentedI have the same errors, but finally solve the problem with the hints from Sutharsan.
The most probable reason is that you don't create the "/sites/all/translations" folder. You can follow these steps:
1. As Sutharsan said, check
2. Check whether you create this folder in your server. If you don't have it, please create it manually.
However, I think it's a little bit strange why the folder will not be created automatically?
Comment #6
Sutharsan CreditAttribution: Sutharsan commentedThe module does attempt to create this directory. 1. During installation; 2. when the configuration form at admin/config/regional/language/update is submitted; 3. During update when updating from 7.x-1.x to 7.x-2.x.
Do you have any errors in the watchdog?
Which of the routes did you take?
Comment #7
Sutharsan CreditAttribution: Sutharsan commentedI've just further improved the code that creates the translation directory. See #2167585: Unable to download translation updates
Closing this issue as duplicate.