COPS 1.5.4 on Synology. When I try to view epub, it gives the following message
300 Fatal error: Uncaught Exception: Failed to read epub file in /volume1/web/cops/vendor/mikespub/php-epub-meta/src/EPub.php:
that is, an error in opening the ZIP file
/**
* Summary of openZipFile
* @param string $zipClass
* @throws \Exception
* @return void
*/
public function openZipFile($zipClass)
{
$this->zip = new $zipClass();
if (!$this->zip->Open($this->file)) {
throw new Exception('Failed to read epub file');
}
$this->zipClass = $zipClass;
}
What could be the reason?