The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 27 posts ] 
Author Message
PostPosted: Tue Oct 07, 2008 10:19 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 07, 2008 7:53 pm
Posts: 10
Hi guys, after a long time thinking about moving take place when i find my site in sandbox. Everything was very clear and nothing went wrong untill i tried to install a plugin or component! I can not install nothing to my site.
error:
# It was not possible to copy the selected file.
# JInstaller::install: Failed to copy file:


whatever i try to install i get this error, i did many things like making all files chmod 777 but still no chance!

What will i do? i don't want to go back to joomla 1.x5

pls help


Top
 Profile  
 
PostPosted: Wed Oct 08, 2008 9:07 am 
Joomla! Ace
Joomla! Ace

Joined: Fri Sep 14, 2007 8:11 pm
Posts: 1321
In backend - Admin site, go to Help and System info and Directory Permissions. It should be Writable

And you should try this: viewtopic.php?f=428&t=272481

_________________
Roar
http://www.joomlainorge.no/


Top
 Profile  
 
PostPosted: Fri Jul 17, 2009 9:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Nov 21, 2008 9:07 am
Posts: 33
Roar wrote:
In backend - Admin site, go to Help and System info and Directory Permissions. It should be Writable

And you should try this: viewtopic.php?f=428&t=272481

what is "it" referring to?


Top
 Profile  
 
PostPosted: Sat Jul 18, 2009 1:15 pm 
Joomla! Ace
Joomla! Ace

Joined: Fri Sep 14, 2007 8:11 pm
Posts: 1321
I am not sure what you mean, but the link is to the "Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post."

If you see over the header for this post, there can you see some helpful links.

_________________
Roar
http://www.joomlainorge.no/


Top
 Profile  
 
PostPosted: Sat Jul 18, 2009 2:00 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5738
Location: the Bat Cave
If you have checked your directories permissions and they are all writable then it could be a ownership problem. You can use FileZilla to FTP to your site then check the column far right to see what the ownership of your files and folders is, they should all be the same. If they are not ask your host to correct the ownership on your files.


Top
 Profile  
 
PostPosted: Mon Aug 24, 2009 6:23 am 
Joomla! Intern
Joomla! Intern

Joined: Fri Dec 12, 2008 6:00 am
Posts: 55
[size=90]Problem Description:
I am having a problem when trying to upload a component to my Joomla site. I have checked my path and my config.php file. I am able to upload modules with no trouble ,

Log/Error Message:
Quote:
# It was not possible to copy the selected file. # JInstaller::install: Failed to copy file: /var/www/vhosts/mysite/httpdocs/tmp/install_4a9230f069ec5/JoomFish2.0.3/site/language/en-GB.com_joomfish.ini to /var/www/vhosts/mysite/httpdocs/test/language/en-GB/en-GB.com_joomfish.ini

Quote:
# It was not possible to copy the selected file. # JInstaller::install: Failed to copy file: /var/www/vhosts/mysite/httpdocs/tmp/install_4a9230f069ec5/JoomFish2.0.3/admin/language/en-GB.com_joomfish.ini to /var/www/vhosts/mysite/httpdocs/test/administrator/language/en-GB/en-GB.com_joomfish.ini

Quote:
# It was not possible to copy the selected file. # JInstaller::install: Failed to copy file: /var/www/vhosts/mysite/httpdocs/tmp/install_4a9230f069ec5/JoomFish2.0.3/mod_jflanguageselection/language/en-GB.mod_jflanguageselection.ini to /var/www/vhosts/mysite/httpdocs/test/language/en-GB/en-GB.mod_jflanguageselection.ini


Actions Taken To Resolve:


Top
 Profile  
 
PostPosted: Tue Aug 25, 2009 12:29 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5738
Location: the Bat Cave
Have you had a look at this trouble shooting list
http://www.joomfish.net/en/documentation/joomfish-20/25-tips/137-issues-related-to-installing-of-joomfish-20


Top
 Profile  
 
PostPosted: Tue Aug 25, 2009 1:07 am 
Joomla! Intern
Joomla! Intern

Joined: Fri Dec 12, 2008 6:00 am
Posts: 55
Thanks i'll give that a shot, cheers


Top
 Profile  
 
PostPosted: Tue Sep 08, 2009 4:43 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Sep 02, 2009 1:48 pm
Posts: 1
joomlover8 wrote:
Hi guys, after a long time thinking about moving take place when i find my site in sandbox. Everything was very clear and nothing went wrong untill i tried to install a plugin or component! I can not install nothing to my site.
error:
# It was not possible to copy the selected file.
# JInstaller::install: Failed to copy file:


whatever i try to install i get this error, i did many things like making all files chmod 777 but still no chance!

What will i do? i don't want to go back to joomla 1.x5

pls help



from this directory.../var/www/joomla/plugins#
change the mode : chmod 777
and install the file again ...


Top
 Profile  
 
PostPosted: Tue Jul 27, 2010 10:27 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Jul 26, 2010 3:57 pm
Posts: 3
Hello,

I have an installation problem with the component Akeeba.
(in the back-office : Install/uninstall and i extract the component in .zip )

I've always the following message :

* It was not possible to copy the selected file.
* JInstaller::install: Failed to copy file to

I've changed folders permissions (via FTP all folders are in 777) and the files are in 755...

Moreover, i've changed the permissions in the files :
libraries/joomla/filesystem/path.php, libraries/joomla/filesystem/folder.php, libraries/joomla/filesystem/file.php.
in 0777...

Nothing changes ! The error apparears every time i try to install this component !!! >_<

Please could you help me, i don't what to do to sove this issue...
(when i try to install different component, it works but Akeeba ... not !)
I've downloaded the component on the official site http://www.akeebabackup.com/download/ca ... ble.html...

Need help please, i've no ideas anymore...


Top
 Profile  
 
PostPosted: Sun Sep 05, 2010 11:06 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu May 15, 2008 1:38 pm
Posts: 24
Got same problem with last guy. It's been a month and nobody reply him.


Top
 Profile  
 
PostPosted: Mon Sep 06, 2010 1:03 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5738
Location: the Bat Cave
The latest stable free version of Akeeba Backup can be downloaded from here
http://www.akeebabackup.com/official/akeeba-backup/akeeba-backup-3-0-1.html

If you only have a problem with trying to install Akeeba but other extensions install fine you probably have a partial install that is blocking you from a complete install or your server is having problems with the zip file. First thing to do is FTP to your site and delete all files and folders in your tmp folder. Try to install again, if it still will not install follow the "Manual installation" instructions on this page
http://www.akeebabackup.com/akeeba-backup-documentation/installation-updates-upgrades.html#id4813835


Top
 Profile  
 
PostPosted: Fri Sep 24, 2010 1:15 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Apr 16, 2010 10:04 am
Posts: 8
Here is a simple and clear solution for you guys, who have this same problem as I had,

Once, when I got this problem, I tried to search over google first, and read these solutions provided by our fellows but none helped, thats not their problem because you actually can't describe your problem in suitable way,

All those who are getting this problem have installed their corresponding component once and then unistalled it in wrong way, which leaves its files in the file manager,

So the solution to this problem is:

Step1: Do check in your file manager, lets take an example of the guy who were talking about akeeba component.
Step2: Delete "akeba" from /public_html/yoursite/plugins/ Directory,
Step3: Delete "com_akeba" from /public_html/yoursite/components/ Directory,
and then install the akeba plugin again.


Akeba is just an example of the component, I don't know if its exactly some component or not, but the solution is same
if you are getting problem with something like joomfish, do delete these two folders from specified directories and then install the component again using the extension installer.

Good Luck


Top
 Profile  
 
PostPosted: Mon Mar 14, 2011 8:34 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Sep 22, 2008 4:57 pm
Posts: 7
Location: Switzerland
Hi,

I solved the JInstaller::install: Failed to copy file problem by removing the line referring to the inistallation xml file in the installation xml file. To be more precise, in my mod_p_thought.xml file, instead of

Code:
<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
   <name>mod_p_thought</name>
   <version>1.1</version>
   <description>The module displays the thought of the day.</description>

   <files>
      <filename module="mod_p_thought">mod_p_thought.php</filename>
      <filename module="mod_p_thought">helper.php</filename>
      <filename module="mod_p_thought">mod_p_thought.xml</filename>
      <filename module="mod_p_thought">index.html</filename>
      <filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/index.html</filename>
      <folder>tmpl</folder>
   </files>


I used (3rd line iin the <files> section removed)

Code:
<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
   <name>mod_p_thought</name>
   <author>Jean-Pierre Schnyder</author>
   <authorEmail>jp.schnyder@gmail.com</authorEmail>
   <authorUrl>www.prosveta.com</authorUrl>
   <creationDate>March 14, 2011</creationDate>
   <copyright>(C) Copyright, Éditions Prosveta S.A 2011</copyright>
   <license>Non public</license>
   <version>1.1</version>
   <description>The module displays the thought of the day.</description>

   <files>
      <filename module="mod_p_thought">mod_p_thought.php</filename>
      <filename module="mod_p_thought">helper.php</filename>
      <filename module="mod_p_thought">index.html</filename>
      <filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/index.html</filename>
      <folder>tmpl</folder>
   </files>


Hope this helps !

_________________
plusconscient.net, une collection d'enregistrements audio en accès libre sur des sujets liés aux grandes problématiques de notre époque.


Top
 Profile  
 
PostPosted: Thu Nov 03, 2011 7:12 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Nov 03, 2011 7:08 am
Posts: 2
JInstaller::install: Failed to copy file It was not possible to copy the selected file.
JInstaller::install: Failed to copy file:


SOLUTION:-


Plz check tmp path & permission in config files


Top
 Profile  
 
PostPosted: Thu Mar 15, 2012 3:12 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Mar 15, 2012 3:11 pm
Posts: 1
Hi Guys, just to update you, finally I found a way to solve it
Do you have error messages?, like :

* Path too long
* Error cannot delete file: cannot read from source file or disk
* Cannot delete file: Access is denied
* There has been a sharing violation.
* Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name.

For that I tried it with: http://longpathtool.com/


Top
 Profile  
 
PostPosted: Tue Aug 28, 2012 4:14 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Aug 28, 2012 4:08 pm
Posts: 1
There is also another possible reason for this "Fail to copy file" error message.
Check your PHP's "Disabled Functions".

Under Joomla 2.5, you can check this under Site -> System Information. If copy is listed in the disabled php functions then it's your hosting provider, not a permissions issue per say.
Talk to your hosting provider if this is the case and have them remove this PHP limit.

Took me a while to figure this out.. and couldn't find the answer anywhere else!
So I hope it helps someone other than me.
Regards,
David


Top
 Profile  
 
PostPosted: Wed Jan 02, 2013 5:16 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 19, 2012 3:07 am
Posts: 10
Location: India
harmony wrote:
Hi,

I solved the JInstaller::install: Failed to copy file problem by removing the line referring to the inistallation xml file in the installation xml file. To be more precise, in my mod_p_thought.xml file, instead of

Code:
<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
   <name>mod_p_thought</name>
   <version>1.1</version>
   <description>The module displays the thought of the day.</description>

   <files>
      <filename module="mod_p_thought">mod_p_thought.php</filename>
      <filename module="mod_p_thought">helper.php</filename>
      <filename module="mod_p_thought">mod_p_thought.xml</filename>
      <filename module="mod_p_thought">index.html</filename>
      <filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/index.html</filename>
      <folder>tmpl</folder>
   </files>


I used (3rd line iin the <files> section removed)

Code:
<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
   <name>mod_p_thought</name>
   <author>Jean-Pierre Schnyder</author>
   <authorEmail>jp.schnyder@gmail.com</authorEmail>
   <authorUrl>www.prosveta.com</authorUrl>
   <creationDate>March 14, 2011</creationDate>
   <copyright>(C) Copyright, Éditions Prosveta S.A 2011</copyright>
   <license>Non public</license>
   <version>1.1</version>
   <description>The module displays the thought of the day.</description>

   <files>
      <filename module="mod_p_thought">mod_p_thought.php</filename>
      <filename module="mod_p_thought">helper.php</filename>
      <filename module="mod_p_thought">index.html</filename>
      <filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
      <filename module="mod_p_thought">delegate/index.html</filename>
      <folder>tmpl</folder>
   </files>


Hope this helps !


This can work only sometime with some files, but it cant work longtime.


Top
 Profile  
 
PostPosted: Mon Mar 04, 2013 7:27 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Nov 27, 2008 2:00 pm
Posts: 507
Location: India
Hi Folks,

As you are talking about file/directory ownership. What should be the ownership for file and directories. Please find the attachment and let me know is this ok or need any modification?

Thanks


You do not have the required permissions to view the files attached to this post.

_________________
vikram


Top
 Profile  
 
PostPosted: Mon Mar 04, 2013 11:30 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5738
Location: the Bat Cave
Your ownership is all the same and files and folders should be 644 and 755 which you seem to have. If you are having no issues when installing extensions you should be fine.


Top
 Profile  
 
PostPosted: Mon Mar 04, 2013 11:39 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Nov 27, 2008 2:00 pm
Posts: 507
Location: India
Why I asked bcz still I am getting this error message.

Copy failed
JInstaller: :Install: Failed to copy file

_________________
vikram


Top
 Profile  
 
PostPosted: Mon Mar 04, 2013 12:06 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5738
Location: the Bat Cave
If your Host's server has ownership issues and your site's files/folders are owned by the FTP user then you will get that error unless you set Joomla to use the FTP method in the Global Configuration settings. The other option is to get your Host to change your permissions to the apache user(if you are on an Apache server). Here is some more info on it;
http://docs.joomla.org/Why_can%27t_you_install_any_extensions%3F


Top
 Profile  
 
PostPosted: Fri Apr 19, 2013 6:52 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Aug 02, 2009 1:31 pm
Posts: 104
Location: Web Developer House
Sobipro application install well but when uninstall any application local or server then show this message ->

Failed deleting contact.ini
Failed deleting contact.php
Failed deleting contact.php
Failed deleting contact_helper.php
Failed deleting contact.php

Field "Contact Form Field" has been removed


You do not have the required permissions to view the files attached to this post.

_________________
Best regards, Md. Abdullah Al Mamun, Sr. Web Development Engineer
Cell: +8801741675667
E-mail: developermamun@gmail.com
Dhaka, Bangladesh, http://www.abdullah-al-mamun.info/


Top
 Profile  
 
PostPosted: Fri Apr 19, 2013 11:06 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5738
Location: the Bat Cave
dpacadmin wrote:
If your Host's server has ownership issues and your site's files/folders are owned by the FTP user then you will get that error unless you set Joomla to use the FTP method in the Global Configuration settings. The other option is to get your Host to change your permissions to the apache user(if you are on an Apache server). Here is some more info on it;
http://docs.joomla.org/Why_can%27t_you_install_any_extensions%3F
This should help, ask your Host to check your site's file/folder ownerships.


Top
 Profile  
 
PostPosted: Mon Apr 22, 2013 7:25 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Aug 02, 2009 1:31 pm
Posts: 104
Location: Web Developer House
dpacadmin wrote:
dpacadmin wrote:
If your Host's server has ownership issues and your site's files/folders are owned by the FTP user then you will get that error unless you set Joomla to use the FTP method in the Global Configuration settings. The other option is to get your Host to change your permissions to the apache user(if you are on an Apache server). Here is some more info on it;
http://docs.joomla.org/Why_can%27t_you_install_any_extensions%3F
This should help, ask your Host to check your site's file/folder ownerships.



Thanks for your good reply.
Server ownership : Owner/Group is ok for all file/folder permission.
My local server same problem too.
Please give me more another solution.


You do not have the required permissions to view the files attached to this post.

_________________
Best regards, Md. Abdullah Al Mamun, Sr. Web Development Engineer
Cell: +8801741675667
E-mail: developermamun@gmail.com
Dhaka, Bangladesh, http://www.abdullah-al-mamun.info/


Top
 Profile  
 
PostPosted: Mon Apr 22, 2013 10:05 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5738
Location: the Bat Cave
Your folder permissions are set to 777, on a local server this is fine if it is not accessible from the net. On your Host server folder permissions should be 755, file permissions should be 644. This shouldn't be the cause of your problem, just a safety issue.

Try enabling error reporting in the Global Configuration settings, set it to Maximum, then test to see if you get a php error that might help explain what the problem is. You could also try running the Forum Post Assistant on your server to see if it finds any issues, post back its results and any error messages you get.


Top
 Profile  
 
PostPosted: Mon Jan 27, 2014 9:49 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Oct 14, 2009 9:52 pm
Posts: 16
Location: Panama
I was having the same problem with a home made component, and it was fine after I removed this from the installation's XML file:

<install>
<sql>
<file [drive]="mysql" charset="utf8">sql/0.sql</file>
</sql>
</install>
<uninstall>
<sql>
<file [drive]="mysql" charset="utf8">sql/0.sql</file>
</sql>
</uninstall>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ] 



Who is online

Users browsing this forum: TurnitinBot [Bot] and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group