Is there anything in that /temp directory? Possibly there was a problem with downloading the file.Nothing at all. I also deleted the directory to start fresh. Running the script recreated the directory, with nothing in it. After starting the script, the error message appears pretty quickly, so it's not downloading much, if anything, before throwing the error.
if (class_exists('ZipArchive', false)) {
if (false && class_exists('ZipArchive', false)) {
I don't know what to make of that, since the download has to be successful in order to get to the part that generates that error. Maybe the download code is failing but reporting success for some reason.
Do you know if ZipArchive is available? It can be a little flaky on some platforms.
As an experiment, you might try changing this line:Tried that, but same result. BUT, I also tried changing all references to "/temp" in the chunk to "/temp2", and the script still creates the directory "/temp", so I don't know see that the updated chunk is actually being used, even after clearing the entire cache directory manually. [ed. note: rainbowtiger last edited this post 8 years, 5 months ago.]
if (class_exists('ZipArchive', false)) {
to this:
if (false && class_exists('ZipArchive', false)) {
Sorry I can't be much help now -- pinched nerve in my shoulder -- can only type with one hand. New version coming out as soon as I get the use of my hand back.Ooh, that can be nasty. Hope you get some relief soon.