I'm new to Drupal; I've installed it on a testing directory of my domain. I've been trying to import a new language for nearly two weeks now, asking on multiple forums, making searches & all, but to no avail. I ask for your help as I'm not sure anymore whether I should continue with Drupal seeing as it's taking me quite a while to do what's supposed to be a first, simple procedure (adding a language, that is).
Here's the error message I get:
* The language French has been created.
* File upload error. Could not move uploaded file.
* warning: tempnam() has been disabled for security reasons in ../includes/file.inc on line 228.
* warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpr8LhGg' to '' in ../includes/file.inc on line 241.
* The translation import failed, because the file could not be read.
* The translation import of failed.
Here's what I tried to do in order to resolve the problem:
- Activated/deactivated the Upload & Localization modules
- I ensured that the permissions settings of both folders "/files" & "/files/tmp" are set to writable
- I tried to rename the "/tmp" folder
- I deactivated the PHP Safe Mode
Is there a way to get around this error? Is there a way to manually upload the language file, and am I going to face this problem each time I try to upload a file thru Drupal?
Any help is greatly appreciated.
Comments
I recognise this...
I´ve run in to just the same problem and hope someone can help. Well, there is a slight difference - I try to translate to Swedish. But since we get the same message there is probably nothing wrong with the language files we try to upload.
Thanks for any help!
hmm, I'm getting a different
hmm, I'm getting a different error with the same result when trying to change my drupal 5 installation to dutch
something about open_basedir restrictions being in effect o.O
I just tried to do it on my local webhost and it worked fine, so I'ma just update it locally and deploy it again
but I kinda wanna find out why this isn't working
I haven't been able to go
I haven't been able to go around this error yet, but I'm pretty sure it's due to the host restrictions on the php.ini file. As a security measure, they have the tmp function (which sends files to your host space) disabled, so you can't really upload new files. I think.
See this comment, should be
See this comment, should be helpful - http://drupal.org/node/244157#comment-819773
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
see this
see this http://drupal.org/node/244157#comment-4118684
...