まずファイルbootstrap.phpのを参照する場合、クラスは「Zend_Application_Bootstrap_Bootstrap」が見つかりません。私は、私のWAMPサーバーに成功フレームワークをインストールしました。次のように含まれ、私のパスは次のとおりです。致命的なエラー:私は初心者ですすべての
のinclude_path = "; E:\ WAMPビン\ phpの\ \ zend_framework \ライブラリ"
私はプロジェクト名 "mehedi" を作成できます。しかし、私は、それは次のようなエラーが表示さmehedi /アプリケーション/ディレクトリにある私のbootstrap.phpのファイルを参照する場合:
Fatal error: Class 'Zend_Application_Bootstrap_Bootstrap' not found in E:\wamp`\www\mehedi\application\Bootstrap.php on line 4`
それはいくつかの致命的なエラーを示しindex.phpで、私は/公共/ mehedi除いて、他のPHPファイルを参照する場合。
は大丈夫か、私は重要な何かを見逃しているすべてです。ここで
私mehedi /アプリケーション/のconfigs /のapplication.iniファイル内のアプリケーションの設定です:あなたがにZend_Toolコマンドラインインターフェイスを使用してアプリケーションを設定し、それが公の場で.htaccess
ファイルを置く場合
[production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
[staging : production]
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
私は/ bootstrap.phpのをテストするために参照するとき、それはすべてのエラーを示しますが、それ以外はありませんしていません。 "E:/ WAMP/WWW/mehedi /パブリック" – mehedi