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