{"id":2998,"date":"2014-03-13T11:17:19","date_gmt":"2014-03-13T11:17:19","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/13\/need-help-with-php-web-app-bootstrapping-error-potentially-related-to-zend-collection-of-common-programming-errors\/"},"modified":"2014-03-13T11:17:19","modified_gmt":"2014-03-13T11:17:19","slug":"need-help-with-php-web-app-bootstrapping-error-potentially-related-to-zend-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/13\/need-help-with-php-web-app-bootstrapping-error-potentially-related-to-zend-collection-of-common-programming-errors\/","title":{"rendered":"Need help with PHP web app bootstrapping error potentially related to Zend-Collection of common programming errors"},"content":{"rendered":"<p>I am trying to get a program called OpenFISMA running on an Ubuntu AMI in AWS. The app is not really coded on the Ubuntu platform, but I am in my comfort zone there, and have tried both CentOS and OpenSUSE (both are sort of &#8220;native&#8221; for the app) for getting it working with the same or worse results. So, why not just get it working on Ubuntu? Anyway, the app is found here: www.openfisma.org and an install guide is found here: https:\/\/openfisma.atlassian.net\/wiki\/display\/030100\/Installation+Guide The install guide kind of sucks. It doesn&#8217;t list dependencies in any coherent way or provide much of any detail (does not even mention Zend once on the entire page) so I&#8217;ve done a lot of work to divine the information I do have. This page provided some dependency inf (though again, Zend is not mentioned once): https:\/\/openfisma.atlassian.net\/wiki\/display\/PUBLIC\/RPM+Management#RPMManagement-BasicOverviewofRPMPackages<\/p>\n<p>Anyway, I got all the way through the install (so far as I could reconstruct it). I am going to the login page for the first time, and there should be some sort of bootstrapping occurring when I load the page. (I am not a programmer so I have no idea what it is doing there.) Anyway, I get a message on the web page that says: &#8220;An exception occurred while bootstrapping the application.&#8221;<\/p>\n<p>So, then I go look in \/var\/www\/data\/logs\/php.log and find this message:<\/p>\n<pre><code>[22-Oct-2013 17:29:18 UTC] PHP Fatal error:  Uncaught exception 'Zend_Exception' with message 'No entry is registered for key 'Zend_Log'' in \/var\/www\/library\/Zend\/Registry.php:147\nStack trace:\n#0 \/var\/www\/public\/index.php(188): Zend_Registry::get('Zend_Log')\n#1 {main}\n  thrown in \/var\/www\/library\/Zend\/Registry.php on line 147\n<\/code><\/pre>\n<p>This occurs every time I load the page. I gather there is an issue related to registering the Zend_Log variable in the Zend registry, but other than that I really have no idea what to do about it. Am I missing a package that it needs, or is this app not coded to register the variables properly? I have no clue. Any help is greatly appreciated. The application file referenced in the log message (index.php) is included below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am trying to get a program called OpenFISMA running on an Ubuntu AMI in AWS. The app is not really coded on the Ubuntu platform, but I am in my comfort zone there, and have tried both CentOS and OpenSUSE (both are sort of &#8220;native&#8221; for the app) for getting it working with the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2998","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2998"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2998\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}