0

Windows にプロジェクトがインストールされていますが、今日は Ubuntu サーバーにインストールする必要があります。プロジェクトは svn サーバーに保存されます。そのため、co を使用してプロジェクトをチェックアウトし、すべてのベンダー バンドルを更新します。web/config.php
にアクセスすれば問題ありません: Symfony のエクスペリエンスを向上させるために、以下を修正することをお勧めします:

Install and enable the intl extension.
Set short_open_tag to off in php.ini*.

* Changes to the php.ini file must be done in "/home/siteadm/common/php/Perso.ini". 

「ようこそページに移動」をクリックすると、次のようになりました。

  AnnotationException: [Semantical Error] The annotation "@EWZ\bundle\RecaptchaBundle\Validator\Constraints\True" in property Acme\...\User::$recaptcha does not exist, or could not be auto-loaded.  

実際、私のロケールではうまく機能します。recapchaBundle と FOSUserbundle を使用する userbunle は、ローカルの Windows マシンですべて正常に動作します。

/vendor ディレクトリを確認します: それらは 755 です

4

1 に答える 1

0

Windows では大文字と小文字が区別されません。リナックスは。

多分あなたは使うべきです

@EWZ\ Bundle \RecaptchaBundle\Validator\Constraints\True

それ以外の

@EWZ\バンドル\RecaptchaBundle\Validator\Constraints\Tru3

?

非常によくある間違いです。

于 2012-07-16T18:12:41.443 に答える