Skip to content

I'm experiencing a performance problem epubreader.php #531

@viking-k

Description

@viking-k

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions