* */ require_once ("config.php"); require_once ("base.php"); header ("Content-Type:application/xhtml+xml"); $err = getURLParam ("err", -1); $error = NULL; switch ($err) { case 1 : $error = "Database error"; break; } ?> COPS Configuration Check " media="screen" />

COPS Configuration Check

You've been redirected because COPS is not configured properly
Check if GD is properly installed and loaded
Check if Sqlite is properly installed and loaded
$database) { ?>
Check if Calibre database file exists and is readable
  • Value of \$config['calibre_directory'] in config_local.php
  • Value of open_basedir in your php.ini
  • The access rights of the Calibre Database
  • Synology users please read this
  • "; } ?>
    Check if Calibre database file can be opened with PHP
    Check if Calibre database file contains at least some of the needed tables
    query("select count(*) FROM sqlite_master WHERE type='table' AND name in ('books', 'authors', 'tags', 'series')")->fetchColumn(); if ($count == 4) { echo "{$name} OK"; } else { echo "{$name} Not all Calibre tables were found. Are you you're using the correct database."; } } catch (Exception $e) { echo "{$name} If the file is readable, check your php configuration. Exception detail : " . $e; } ?>