Here’s one for you. My primary VuFind instance works fine, but my secondary instances are failing while using the primary’s config.ini as a parent config. I’m currently receiving the following error:

 

PHP Fatal error:  Uncaught exception 'Zend\\Config\\Exception\\RuntimeException' with message 'Config is read only' in /usr/local/vufind/vendor/ZF2/library/Zend/Config/Config.php:138\nStack trace:\n#0 /usr/local/vufind/module/VuFind/src/VuFind/Config/Reader.php(192): Zend\\Config\\Config->__set('url', 'http://vfdev-we...')\n#1 /usr/local/vufind/module/VuFind/src/VuFind/Config/Reader.php(59): VuFind\\Config\\Reader::loadConfigFile('config.ini')\n#2 /usr/local/vufind/module/VuFind/src/VuFind/Bootstrap.php(57): VuFind\\Config\\Reader::getConfig()\n#3 /usr/local/vufind/module/VuFind/Module.php(37): VuFind\\Bootstrap->__construct(Object(Zend\\Mvc\\MvcEvent))\n#4 [internal function]: VuFind\\Module->onBootstrap(Object(Zend\\Mvc\\MvcEvent))\n#5 /usr/local/vufind/vendor/ZF2/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\\Mvc\\MvcEvent))\n#6 /usr/local/vufind/vendor/ZF2/library/Zend/EventManager/EventManager.php(208): Zend\\EventManager\\EventManager->triggerListeners('bootstrap', Object(Zend\\Mvc\\MvcEvent), Array)\n#7 /usr/loca in /usr/local/vufind/vendor/ZF2/library/Zend/Config/Config.php on line 138

 

If I comment out the exception throw on line 138 in Config.php, it appears to load correctly. Unfortunately, I’m not really sure how to troubleshoot the above. I assumed it meant the config.ini files weren’t writable, but they are owned by apache with write permissions.

 

Thanks!

Benjamin Mosior