View Single Post
Old 01-12-2015, 09:41 PM   #1034
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
First of all, I am not familiar with webserver.... What I did was:

1) Run QuickPHP Webserver (I choose it for now because it is lightweight and no installation needed... If it is not good enough, please recommend something better but...please easy...)

2) Extract and copy COPS folder to the root folder of QuickPHP
3) Copy everything in the "example" file to the config file, and edit the path to Calibre database ($config['calibre_directory'] = 'F:\PortableApp\Calibre Portable\NQK Bookshelf\/'

4) try: http://localhost:5723/
it returns as follows
Code:
Warning: Cannot modify header information - headers already sent by (output started at F:\Data\Clouds\Dropboxs\checkconfig.php:3) in F:\Data\Clouds\Dropboxs\checkconfig.php on line 15
COPS Configuration Check

You've been redirected because COPS is not configured properly

Database error

Check if PHP version is correct

OK (5.3.8)

Check if GD is properly installed and loaded

Please install the php5-gd extension and make sure it's enabled

Check if Sqlite is properly installed and loaded

Please install the php5-sqlite extension and make sure it's enabled

Check if libxml is properly installed and loaded

OK

Check if Json is properly installed and loaded

OK

Check if mbstring is properly installed and loaded

Please install the php5-mbstring extension and make sure it's enabled

Check if intl is properly installed and loaded

Please install the php5-intl extension and make sure it's enabled

Check if Normalizer class is properly installed and loaded

Please make sure intl is enabled in your php.ini

Check if the rendering will be done on client side or server side

Server side rendering

Check if Calibre database path is not an URL

OK

Check if Calibre database file exists and is readable

OK

Check if Calibre database file can be opened with PHP

If the file is readable, check your php configuration. Exception detail : exception 'PDOException' with message 'could not find driver' in F:\Data\Clouds\Dropboxs\checkconfig.php:205 Stack trace: #0 F:\Data\Clouds\Dropboxs\checkconfig.php(205): PDO->__construct('sqlite:F:\Porta...') #1 {main}

Check if Calibre database file contains at least some of the needed tables

If the file is readable, check your php configuration. Exception detail : exception 'PDOException' with message 'could not find driver' in F:\Data\Clouds\Dropboxs\checkconfig.php:218 Stack trace: #0 F:\Data\Clouds\Dropboxs\checkconfig.php(218): PDO->__construct('sqlite:F:\Porta...') #1 {main}
And I would like to ask if I need to sync all files in COPS folder to dropbox? php server to dropbox? together with Calibre library.... I can't get it to work yet so I'm still a little bit confused

Last edited by nqk; 01-12-2015 at 09:55 PM.
nqk is offline   Reply With Quote