You are here:  » Unable to unzip feed


Unable to unzip feed

Submitted by Randza on Fri, 2017-02-24 11:13 in

Hello David,

Well, when I tried to add New Job and run it, I get an error message "ERROR - UNZIP FAILED"

I put to "Yes" when it is asked if I would like to unzip the feed.

Do you have any idea for this ?

Best Regards

Submitted by support on Fri, 2017-02-24 11:34

Hi,

Firstly, if you haven't done so already in-case the feed is not actually compressed leave Unzip? as No, if still not working it's possible that the compression is corrupt - if you could let me know the feed URL (I'll remove before publishing your reply) I'll give it a go on my test server for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by Randza on Fri, 2017-02-24 11:38

I have already tried the two unzip options (Yes and No)

Here is the feed url {link saved}

Submitted by support on Fri, 2017-02-24 11:51

Hi,

The feed is fine, but I notice it is very large - the first thing I would suggest is using command line unzip rather than the built-in PHP zip functions - to do this, edit includes/automation.php and look for the following code at line 162:

    if (function_exists("zip_open"))

...and REPLACE with:

    if (FALSE)

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by Randza on Sun, 2017-02-26 16:58

Hi,

I forgot to tell you, I run under the 13/03A one.

Here is the unzip part of the code

{code saved}

Submitted by support on Mon, 2017-02-27 08:16

Hi,

Just in case any other mods were applied previously, please could you email me includes/automation.php from this installation and I'll patch to upgrade to PHP internal unzip functions...

Cheers,
David.
--
PriceTapestry.com