Warning! – Failed to move file (Joomla 1.0.x, Joomla 1.5.x)
I came across this problem(“Warning! – Failed to move file”) when trying to install some components in a freshly installed joomla 1.5 Version site. Solution to this is either to change permissions to 777 for tmp directory / enable the legacy mode.
However, after I changed permissions to 777 for tmp folder, I came across another strange problem “Unable to write entry”
& after long time, I found the solution : Its to disable PHP SafeMode & Everything will work alright.
March 9, 2008
Posted in: Joomla


View Comments
how do u disable php safemode ?
ask ur hosting provider
Thanks for this, also, I had to change permissions on the components folder and administrator/components folder as well, in order for everything to work.
thanks for your comment
Thank for your great post. Eventually i can install the joomla component.
Your post is great and really clear but probably I forgot something else because I disable PHP SafeMode and I came also across the problem “Unable to write entry”.
What do you mean as “Everything will work alright”?
Not working, I still have the same message after I change safe mode to OFF and change folder permission also could not help
Thanks a lot, your tip helped me
how to disable php safemode..
Safe mode was already turned off. Thanks for providing a possible solution though!
i had the same problem but i solved it by changing the
chown -R www-data “adminstrator/components”
chown -R www-data tmp
chown -R www-data components
and it worked
I found the same problem, I can not install via admin for template, module, etc and always : WARNING – FAILED TO MOVE. Please help me, Thank
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%.
Thanks everyone, was very usefull
thanks, it was very useful article
wait,wait,wait! I’m on a localhost…
“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.”
Mine are ALL unwritable!
How do I do it without FTP?
You have to either use ‘File Manager’ if you are having a CPanel / Try to Install some File manager extension from the Joomla extension resource http://extensions.joomla.org
hope that helps!
I should have mentioned I’m on a Mac, so it’s a little different.
I’ll give it a try…Thank you very much!
I’ll let you know how it turns out…
Alberto
Venice Beach, CA
I down loaded a file manager. Soooo, what do I do with it?
I can’t install anything.
Do you know another way around this? Another way to install it or a folder to put it in?
I’m capable, but not proficient…make it simple please.
-A
Is this a .php issue?
Download SmartFTP, login to ur site using that. Click on the two folders that might be lying in public_html / root folder.
Then right click -> Properties -> Chmod to 777 & click ok…
then upload to the site. It shld help
It’s a localhost. (localhost/joomlabeta/administrator.)
That’s my problem…I have to put it in a Joomla desktop folder or figure out a way to upload it through “extensions/upload.”
-A
I did all the suggestion above and I face the following problem.
Please help!
* Unable to write entry
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 19777 is not allowed to access /www/99k.org/e/d/u/education/htdocs/tmp/install_4a4c719390bee owned by uid 2001 in /www/99k.org/e/d/u/education/htdocs/libraries/joomla/filesystem/file.php on line 298
Warning: file_put_contents(/www/99k.org/e/d/u/education/htdocs/tmp/install_4a4c719390bee/com_avreloaded.xml) [function.file-put-contents]: failed to open stream: No such file or directory in /www/99k.org/e/d/u/education/htdocs/libraries/joomla/filesystem/file.php on line 298
Unable to find install package
thanks.. it worked
Thank for solution. I had this problem.
i had the same problem but i solved it by changing the
chown -R www-data “adminstrator/components”
chown -R www-data tmp
chown -R www-data components
and it worked
thanks Sai Bharadwaj. it really helped me.
Yes i done it
thanks for grat suggetions!
I was tryin to find the solution for a week. At last, i’ve found it. Thanks sai for such a wonderful post. I followed meeya’s tip.
where is php safemode???? where is it located?
where i can disable php safe mode
?
very good, tks
very good, tks
Tell us how to disable php safe mode?
you can use .htaccess
just put a .htaccess file in that dir then the content of the .htaccess file should be
php_value safe_mode “1″
(OR)
on the php.ini file which you upload to the directory enter this command:
safe_mode = Off
disabling safemode is not always the best way to go about doing a quick fix. You leave yourself open for all sorts of vulnerabilities. Also, not everyone has access to the php.ini file on their servers.
the editing of htacess doesn't work.
fuckin thanks mate
thanks so much.. good solution..
@ramyalaxmi:
Read up a little!
Leave a Reply