0
我實際上與我的網站有問題,當我想要在實時模式下它。我有這樣的錯誤:我的網站does not在現場模式下工作
Fatal error: Class 'Lexik\Bundle\TranslationBundle\LexikTranslationBundle' not found in /home/maisonka/www/app/AppKernel.php on line 27
,但我不明白,因爲我的包lexik是我的供應商和appKernel.php
樣子:
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Kayser\PlatformBundle\KayserPlatformBundle(),
new Liip\ImagineBundle\LiipImagineBundle(),
new Sonata\IntlBundle\SonataIntlBundle(),
new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(),
new Sonata\CoreBundle\SonataCoreBundle(),
new Sonata\BlockBundle\SonataBlockBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new Sonata\AdminBundle\SonataAdminBundle(),
new Lexik\Bundle\TranslationBundle\LexikTranslationBundle(),
);
你嘗試'php應用程序/控制檯清除:緩存--env = prod'? –
我不能因爲我使用filzila,我不能刪除應用程序/緩存 –
爲什麼不能?只需刪除它們,symfony 2將創建一個新的緩存 –