zip error with upgrade 5.5.1
Permalink
I just installed C5 to a client's server and bought a theme but when installing it I received this error "There was an error unpacking your file. Perhaps you have not uploaded a valid zip file, or you do not have zip installed. on 5.5.1"
1. Modify php.ini and look for the line
extension=php_zip.dll
Make sure that line is not commented out.
2. Make sure the packages directory has write privileges for the IUSR_ account that's accessing your site.
3. Modify concrete\helpers\file.php. In there is a function called copyAll. Replace it with this code which simply makes sure that unix-based front slashes are replaced with windows-based back slashes:
Hope that helps.