Logo Design VirtueMart & Joomla Web Design England UK Britain 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 Joomla - VirtueMart Virtuemart 3-2 Cart with Shipping Module

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.

Latest Joomla & VirtueMart Tips

See all tips & examples

GJC Web Design UK Logo & Graphics Design

Photography

Belgium, VirtueMart & Joomla Web Design England UK Britain & Germany

Logo & Graphics Design Experts, Website Graphics, Visiting Cards, Fast personal service



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.