Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

copy failed extracting ZIP
(1 viewing) (1) Guest
Document management system (DMS) component for Joomla!

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: copy failed extracting ZIP

copy failed extracting ZIP 9 years, 11 months ago #33611

Using: Joomla 2.5.7 / JoomDoc 3.4.1 Pro

Hello, I've got another one for you. This one might truely be a bug. I am uploading a zip file to JoomDOC that contains 1 folder and 1 file in that folder. I click the extract check box too. The folder gets created but I get a copy failed on the file. See the attached image.

I figured out the problem on my own and just thought I'd share!

My folder names had comas and parenthesis in them. Some process in Joomla or JoomDOC is stripping the charaters. So the folder named: Baqir, Raiz, (MD) on my hard drive is uploaded and becomes Baqir Raiz MD in JoomDOC. I'm guessing the ZIP extracted to the temp folder with the punctuation in it, but JoomDOC stripped it so when it goes to the temp folder using the stripped name it can't find the file because the stripped name doesn't exist.

So I removed the punctuation from the folder name, rezipped it and it uploaded perfectly!

copy_fail.png
Last Edit: 9 years, 11 months ago by cljones. Reason: Attached image didn't show up.
The topic has been locked.

Re: copy failed extracting ZIP 9 years, 11 months ago #33632

  • maju
  • OFFLINE
  • Posts: 1107
Hello

Thanks for your post. We will look on this problem and repair it for next version.
ARTIO Support Team
The topic has been locked.

Re: copy failed extracting ZIP 9 years, 10 months ago #34173

Hey
I am using Joomla 1.5 and i solved the issue.

Go in to folder administrator>components>libraries>joomdoc>filesystem>filesystem.php

Going to near line number 169.
JoomDOCString::safe function is calling.

That function remove the "," form folder you can remove the function.
but that function is useful for safe string.

Let try this above.and let me know

Thanks
Hardik
Last Edit: 9 years, 10 months ago by hardik.
The topic has been locked.

Re: copy failed extracting ZIP 9 years, 8 months ago #35646

hi,
I'm on Joomla 3.0 and
I have the same problem,

I tryed hardik advice, I commented out function called line 169.
But this is did'nt resolve my bug.

If someone can help me soon, I will be happy


thank you in advance
The topic has been locked.

Re: copy failed extracting ZIP 9 years, 8 months ago #35696

Hi,

I had work with joomla 1.5 and joomla 2.5 and solved that issue.

Related to can you give me some detail?
1) What exact error?

2) Which line you comment please give that line code and name of the function?


Thanks
The topic has been locked.

Re: copy failed extracting ZIP 9 years, 8 months ago #35714

hello,
thank you hardik.
I correct my previous job, I work with joomla 2.5.
My error is exactly the same as cljones, attached: a screenshot describe the situation (in French),
error_copy_unzip.png


that is to say, at the moment unzip the zip file in question and extract all the documents content, it shows me "copy failed".
So I did what you said earlier: I commented out line 168 of file :
C: \ wamp \ www \ joomla 2.5 \ administrator \ components \ com_joomdoc \ libraries \ joomdoc \ filesystem \ filesystem.php
the function call JoomDOCString :: safe ($ NewFolder) which sets the variable $ NewFolder

This modification does not change the problem ....
After several tries, I noticed that even the demo site of JoomDoc (http://demo.tramin.artio.cz/joomla25/index.php?option=com_joomdoc&view=documents&Itemid=292) has the same problem.

So, either you find a solution and I will be very grateful
I was going on a extention joomla equivalent

thank you
The topic has been locked.
  • Page:
  • 1
User Login Empty