ローカル OS X マシンで正常に動作する Zend Framework アプリケーションがあります。Zend フォルダーは、私のプロジェクトにも含まれていますlibrary/
。Linux サーバーでコードをセットアップすると、次のエラーが発生します。
Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception'
with message 'Plugin by name 'BaseURL' was not found in the registry; used paths:
Zend_View_Helper_: Zend/View/Helper/:/var/www/best_dashboard/application/views/helpers/'
in /var/www/best_dashboard/library/Zend/Loader/PluginLoader.php:412 Stack trace: #0
/var/www/best_dashboard/library/Zend/View/Abstract.php(1182): Zend_Loader_PluginLoader-
>load('BaseURL') #1 /var/www/best_dashboard/library/Zend/View/Abstract.php(618): Zend_View_Abstract->_getPlugin('helper', 'baseURL') #2
/var/www/best_dashboard/library/Zend/View/Abstract.php(344): Zend_View_Abstract-
>getHelper('baseURL') #3 [internal function]: Zend_View_Abstract->__call('baseURL', Array)
#4 /var/www/best_dashboard/application/layouts/scripts/layout.phtml(11): Zend_View-
>baseURL() #5 /var/www/best_dashboard/library/Zend/View.php(108):
include('/var/www/best_d...') #6
/var/www/best_dashboard/library/Zend/View/Abstract.php(888): Zend_View-
>_run('/var/www/best_d...') #7 /var/www/best_dashboard/library/Zen in
/var/www/best_dashboard/library/Zend/Controller/Plugin/Broker.php on line 336
このエラーで私が見た他の人の中には、Windows から Linux に移行しようとしており、BaseURL のケースが異なり、ブレーキがかかるためです。OS X から Linux に移行するので、これは私の問題ではないと思います。
このエラーの原因は何ですか?
アップデート:
Zend Framework 1.12.3 を使用しています
Linux サーバーで apache を使用し、ローカル OS X マシンで MAMP を使用しています。