BookReader Installed but no pictures

I have a localhost installation of omeka 2.1.2 with the most recent Book Reader plugin installed. I can create an item, add images and a pdf, but the BookReader does not display any images, only a grey background around the function toolbar. The scroll on the toolbar reads NaN/0 when I hover over it. Any suggestions on how to fix this problem would be appreciated.

Hi Liberi,

Can you give me the url of the bookreader version that you use ?
What are the format of images added to the item ?

The url is https://github.com/jsicot/BookReader

The images are jpg and I also uploaded a pdf of the images. I've tried just uploading the images or just the pdf but these changes have no effect.

I'm using a vm of centos 6.4.

What about error logging (apache, omeka or browser's console log) ?

Thanks jsicot for helping with this issue. The development of this plugin and its maintenance is very much appreciated.

The apache error log reads:

[Tue Oct 29 12:35:05 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 29 12:35:05 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 29 12:35:05 2013] [notice] Digest: done
PHP Warning: Module 'imagick' already loaded in Unknown on line 0
PHP Warning: Module 'imagick' already loaded in Unknown on line 0
[Tue Oct 29 12:35:05 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations

The Firefox browser console lists quite a few warnings related to css, but no errors. I've listed the warnings at the end of the log that may be related to the issue. I can provide the entire log if needed.

Tue Oct 29 2013 12:59:39
Warning: Expected media feature name but found '-webkit-min-device-pixel-ratio'.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1665
----------
Tue Oct 29 2013 12:59:39
Warning: Expected media feature name but found '-webkit-min-device-pixel-ratio'.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1672
----------
Tue Oct 29 2013 12:59:39
Warning: Expected media feature name but found '-webkit-min-device-pixel-ratio'.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1679
----------
Tue Oct 29 2013 12:59:39
Warning: Expected media feature name but found '-webkit-min-device-pixel-ratio'.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1686
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown pseudo-class or pseudo-element '-webkit-validation-bubble-message'. Ruleset ignored due to bad selector.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1700
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown pseudo-class or pseudo-element '-webkit-validation-bubble-arrow'. Ruleset ignored due to bad selector.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1711
----------
Tue Oct 29 2013 12:59:39
Warning: Expected declaration but found '*'. Skipped to next declaration.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1795
----------
Tue Oct 29 2013 12:59:39
Warning: Expected declaration but found '*'. Skipped to next declaration.
Source file: http://localhost/omeka/themes/default/css/style.css
Line: 1823
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property '-moz-opacity'. Declaration dropped.
Source file: http://localhost/omeka/items/show/1
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property 'box-sizing'. Declaration dropped.
Source file: http://localhost/omeka/items/show/1
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property 'box-sizing'. Declaration dropped.
Source file: http://localhost/omeka/items/show/1
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property 'box-sizing'. Declaration dropped.
Source file: http://localhost/omeka/items/show/1
----------
Tue Oct 29 2013 12:59:39
Warning: Error in parsing value for 'background-image'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 70
----------
Tue Oct 29 2013 12:59:39
Warning: Error in parsing value for 'filter'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 184
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property 'appearance'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 319
----------
Tue Oct 29 2013 12:59:39
Warning: Expected end of value but found ','. Error in parsing value for 'opacity'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 404
----------
Tue Oct 29 2013 12:59:39
Warning: Error in parsing value for 'filter'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 426
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property 'box-sizing'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 687
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property 'word-break'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 701
----------
Tue Oct 29 2013 12:59:39
Warning: Unknown property 'word-break'. Declaration dropped.
Source file: http://localhost/omeka/plugins/BookReader/views/shared/css/BookReader.css
Line: 715
----------
Tue Oct 29 2013 12:59:39
Warning: Use of getAttributeNode() is deprecated. Use getAttribute() instead.
Source file: http://localhost/omeka/viewer/show/1#mode/1up
----------
Tue Oct 29 2013 12:59:39
Warning: Use of attributes' specified attribute is deprecated. It always returns true.
Source file: http://localhost/omeka/viewer/show/1#mode/1up

You've got an error with ImageMagick library, it seems the module is loaded twice ?
The problem is probably in your php.ini ?

Can you check if derivative images for items are well generated by omeka (in /omeka/files/thumbnails, omeka/files/fullsize, etc.) ?

Do you have an image or an error when you go to the url below ?
http://localhost/omeka/book-reader/index/image-proxy/?image=0001&id=1&scale=1

Could you activate error logging in omeka and tell me if something useful comes out of it ? : http://omeka.org/codex/Retrieving_Error_Messages

Thanks

I created a new vm in order to try and reinstall everything to see if it would work. However, the problem has persisted.

>>Can you check if derivative images for items are well generated by omeka (in omeka/files/thumbnails, omeka/files/fullsize, etc.) ?

The files are there and seem to be fine.

>>Do you have an image or an error when you go to >the url below ?
>http://localhost/omeka/book-reader/index/image->proxy/?image=0001&id=1&scale=1

The following error is recorded

Omeka has encountered an error

Zend_Db_Statement_Mysqli_Exception

Mysqli statement execute error : No data supplied for parameters in prepared statement

#0 /var/www/html/omeka/application/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /var/www/html/omeka/application/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /var/www/html/omeka/application/libraries/Zend/Db/Adapter/Abstract.php(828): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#3 [internal function]: Zend_Db_Adapter_Abstract->fetchOne(Object(Zend_Db_Select))
#4 /var/www/html/omeka/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#5 /var/www/html/omeka/plugins/BookReader/controllers/IndexController.php(222): Omeka_Db->__call('fetchOne', Array)
#6 /var/www/html/omeka/plugins/BookReader/controllers/IndexController.php(222): Omeka_Db->fetchOne(Object(Zend_Db_Select))
#7 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(516): BookReader_IndexController->imageProxyAction()
#8 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('imageProxyActio...')
#9 /var/www/html/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#11 /var/www/html/omeka/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#12 /var/www/html/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#13 /var/www/html/omeka/index.php(23): Omeka_Application->run()
#14 {main}

>>Could you activate error logging in omeka and tell me if something useful comes out of it ? : http://omeka.org/codex/Retrieving_Error_Messages

The following error is generated:

2013-10-29T22:40:53-05:00 ERR (3): exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli statement execute error : No data supplied for parameters in prepared statement' in /var/www/html/omeka/application/libraries/Zend/Db/Statement/Mysqli.php:214
Stack trace:
#0 /var/www/html/omeka/application/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /var/www/html/omeka/application/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /var/www/html/omeka/application/libraries/Zend/Db/Adapter/Abstract.php(828): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#3 [internal function]: Zend_Db_Adapter_Abstract->fetchOne(Object(Zend_Db_Select))
#4 /var/www/html/omeka/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#5 /var/www/html/omeka/plugins/BookReader/controllers/IndexController.php(222): Omeka_Db->__call('fetchOne', Array)
#6 /var/www/html/omeka/plugins/BookReader/controllers/IndexController.php(222): Omeka_Db->fetchOne(Object(Zend_Db_Select))
#7 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(516): BookReader_IndexController->imageProxyAction()
#8 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('imageProxyActio...')
#9 /var/www/html/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#11 /var/www/html/omeka/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#12 /var/www/html/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#13 /var/www/html/omeka/index.php(23): Omeka_Application->run()
#14 {main}

The Browser console for this reinstall is:

[22:38:11.693] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/application/views/scripts/css/admin-bar.css:3
[22:38:11.693] Unknown property '-moz-box-shadow'. Declaration dropped. @ http://localhost/omeka/application/views/scripts/css/admin-bar.css:15
[22:38:11.693] Error in parsing value for 'text-decoration'. Declaration dropped. @ http://localhost/omeka/application/views/scripts/css/admin-bar.css:40
[22:38:11.693] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:129
[22:38:11.694] Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:334
[22:38:11.694] Error in parsing value for 'word-break'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:378
[22:38:11.694] Unknown pseudo-class or pseudo-element '-webkit-search-decoration'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:543
[22:38:11.694] Error in parsing value for 'top'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:561
[22:38:11.694] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:563
[22:38:11.694] Unknown property '-moz-border-radius'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:614
[22:38:11.694] Unknown property '-moz-background-clip'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:620
[22:38:11.694] Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:646
[22:38:11.694] Unknown property '-moz-box-shadow'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:666
[22:38:11.694] Unknown property 'user-select'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:726
[22:38:11.694] Unknown property 'background-position-x'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:932
[22:38:11.695] Error in parsing value for 'padding'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1157
[22:38:11.695] Expected media feature name but found '-webkit-min-device-pixel-ratio'. @ http://localhost/omeka/themes/default/css/style.css:1665
[22:38:11.695] Unknown pseudo-class or pseudo-element '-webkit-validation-bubble-message'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:1700
[22:38:11.695] Unknown pseudo-class or pseudo-element '-webkit-validation-bubble-arrow'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:1711
[22:38:11.768] Unknown property '-moz-opacity'. Declaration dropped. @ http://localhost/omeka/items/show/1
[22:38:11.815] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/items/show/1

If you want I could try another installation if there is a preferred way of setting up ImageMagick. There is no php extension by default for it in CentOS, and I had some trouble getting it installed both times.

Here is the apache error log for the new installation. I noticed that there were two log files this time error_log and error_log~. The error_log file is empth but error_log~ contains the following:

[Tue Oct 29 21:46:52 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 29 21:46:52 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 29 21:46:52 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 29 21:46:52 2013] [notice] Digest: done
[Tue Oct 29 21:46:52 2013] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Oct 29 21:47:17 2013] [notice] caught SIGTERM, shutting down
[Tue Oct 29 21:47:17 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 29 21:47:17 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 29 21:47:17 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 29 21:47:17 2013] [notice] Digest: done
[Tue Oct 29 21:47:17 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Tue Oct 29 21:48:26 2013] [notice] caught SIGTERM, shutting down
[Tue Oct 29 21:48:26 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 29 21:48:26 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 29 21:48:26 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 29 21:48:26 2013] [notice] Digest: done
[Tue Oct 29 21:48:26 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Tue Oct 29 21:54:35 2013] [notice] caught SIGTERM, shutting down
[Tue Oct 29 21:54:35 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 29 21:54:35 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 29 21:54:35 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 29 21:54:35 2013] [notice] Digest: done
[Tue Oct 29 21:54:35 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Tue Oct 29 22:00:35 2013] [notice] caught SIGTERM, shutting down
[Tue Oct 29 22:00:35 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 29 22:00:35 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 29 22:00:35 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 29 22:00:35 2013] [notice] Digest: done
[Tue Oct 29 22:00:35 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Tue Oct 29 22:06:17 2013] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Tue Oct 29 22:14:08 2013] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Tue Oct 29 22:18:29 2013] [notice] caught SIGTERM, shutting down
[Tue Oct 29 22:19:16 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 29 22:19:16 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 29 22:19:16 2013] [notice] Digest: done
[Tue Oct 29 22:19:16 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Tue Oct 29 22:20:35 2013] [error] [client 127.0.0.1] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /var/www/html/omeka/application/models/File.php on line 394, referer: http://localhost/omeka/admin/items/add
[Tue Oct 29 22:20:35 2013] [error] [client 127.0.0.1] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /var/www/html/omeka/application/models/File.php on line 394, referer: http://localhost/omeka/admin/items/add
[Tue Oct 29 22:20:35 2013] [error] [client 127.0.0.1] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /var/www/html/omeka/application/models/File.php on line 394, referer: http://localhost/omeka/admin/items/add
[Tue Oct 29 22:20:35 2013] [error] [client 127.0.0.1] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /var/www/html/omeka/application/models/File.php on line 394, referer: http://localhost/omeka/admin/items/add
[Tue Oct 29 22:30:41 2013] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function getFiles() on a non-object in /var/www/html/omeka/plugins/BookReader/controllers/IndexController.php on line 185
[Tue Oct 29 22:30:41 2013] [error] [client 127.0.0.1] PHP Fatal error: Undefined class constant 'PRIMARY_TYPE_NUM' in /var/www/html/omeka/application/libraries/Zend/Session/SaveHandler/DbTable.php on line 522
[Tue Oct 29 22:40:53 2013] [error] [client 127.0.0.1] PHP Notice: Undefined offset: 0 in /var/www/html/omeka/plugins/BookReader/controllers/IndexController.php on line 215

I still not understand why the plugin doesn't work :-(

Bookreader cannot find image files for item in database :(

Could you try, this version of bookreader and tell me if the error is still there ?
https://github.com/Daniel-KM/BookReader

I'm currently updating the plugin with changes made to this version.

I just finished updating the module. Please, could you try again?

https://github.com/jsicot/BookReader

Thx

I created another vm in ubuntu 12.04 since ImageMagick is easier to install. The plugin doesn't seem to work in either CentOS or Ubuntu. When I view the item, the BookReader view box does not display at all.

Here is the Browser Console Log from ubuntu:

[10:58:35.850] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/application/views/scripts/css/admin-bar.css:3
[10:58:35.850] Unknown property '-moz-box-shadow'. Declaration dropped. @ http://localhost/omeka/application/views/scripts/css/admin-bar.css:15
[10:58:35.850] Error in parsing value for 'text-decoration'. Declaration dropped. @ http://localhost/omeka/application/views/scripts/css/admin-bar.css:39
[10:58:35.850] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:129
[10:58:35.850] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:310
[10:58:35.850] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:327
[10:58:35.850] Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:334
[10:58:35.851] Error in parsing value for 'word-break'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:378
[10:58:35.851] Unknown pseudo-class or pseudo-element '-webkit-search-decoration'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:543
[10:58:35.851] Error in parsing value for 'top'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:561
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:563
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:588
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:589
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:594
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:595
[10:58:35.851] Unknown property '-moz-border-radius'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:614
[10:58:35.851] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:619
[10:58:35.851] Unknown property '-moz-background-clip'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:620
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:636
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:637
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:638
[10:58:35.851] Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:646
[10:58:35.851] Unknown property '-moz-box-shadow'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:666
[10:58:35.851] Unknown property '-moz-box-shadow'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:679
[10:58:35.851] Unknown property '-moz-box-shadow'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:692
[10:58:35.851] Unknown property '-moz-box-shadow'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:721
[10:58:35.851] Unknown property 'user-select'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:726
[10:58:35.851] Unknown property '-moz-border-radius'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:777
[10:58:35.851] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:909
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:910
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:914
[10:58:35.851] Unknown property 'background-position-x'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:932
[10:58:35.851] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:962
[10:58:35.851] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:963
[10:58:35.851] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1033
[10:58:35.852] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1034
[10:58:35.852] Error in parsing value for 'padding'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1157
[10:58:35.852] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1293
[10:58:35.852] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1294
[10:58:35.852] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1316
[10:58:35.852] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1317
[10:58:35.852] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1347
[10:58:35.852] Unknown property '-moz-border-radius'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1359
[10:58:35.852] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1384
[10:58:35.852] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1385
[10:58:35.852] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/themes/default/css/style.css:1531
[10:58:35.852] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1532
[10:58:35.852] Expected media feature name but found '-webkit-min-device-pixel-ratio'. @ http://localhost/omeka/themes/default/css/style.css:1665
[10:58:35.852] Expected media feature name but found '-webkit-min-device-pixel-ratio'. @ http://localhost/omeka/themes/default/css/style.css:1672
[10:58:35.852] Expected media feature name but found '-webkit-min-device-pixel-ratio'. @ http://localhost/omeka/themes/default/css/style.css:1679
[10:58:35.853] Expected media feature name but found '-webkit-min-device-pixel-ratio'. @ http://localhost/omeka/themes/default/css/style.css:1686
[10:58:35.853] Unknown pseudo-class or pseudo-element '-webkit-validation-bubble-message'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:1700
[10:58:35.853] Unknown pseudo-class or pseudo-element '-webkit-validation-bubble-arrow'. Ruleset ignored due to bad selector. @ http://localhost/omeka/themes/default/css/style.css:1711
[10:58:35.853] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1795
[10:58:35.853] Expected declaration but found '*'. Skipped to next declaration. @ http://localhost/omeka/themes/default/css/style.css:1823
[10:58:35.854] SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead @ http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:1
[10:58:35.907] Unknown property '-moz-opacity'. Declaration dropped. @ http://localhost/omeka/items/show/1
[10:58:35.942] Unknown property 'box-sizing'. Declaration dropped. @ http://localhost/omeka/items/show/1
[10:58:37.125] Use of getPreventDefault() is deprecated. Use defaultPrevented instead. @ http://localhost/omeka/items/show/1

The apache error log reads:

[Wed Oct 30 08:31:54 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Wed Oct 30 08:31:54 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 08:31:55 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 08:32:14 2013] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Oct 30 08:32:14 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 08:43:15 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 08:43:16 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 08:45:45 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 08:45:46 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 08:45:56 2013] [error] [client 127.0.0.1] Omeka fatal error: Access denied for user 'mark'@'localhost' (using password: YES).\n\nConfirm that the information in your db.ini file is correct.
[Wed Oct 30 08:45:56 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Oct 30 08:46:33 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 08:46:34 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 08:46:41 2013] [error] [client 127.0.0.1] Omeka fatal error: Access denied for user 'mark'@'localhost' (using password: YES).\n\nConfirm that the information in your db.ini file is correct.
[Wed Oct 30 08:53:07 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 08:53:09 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 08:53:14 2013] [error] [client 127.0.0.1] Omeka fatal error: Access denied for user 'mark'@'localhost' (using password: YES).\n\nConfirm that the information in your db.ini file is correct.
[Wed Oct 30 08:55:16 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 08:55:17 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 08:55:24 2013] [error] [client 127.0.0.1] Omeka fatal error: Access denied for user 'mark'@'localhost' (using password: YES).\n\nConfirm that the information in your db.ini file is correct.
[Wed Oct 30 08:55:25 2013] [error] [client 127.0.0.1] Omeka fatal error: Access denied for user 'mark'@'localhost' (using password: YES).\n\nConfirm that the information in your db.ini file is correct.
[Wed Oct 30 08:57:14 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 08:57:15 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 30 09:03:51 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:03:51 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:03:51 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:03:51 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:03:51 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:03:52 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:03:52 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:03:52 2013] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' in /var/www/omeka/application/libraries/getid3/module.graphic.jpg.php on line 61, referer: http://localhost/omeka/admin/items/add
[Wed Oct 30 09:08:50 2013] [notice] caught SIGTERM, shutting down
[Wed Oct 30 09:08:51 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations

There is no omeka error log data

jsicot, I appreciate your hard work with this plugin. I'm sorry that it doesn't seem to be working on my localhost install. Do you think it might have something to do with the fact that it is a localhost installation?

I assume that it is stable in your own development and deployment environments. Maybe I could try a set up similar to yours.

This plugin is worthwhile and expands the capability of omeka significantly. It's a pretty critical component for our library development and seems to have worked well for many others. I'll certainly help in any way that I can to test and report on it. I don't know enough programming to help code for the project or debug it. Is there anything else I can do? Would installing a previous version of omeka help to see if it has something to do with one of the updates?

jsicot, do you plan to continue developing this plug in? I still can't get it to work regardless of the os or omeka version.

For information, I had a similar but not identical problem, with images not appearing. The BookReader came up fine but with no content and again the problem was with locating the images.

I verified that this was the problem using the url suggested above (the one with image-proxy in it): again just an error came up. Eventually traced the problem to the $supportedFormats array in BookReaderFunctions.php. Turns out that only lowercase file suffixes are allowed in this array and my images had a .JPG extension. I changed line 403 of BookReaderFunctions.php to be case-insensitive by changing '$/'; to '$/I';
at the end of the line and the images appeared.

Oops, the '$/I'; should be a lowercase i as $/i