Joomla: 1.5.20
K2: 2.3
——————
If you gonna upload a zip file to make image gallery and this error message occurs
* UNKNOWNARCHIVETYPE
* Gallery upload error: Cannot extract archive!

Just go to
File: \administrator\components\com_k2\lib\class.upload.php
Line: ~2506
Change…

$this->file_src_mime = mime_content_type($this->file_src_pathname);

…to…

$this->file_src_mime = mime_content_type($this->file_src_name);

Enjoy

Pin It on Pinterest

Share This