Page 1 of 1

Warning! - Failed to move file

Posted: Sun Nov 11, 2007 9:12 pm
by rousok
Καλησπέρα σας και από εμένα. Είμαι καινούριος στο joomla και θα ήθελα να με βοηθήσετε σε κατι.
Λοιπόν έκανα εγκατάσταση κανονικά την 1.5 αλλά δυστυχώς δεν μπορώ να ανεβάσω κανένα component. Δοκίμασα μερικά και κάθε φορά παίρνω το μήνυμα ‘’ Warning! - Failed to move file ‘’. Το legacy το έκανα 1.0 αλλά και πάλι τίποτα. Καμιά ιδέα? :(
Ένα από αυτά που ήθελα να ανεβάσω ήταν το com_smf_2_0_2

Re: Warning! - Failed to move file

Posted: Sun Nov 11, 2007 9:34 pm
by rousok
Τελικά βρήκα την λύση. Θέλει να δώσουμε 777 στον tmp φάκελο 8)

Re: Warning! - Failed to move file

Posted: Wed Feb 27, 2008 12:43 pm
by haiderkhan
Hi,

Login to your joomla administrator panel.

go to Help->System Info
then click on Directories Permissions Tab and check which directories are still unwriteble, just set the permission/CHMOD to 777 of those directories which are unwriteable through ftp access.Now install any component/module it will works 110%.

Just Chill

Re: Warning! - Failed to move file

Posted: Wed Feb 27, 2008 1:46 pm
by Aris Ntatsis
haiderkhan wrote:Hi,

Login to your joomla administrator panel.

go to Help->System Info
then click on Directories Permissions Tab and check which directories are still unwriteble, just set the permission/CHMOD to 777 of those directories which are unwriteable through ftp access.Now install any component/module it will works 110%.

Just Chill
Αν δεν υπάρχει κάποιος λόγος, σε παρακαλώ γράφε στα ελληνικά.

Γιαυτό άλλωστε υπάρχει αυτό το forum! ;)

Re: Warning! - Failed to move file

Posted: Fri Mar 07, 2008 1:20 pm
by oryanconsulting
I had this same problem and finally figured out that somehow during install the files all went into a subdirectory. I only found this out after dusting off and firing up FrontPage so I could get a better view of how things were sitting. After moving all the contents of the subfolder up a level, it all worked like a charm.

File permissions had nothing to do with my issue.

Be sure that the template you have chosen is a compatible one, or nothing will work!

Hope this helps.

Re: Warning! - Failed to move file

Posted: Wed Apr 09, 2008 1:32 pm
by mrjoomfish
haiderkhan, Thank you!!!
I was having this problem and that was the solution.

Re: Warning! - Failed to move file

Posted: Sat Jul 19, 2008 11:46 am
by AnRkey
haiderkhan: Thanks that worked perfectly for me.

R

Re: Warning! - Failed to move file

Posted: Thu Oct 30, 2008 10:04 am
by smithveg
Turn off/disable the PHP safe mode.

Re: Warning! - Failed to move file

Posted: Fri Nov 14, 2008 12:42 pm
by webbuilder
Υπάρχει κάποιο documentation για τα permision ? το 777 ναι μεν παίζει αλλά είναι λάθος ..
ποια είναι η σωστή συνταξη τελικά στο configuration.php?
Στα foroums έχω βρει πολλές διαφορετικές λύσεις ..

Ευχαριστω

Re: Warning! - Failed to move file

Posted: Mon Dec 08, 2008 9:07 am
by cyberguru
Where can I find safe mode in admin panel? I'm dying searching for solutions for problems in my site.. but couldn't solve them.. :(

Re: Warning! - Failed to move file

Posted: Tue Sep 01, 2009 7:55 pm
by OSlimey1
Might have to check with host for correct tmp and var/log path. In the Admin use the help >> System info like previously mentioned. For dedicated hosting on Godaddy I needed to use "C:\Inetpub\vhosts\whateverdomainname.com\httpdocs/tmp.

Re: Warning! - Failed to move file

Posted: Mon Dec 07, 2009 3:53 am
by joomfriend
Important information about permission 777 mentioned above to fix some server issue: Nowadays for security reason, many Hosting companies are installing PHPSuExec that refuses to write or read on directories exposed with a permission 777. If that is your case (permission 777 not working to fix your problem), please chmod your directories that require 777 to 755 always.

Re: Warning! - Failed to move file

Posted: Tue Apr 13, 2010 12:01 pm
by savashatz
Γεια σε όλους,
Αντιμετωπίζω και εγώ το ίδιο πρόβλημα, μου γράφει "Failed to move file" και δεν κάνει κανένα upload.
Χρησιμοποιούμε OTEnet, και βλέποντάς τις απαντήσεις στο post εδώ είδα ότι και ενεργοποιημένο το tmp σε 777 είναι, και όλος ο δίσκος είναι writable, και legacy έχω - το πρόβλημα παραμένει.

Μήπως κάποιος έχει καμιά άλλη ιδέα;
Χίλια ευχαριστώ παιδιά!

Re: Warning! - Failed to move file

Posted: Wed May 12, 2010 1:43 am
by procisely
joomfriend wrote:Important information about permission 777 mentioned above to fix some server issue: Nowadays for security reason, many Hosting companies are installing PHPSuExec that refuses to write or read on directories exposed with a permission 777. If that is your case (permission 777 not working to fix your problem), please chmod your directories that require 777 to 755 always.
Agreed. File permission 777 will make your site very vulnerable to hackers.

So if you want to upload files, change it to 777 for a short time upload the file and don't forget to change it back to 644 or other more secured value.

Re: Warning! - Failed to move file

Posted: Fri Jul 30, 2010 10:53 am
by vpsadmtndr
We got this message with Joomla! 1.6.0 Beta5 [ Hope ] 12-July-2010 23:00 GMT while uploading templates (joomspirit_18). Changing chmod for the directories templates and tmp from 755 -> 777 fixed the problem.

Re: Warning! - Failed to move file

Posted: Mon Jun 20, 2011 5:45 pm
by cgers
haiderkhan wrote:Hi,

Login to your joomla administrator panel.

go to Help->System Info
then click on Directories Permissions Tab and check which directories are still unwriteble, just set the permission/CHMOD to 777 of those directories which are unwriteable through ftp access.Now install any component/module it will works 110%.
This suggestion is very dangerous as you are potentially opening up your website to malicious attacks. By changing the permissions to 777 you are effectively giving free reign to all in sundry to open, execute and modify your files. This is ill advised and reckless in my view.

I found the following article which does a similar thing but with a bit more finesse.

I can take no credit for these Unix commands but they work well (in Ubuntu) and I suggest you use this instead.

Full article can be found on : http://www.fasw.ws/faswwp/how-to-make-t ... ux-ubuntu/

The above article shows the following:
Copy the commands with the curly brackets, slashes and semi-colon:

cd /var/www/joomla (This is your joomla location)
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chown -R www-data:www-data /var/www/joomla (This is your joomla location)


Have safer fun! :geek:

Re: Warning! - Failed to move file

Posted: Mon Aug 01, 2011 11:36 am
by ashok_be
smithveg wrote:Turn off/disable the PHP safe mode.
were we can find tis?

Re: Warning! - Failed to move file

Posted: Mon Aug 01, 2011 12:12 pm
by ashok_be
joomfriend wrote:Important information about permission 777 mentioned above to fix some server issue: Nowadays for security reason, many Hosting companies are installing PHPSuExec that refuses to write or read on directories exposed with a permission 777. If that is your case (permission 777 not working to fix your problem), please chmod your directories that require 777 to 755 always.
where we can find chmod in the admin? r sme other place...
also we can find the safe mode?

Re: Warning! - Failed to move file

Posted: Mon Aug 08, 2011 9:58 am
by nishdo
Hi there,

Just happened to get this error this morning, silly mistake on my part. Anyhoo, to answer the last questions.

1. Safe mode: This is discouraged as of php 5.3.0 and later. See http://php.net/manual/en/features.safe-mode.php for more details.

Ashok_be ...

2. chmod 777: As stated earlier, also discouraged (and maybe not even allowed by admins).

If you want to change the chmod permissions for your tmp directory, here's the way in Linux (I use Ubuntu, so amend for your preferred OS. Also, assumption, apache www root dir is "/var/www"):
- Open up a Terminal app (Terminal).
- Go to the joomla installed directory, e.g. "cd /var/www/joomla".
- Chances are in Linux you are not logged in as root, so you'll have to use 'sudo' or 'su' before the command and enter the root password when prompted:
- Type "sudo chmod 777 tmp"
- and when finished with your task, type "sudo chmod 755 tmp" to change it back.

3. chown (Linux).

There may be another reason, depending on how you copied over the files into the apache root www directory. Again, amend details as needed for OS/directory/username. If you copied over the files as root or your username, the file ownerships may need to be changed after the copy.

For example, apache default may assume that name and group ownership should be "www-data:www-data" (or similar) for all files. (this can be changed, but let's stay with defaults). To check:
- Open up a Terminal app (Terminal).
- Go to the joomla installed directory, e.g. "cd /var/www/joomla".
- type "ls -al"
and see if all files have the same/correct owner and group settings for Apache. If not, do this:
- "cd /var/www"
- "sudo chown -R www-data:www-data ./joomla"
That'll change all settings for anything in the 'joomla' directory.

Enjoy!

N.