Joomla - An error has occurred. Copy file failed - Joomla & VirtueMart Tips & How To's

GJC Website Design UK, Joomla Developer, VirtueMart Developer, Template Developer, web site designs, England, Britain, UK, Belgium, search-engine optimisation (SEO). Multilingual.

Home Home Alternative Health Practitioners

Mon

28

Apr

  • Joomla 2.5 & 3.0
  • Installing - updating

Here's an easy way to find which file didn't copy - then at least you can troubleshoot why.

Open file libraries/joomla/filesystem/folder.php and find the three instances of the text 'Copy file failed'
They are around lines 104 & 142

Change:

throw new RuntimeException('Copy file failed, -1);

to

throw new RuntimeException('Copy file failed - file: '.$dfid, -1);

Then run your update again and this time we have:
Copy file failed - file: /home/gjctest/public_html/febo/components/com_jce/editor/tiny_mce/plugins/clipboard/classes/config.php

Copy file failed 

Now with a file manager browse to that file - wrong permissions!

Copy file failed permissions
Change permissions to 644

Copy file failed change permissions

re-run the install/update - you may find some more files with 400 etc permissions (they can't be wriiten by anyone - some hosts run scripts that set all files with names like config.php etc to 400)  - fix them (they will be shown with the error as before.
Then:

Copy file success


Last Updated on Monday, 28 April 2014 14:30
 
VirtueMart
Your Cart is currently empty.

Find a Domain Name!

Enter a domain name:

www.

Select an extension:

Select all
.com.net.org.info
.name.us.biz.eu
.co.uk.be.de.nl

Search Engine Optimisation (SEO)

The importance of having your site "visible" via the important search engines can not be stressed enough.
If your site is invisible to Google then no-one is going to find you no matter how wonderful your website is.

There are methods and techniques that need to be followed to ensure that your site is highly visible to your potential client base. We can do this for you and have had a large measure of success in the web sites that we have optimised.

Searching for a wide range of alternative health practitioner search terms (keywords & key-phrases in the jargon) returns a large number of GJC Web Design maintained and designed websites.
Terms such as alternative health practitioner, colourworks & colour mirrors consistently bring visitors and clients to our target websites.

Try the link below which will take you to a real search result for one or other of our sites.

Google UK search "colour mirrors"
1st, 2nd & 3rd place



Joomla - An error has occurred. Copy file failed|Joomla & VirtueMart Tips & How To's



GJC Website Design UK, Joomla Developer, VirtueMart Developer, Template Developer, web site designs, England, Britain, UK, Belgium, search-engine optimisation (SEO). Multilingual.


file, copy, failed, run, permissions, php, update, files, config, change, runtimeexception, joomla, browse, tiny, mce, manager, classes, clipboard, plugins, install, like, fix, shown, error, names, set, editor, wriiten, hosts, scripts, wrong, home, libraries, filesystem, folder, instances, open, troubleshoot, installing, updating


guru

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.