Warning! - Failed to move file

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
auzmartist
Joomla! Intern
Joomla! Intern
Posts: 89
Joined: Thu May 20, 2010 8:39 pm

Re: Warning! - Failed to move file

Post by auzmartist » Fri Jul 08, 2011 6:55 pm

dontak, I also use a remote windows server. Permissions work differently with IIS.

http://www.microsoft.com/technet/prodte ... x?mfr=true

What we have to do is call the host and get them to change the permissions for us. It's a headache for sure because for me at least, it takes 3+ hours for the admins to process and complete the request. So call your host, speak to the admins if possible, and have them change the permissions of /example/folder to make them "writable for the web user." I believe this is equivalent to Unix's 755 permissions. 777 is dangerous and opens your site to hacking.

Versio
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Thu Jul 07, 2011 10:00 am

Re: Warning! - Failed to move file

Post by Versio » Mon Jul 11, 2011 1:51 pm

is there any other way to install the extensions?? i have the same problem with the warning fail to move file, but i'm not experienced enough to go search for some chmod 777 or something like that, i don't even know what it's for so....
can sombody help please??
Musician + webdesigner = one messed up mix???

I just noticed that alo of my sentences start with 'I'

auzmartist
Joomla! Intern
Joomla! Intern
Posts: 89
Joined: Thu May 20, 2010 8:39 pm

Re: Warning! - Failed to move file

Post by auzmartist » Mon Jul 18, 2011 5:38 pm

@Versio-As far as I know, no. The extension installation process still needs to create files and folders. Learning how to chmod isn't that hard though. Do you have an FTP client such as Filezilla installed?

Versio
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Thu Jul 07, 2011 10:00 am

Re: Warning! - Failed to move file

Post by Versio » Tue Jul 19, 2011 7:44 am

@ auzmartist:
yeah, i found out how to chmod, it's not that hard no :P
and i found a way to upload file.

in global configuration you input your ftp username and password. that way joomla can upload thing.
it worked for me:P
Musician + webdesigner = one messed up mix???

I just noticed that alo of my sentences start with 'I'

auzmartist
Joomla! Intern
Joomla! Intern
Posts: 89
Joined: Thu May 20, 2010 8:39 pm

Re: Warning! - Failed to move file

Post by auzmartist » Tue Jul 19, 2011 3:06 pm

Excellent! Glad you got your problem fixed!

Versio
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Thu Jul 07, 2011 10:00 am

Re: Warning! - Failed to move file

Post by Versio » Wed Jul 20, 2011 8:11 am

i now have a new problem, with the same warning...
i have made a subdomain and i wanted to solve this problem the smae way as i did before, but this time it didn't work.
i found the path, i know the username and password of the ftp account, but somehow it still gives me this warning....
??
Musician + webdesigner = one messed up mix???

I just noticed that alo of my sentences start with 'I'

mrjamesj
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Oct 13, 2011 10:05 am

Re: Warning! - Failed to move file

Post by mrjamesj » Thu Oct 13, 2011 10:26 am

I just want to add my experience of this in case it helps.

You DON'T need to change permissions to 777. This is always dangerous. However, different server require different settings. Apart from ensuring that you configuration.php has the right paths in it, you may also need to supply you installation with ftp details. Two issues that prevented me from installing modules etc on a 1and1 server were:

1. Default installation had files with the wrong owner. Fix is to chown everything to the correct user:group through terminal. Following steps:
Log into server via terminal

Code: Select all

cd /path/to/website/directory
check the actual user for the 'httpdocs' (the entire folder containing your website files, sometimes this is called 'public_html' or something similar) by running command:

Code: Select all

ls -l
change ownership recursively - so if your ls -l showed 'httpdocs' has a user:group of apache:apache for example run command:

Code: Select all

chown -R apache:apache httpdocs
2. Supply joomla with correct ftp login details for your server at Site>Global Configuration>Server

After I took these steps I was able to instal modules fine. Hope that helps.

alanhowlett
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Apr 17, 2012 1:35 pm

Re: Warning! - Failed to move file

Post by alanhowlett » Tue Apr 17, 2012 1:51 pm

I suggest you create a script called CreatePermissions.sh to contain this:
#!/bin/bash
#SetPermissions.sh
#Set the permissions (eg 755) for the folders
chmod $1 administrator/components
chmod $1 administrator/language
chmod $1 administrator/language/en-GB
chmod $1 administrator/language/overrides
chmod $1 administrator/manifests/files
chmod $1 administrator/manifests/libraries
chmod $1 administrator/manifests/packages
chmod $1 administrator/modules
chmod $1 administrator/templates
chmod $1 components
chmod $1 images
chmod $1 images/banners
chmod $1 images/stories
chmod $1 images/sampledata
chmod $1 language
chmod $1 language/en-GB
chmod $1 language/overrides
chmod $1 libraries
chmod $1 media
chmod $1 modules
chmod $1 plugins
chmod $1 plugins/authentication
chmod $1 plugins/captcha
chmod $1 plugins/content
chmod $1 plugins/editors
chmod $1 plugins/editors-xtd
chmod $1 plugins/extension
chmod $1 plugins/finder
chmod $1 plugins/quickicon
chmod $1 plugins/search
chmod $1 plugins/system
chmod $1 plugins/user
chmod $1 templates
chmod $1 configuration.php
chmod $1 cache
chmod $1 administrator/cache
chmod $1 logs
chmod $1 tmp


What I have found is that executing this script with permissions of 007 from the root directory of your site (eg /var/www/Mysite.com) seems to work, eg:
sh CreatePermissions.sh 007
I am still playing with permissions, but this seems to be the minimum needed to upload images & modules. Whatever permissions you go with, this script seems useful.

sebaveg
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Apr 14, 2016 4:41 am

Re: Warning! - Failed to move file

Post by sebaveg » Thu Apr 14, 2016 4:42 am

Thank you! solved problem!


Locked

Return to “Extensions for Joomla! 1.5”