Hi David,
I have been working on the Automation all afternoon and am pretty much brain-fried right now.
My final problem has been with the above error message "ERROR - UNZIP FAILED".
I think I know what's causing the error. When the zip files are imported to my server, my ftp client says they are all 2KB in size, even though one of the files displays at 2.09 MB on the CJ network FTP site. So I have 3 zipped files all displaying 2K each, imported using the Automation tool.
To further verify file truncation, when I use SSH to execute Unzip, I get the following error message:
" End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive."
Above error message indicates file is bad.
Question is, and where I'm not sure where to begin looking, is why would file transfers be limited to 2K in size? To get the transfer working, I had to replace wGet with curl. Might that be a problem?
Thanks,
Ken.
Hi Ken,
I was just yesterday helping another user with CJ files, which don't seem to be downloaded successfully using PHP as the automation handler, but then worked fine using CURL.
You mentioned changing wGet to curl, I'm not quite sure what you mean here as the default automation handler is "php", at line 43 of config.advanced.php
$config_automationHandler = "php";
...what worked yesterday was changing this to the curl handler as follows:
$config_automationHandler = "curl";
Perhaps if you could give that a go, and if still no joy could you drop me an email with a link to the installation, any password required for /admin/ and I'll check it out straight away for you..
Cheers,
David.
--
PriceTapestry.com