2011-04-23 5 views
0

내가 젠드에 아니에요로서 내가 정말 말할 수 아무것도과 같이 오류/경고의 스택이 ... 내가 말할 수있는 건 내가 얻을됩니다 없습니다 :젠드 응용 프로그램이 매우 runnig되지 동안 신선한 SVN 체크 아웃

Zend_Exception: No entry is registered for key 'liveHeader' in /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Registry.php on line 147 Call Stack: 0.0007 630840 1. {main}() /Users/koopa/Sites/ykone/trunk/public/index.php:0 0.2304 4603280 2. Zend_Application->run() /Users/koopa/Sites/ykone/trunk/public/index.php:42 0.2304 4603280 3. Bootstrap->run() /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Application.php:328 0.2346 4626200 4. Zend_Application_Bootstrap_Bootstrap->run() /Users/koopa/Sites/ykone/trunk/application/Bootstrap.php:12 0.2348 4626520 5. Zend_Controller_Front->dispatch($request = ???, $response = ???) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Application/Bootstrap/Bootstrap.php:77 1.6190 13445472 6. Zend_Controller_Plugin_Broker->postDispatch($request = class Zend_Controller_Request_Http { protected $_paramSources = array (0 => '_GET', 1 => '_POST'); protected $_requestUri = '/'; protected $_baseUrl = ''; protected $_basePath = NULL; protected $_pathInfo = '/'; protected $_params = array ('controller' => 'index', 'action' => 'index'); protected $_aliases = array(); protected $_dispatched = TRUE; protected $_module = 'default'; protected $_moduleKey = 'module'; protected $_controller = 'index'; protected $_controllerKey = 'controller'; protected $_action = 'index'; protected $_actionKey = 'action' }) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Controller/Front.php:956 1.6191 13445472 7. Zend_Layout_Controller_Plugin_Layout->postDispatch($request = class Zend_Controller_Request_Http { protected $_paramSources = array (0 => '_GET', 1 => '_POST'); protected $_requestUri = '/'; protected $_baseUrl = ''; protected $_basePath = NULL; protected $_pathInfo = '/'; protected $_params = array ('controller' => 'index', 'action' => 'index'); protected $_aliases = array(); protected $_dispatched = TRUE; protected $_module = 'default'; protected $_moduleKey = 'module'; protected $_controller = 'index'; protected $_controllerKey = 'controller'; protected $_action = 'index'; protected $_actionKey = 'action' }) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Controller/Plugin/Broker.php:330 1.6193 13445976 8. Zend_Layout->render($name = ???) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Layout/Controller/Plugin/Layout.php:142 1.6203 13450944 9. Zend_View_Abstract->render($name = 'layout.phtml') /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Layout.php:791 1.6204 13492584 10. Zend_View->_run('/Users/koopa/Sites/ykone/trunk/application/views/scripts/layout.phtml') /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/View/Abstract.php:832 1.6215 13653240 11. include('/Users/koopa/Sites/ykone/trunk/application/views/scripts/layout.phtml') /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/View.php:107 1.7286 15289440 12. YPush->LayoutTop() /Users/koopa/Sites/ykone/trunk/application/views/scripts/layout.phtml:153 1.7286 15289704 13. YPush->__call($method = 'LayoutTop', $attr = array()) /Users/koopa/Sites/ykone/trunk/library/YPush.php:153 1.7295 15336024 14. YPush->getData() /Users/koopa/Sites/ykone/trunk/library/YPush.php:79 1.7295 15336024 15. YPush->loadData() /Users/koopa/Sites/ykone/trunk/library/YPush.php:122 1.7295 15336544 16. call_user_func_array(array (0 => class YPush_LayoutTop { private ${YPush}:_file = 'layouttop.php'; protected $_dir = ''; protected $_class = 'YPush'; protected $_attr = array (...); protected $_cache = FALSE; protected $_lifetime = 86400; private ${YPush}:_id = 'LayoutTop_2723407904'; public $request = class Zend_Controller_Request_Http { ... }; private ${Zend_View}:_useViewStream = FALSE; private ${Zend_View}:_useStreamWrapper = FALSE; private ${Zend_View_Abstract}:_path = array (...); private ${Zend_View_Abstract}:_file = NULL; private ${Zend_View_Abstract}:_helper = array (...); private ${Zend_View_Abstract}:_helperLoaded = array (...); private ${Zend_View_Abstract}:_helperLoadedDir = array (...); private ${Zend_View_Abstract}:_filter = array (...); private ${Zend_View_Abstract}:_filterClass = array (...); private ${Zend_View_Abstract}:_filterLoaded = array (...); private ${Zend_View_Abstract}:_filterLoadedDir = array (...); private ${Zend_View_Abstract}:_escape = 'htmlspecialchars'; private ${Zend_View_Abstract}:_encoding = 'ISO-8859-1'; private ${Zend_View_Abstract}:_lfiProtectionOn = TRUE; private ${Zend_View_Abstract}:_loaders = array (...); private ${Zend_View_Abstract}:_loaderTypes = array (...); private ${Zend_View_Abstract}:_strictVars = FALSE; private ${Zend_View_Abstract}:_log = NULL }, 1 => 'prepare'), array()) /Users/koopa/Sites/ykone/trunk/library/YPush.php:132 1.7295 15336792 17. YPush_LayoutTop->prepare() /Users/koopa/Sites/ykone/trunk/library/YPush.php:132 1.7295 15336872 18. Zend_Registry::get($index = 'liveHeader') /Users/koopa/Sites/ykone/trunk/library/YPush/LayoutTop.php:15 Variables in local scope (#18): $index = 'liveHeader' $instance = class Zend_Registry { public $Zend_View_Helper_Placeholder_Registry = class Zend_View_Helper_Placeholder_Registry { protected $_containerClass = 'Zend_View_Helper_Placeholder_Container'; protected $_items = array (...) }; public $db = class Zend_Db_Adapter_Pdo_Mysql { protected $_pdoType = 'mysql'; protected $_numericDataTypes = array (...); protected $_defaultStmtClass = 'Zend_Db_Statement_Pdo'; protected $_config = array (...); protected $_fetchMode = 2; protected $_profiler = class Zend_Db_Profiler { ... }; protected $_defaultProfilerClass = 'Zend_Db_Profiler'; protected $_connection = class PDO { ... }; protected $_caseFolding = 0; protected $_autoQuoteIdentifiers = TRUE; protected $_allowSerialization = TRUE; protected $_autoReconnectOnUnserialize = FALSE }; public $db_master = class Zend_Db_Adapter_Pdo_Mysql { protected $_pdoType = 'mysql'; protected $_numericDataTypes = array (...); protected $_defaultStmtClass = 'Zend_Db_Statement_Pdo'; protected $_config = array (...); protected $_fetchMode = 2; protected $_profiler = class Zend_Db_Profiler { ... }; protected $_defaultProfilerClass = 'Zend_Db_Profiler'; protected $_connection = class PDO { ... }; protected $_caseFolding = 0; protected $_autoQuoteIdentifiers = TRUE; protected $_allowSerialization = TRUE; protected $_autoReconnectOnUnserialize = FALSE }; public $Zend_Locale = class Zend_Locale { protected $_locale = 'fr' }; public $WideLocale = 'fr_FR'; public $UrlTranslator = class Zend_Translate { private $_adapter = class Zend_Translate_Adapter_Csv { ... } }; public $config = class Zend_Config_Ini { protected $_nestSeparator = '.'; protected $_sectionSeparator = ':'; protected $_skipExtends = FALSE; protected $_allowModifications = FALSE; protected $_index = 0; protected $_count = 8; protected $_data = array (...); protected $_skipNextIteration = NULL; protected $_loadedSection = array (...); protected $_extends = array (...); protected $_loadFileErrorStr = NULL }; public $Zend_View_Helper_Doctype = class ArrayObject { public $doctypes = array (...); public $doctype = 'HTML4_LOOSE' } } Zend_Exception: No entry is registered for key 'liveLogo' in /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Registry.php on line 147 Call Stack: 0.0007 630840 1. {main}() /Users/koopa/Sites/ykone/trunk/public/index.php:0 0.2304 4603280 2. Zend_Application->run() /Users/koopa/Sites/ykone/trunk/public/index.php:42 0.2304 4603280 3. Bootstrap->run() /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Application.php:328 0.2346 4626200 4. Zend_Application_Bootstrap_Bootstrap->run() /Users/koopa/Sites/ykone/trunk/application/Bootstrap.php:12 0.2348 4626520 5. Zend_Controller_Front->dispatch($request = ???, $response = ???) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Application/Bootstrap/Bootstrap.php:77 1.6190 13445472 6. Zend_Controller_Plugin_Broker->postDispatch($request = class Zend_Controller_Request_Http { protected $_paramSources = array (0 => '_GET', 1 => '_POST'); protected $_requestUri = '/'; protected $_baseUrl = ''; protected $_basePath = NULL; protected $_pathInfo = '/'; protected $_params = array ('controller' => 'index', 'action' => 'index'); protected $_aliases = array(); protected $_dispatched = TRUE; protected $_module = 'default'; protected $_moduleKey = 'module'; protected $_controller = 'index'; protected $_controllerKey = 'controller'; protected $_action = 'index'; protected $_actionKey = 'action' }) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Controller/Front.php:956 1.6191 13445472 7. Zend_Layout_Controller_Plugin_Layout->postDispatch($request = class Zend_Controller_Request_Http { protected $_paramSources = array (0 => '_GET', 1 => '_POST'); protected $_requestUri = '/'; protected $_baseUrl = ''; protected $_basePath = NULL; protected $_pathInfo = '/'; protected $_params = array ('controller' => 'index', 'action' => 'index'); protected $_aliases = array(); protected $_dispatched = TRUE; protected $_module = 'default'; protected $_moduleKey = 'module'; protected $_controller = 'index'; protected $_controllerKey = 'controller'; protected $_action = 'index'; protected $_actionKey = 'action' }) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Controller/Plugin/Broker.php:330 1.6193 13445976 8. Zend_Layout->render($name = ???) /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Layout/Controller/Plugin/Layout.php:142 1.6203 13450944 9. Zend_View_Abstract->render($name = 'layout.phtml') /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/Layout.php:791 1.6204 13492584 10. Zend_View->_run('/Users/koopa/Sites/ykone/trunk/application/views/scripts/layout.phtml') /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/View/Abstract.php:832 1.6215 13653240 11. include('/Users/koopa/Sites/ykone/trunk/application/views/scripts/layout.phtml') /Users/koopa/Sites/ykone/trunk/ZF/library/Zend/View.php:107 1.7286 15289440 12. YPush->LayoutTop() /Users/koopa/Sites/ykone/trunk/application/views/scripts/layout.phtml:153 1.7286 15289704 13. YPush->__call($method = 'LayoutTop', $attr = array()) /Users/koopa/Sites/ykone/trunk/library/YPush.php:153 1.7295 15336024 14. YPush->getData() /Users/koopa/Sites/ykone/trunk/library/YPush.php:79 1.7295 15336024 15. YPush->loadData() /Users/koopa/Sites/ykone/trunk/library/YPush.php:122 1.7295 15336544 16. call_user_func_array(array (0 => class YPush_LayoutTop { private ${YPush}:_file = 'layouttop.php'; protected $_dir = ''; protected $_class = 'YPush'; protected $_attr = array (...); protected $_cache = FALSE; protected $_lifetime = 86400; private ${YPush}:_id = 'LayoutTop_2723407904'; public $request = class Zend_Controller_Request_Http { ... }; private ${Zend_View}:_useViewStream = FALSE; private ${Zend_View}:_useStreamWrapper = FALSE; private ${Zend_View_Abstract}:_path = array (...); private ${Zend_View_Abstract}:_file = NULL; private ${Zend_View_Abstract}:_helper = array (...); private ${Zend_View_Abstract}:_helperLoaded = array (...); private ${Zend_View_Abstract}:_helperLoadedDir = array (...); private ${Zend_View_Abstract}:_filter = array (...); private ${Zend_View_Abstract}:_filterClass = array (...); private ${Zend_View_Abstract}:_filterLoaded = array (...); private ${Zend_View_Abstract}:_filterLoadedDir = array (...); private ${Zend_View_Abstract}:_escape = 'htmlspecialchars'; private ${Zend_View_Abstract}:_encoding = 'ISO-8859-1'; private ${Zend_View_Abstract}:_lfiProtectionOn = TRUE; private ${Zend_View_Abstract}:_loaders = array (...); private ${Zend_View_Abstract}:_loaderTypes = array (...); private ${Zend_View_Abstract}:_strictVars = FALSE; private ${Zend_View_Abstract}:_log = NULL }, 1 => 'prepare'), array()) /Users/koopa/Sites/ykone/trunk/library/YPush.php:132 1.7295 15336792 17. YPush_LayoutTop->prepare() /Users/koopa/Sites/ykone/trunk/library/YPush.php:132 1.7307 15371992 18. Zend_Registry::get($index = 'liveLogo') /Users/koopa/Sites/ykone/trunk/library/YPush/LayoutTop.php:21 Variables in local scope (#18): $index = 'liveLogo' $instance = class Zend_Registry { public $Zend_View_Helper_Placeholder_Registry = class Zend_View_Helper_Placeholder_Registry { protected $_containerClass = 'Zend_View_Helper_Placeholder_Container'; protected $_items = array (...) }; public $db = class Zend_Db_Adapter_Pdo_Mysql { protected $_pdoType = 'mysql'; protected $_numericDataTypes = array (...); protected $_defaultStmtClass = 'Zend_Db_Statement_Pdo'; protected $_config = array (...); protected $_fetchMode = 2; protected $_profiler = class Zend_Db_Profiler { ... }; protected $_defaultProfilerClass = 'Zend_Db_Profiler'; protected $_connection = class PDO { ... }; protected $_caseFolding = 0; protected $_autoQuoteIdentifiers = TRUE; protected $_allowSerialization = TRUE; protected $_autoReconnectOnUnserialize = FALSE }; public $db_master = class Zend_Db_Adapter_Pdo_Mysql { protected $_pdoType = 'mysql'; protected $_numericDataTypes = array (...); protected $_defaultStmtClass = 'Zend_Db_Statement_Pdo'; protected $_config = array (...); protected $_fetchMode = 2; protected $_profiler = class Zend_Db_Profiler { ... }; protected $_defaultProfilerClass = 'Zend_Db_Profiler'; protected $_connection = class PDO { ... }; protected $_caseFolding = 0; protected $_autoQuoteIdentifiers = TRUE; protected $_allowSerialization = TRUE; protected $_autoReconnectOnUnserialize = FALSE }; public $Zend_Locale = class Zend_Locale { protected $_locale = 'fr' }; public $WideLocale = 'fr_FR'; public $UrlTranslator = class Zend_Translate { private $_adapter = class Zend_Translate_Adapter_Csv { ... } }; public $config = class Zend_Config_Ini { protected $_nestSeparator = '.'; protected $_sectionSeparator = ':'; protected $_skipExtends = FALSE; protected $_allowModifications = FALSE; protected $_index = 0; protected $_count = 8; protected $_data = array (...); protected $_skipNextIteration = NULL; protected $_loadedSection = array (...); protected $_extends = array (...); protected $_loadFileErrorStr = NULL }; public $Zend_View_Helper_Doctype = class ArrayObject { public $doctypes = array (...); public $doctype = 'HTML4_LOOSE' } } 

정말 감사드립니다.

답변

0

Zend_Registry::get('liveHeader')Zend_Registry::set('liveHeader', $liveHeader)으로 부르기 전에 잘못되었습니다. Zend_Registry는 일반 PHP 변종 유사 많은 배열처럼 동작 글로벌 singelton입니다 :

$liveHeader = .... 
$registry = array('liveHeader' => $liveHeader); 
+0

그러나 정확한 응용 프로그램이 MAMP를 사용하여 내 아이맥에 완벽하게 실행되는 방법 ... 나는 나 자신에게 설명 할 수 있으며, 내 맥북 아니, 네이티브 PHP, MySQL을 실행하고, 아파치. 이것으로 설명 할 수 있을까요? – pixelboy

+0

auto_preppend_file 같은 것을 사용하지 않습니까? –

+0

어디에서 확인할 수 있습니까? (Zend가 아니라고 말했을 때, 실제로 의미가 없습니다;) – pixelboy

관련 문제