Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Symfony][SF2][Symfony2]Instalacja strony
wiciu010
post
Post #1





Grupa: Zarejestrowani
Postów: 195
Pomógł: 0
Dołączył: 29.04.2007

Ostrzeżenie: (0%)
-----


Używam serwera VPS. Mam stronę w Symfony2 zainstalowaną pod adresem: mojastrona.pl - działa prawidłowo.
Teraz chcę zainstalować kopię na subdomenie. Stworzyłem subdomenę subdomena.mojastrona.pl. Wrzuciłem wszystkie pliki. Skonfigurowałem połączenie z bazą danych. Po wejściu w przeglądarce pod adres subdomena.mojastrona.pl otrzymuję jednak fatal error:

Kod
PHP Fatal error:  Class 'JMS\\SecurityExtraBundle\\JMSSecurityExtraBundle' not found in /home/stay/app/AppKernel.php on line 21


Sprawdziłem plik i tam jest wpis:

  1. $bundles = array(
  2. new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
  3. new Symfony\Bundle\SecurityBundle\SecurityBundle(),
  4. new Symfony\Bundle\TwigBundle\TwigBundle(),
  5. new Symfony\Bundle\MonologBundle\MonologBundle(),
  6. new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
  7. new Symfony\Bundle\AsseticBundle\AsseticBundle(),
  8. new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
  9. new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
  10. new JMS\AopBundle\JMSAopBundle(),
  11. new JMS\DiExtraBundle\JMSDiExtraBundle($this),
  12. new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(), // tu jest błąd
  13. new Ex\CalltrackBundle\ExCalltrackBundle(),
  14. );


Z czego wynikać może problem?



Ten post edytował wiciu010 28.04.2015, 20:37:18
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
kusiu
post
Post #2





Grupa: Zarejestrowani
Postów: 163
Pomógł: 10
Dołączył: 24.01.2006

Ostrzeżenie: (30%)
XX---


composer update ?
Go to the top of the page
+Quote Post

Posty w temacie
- wiciu010   [Symfony][SF2][Symfony2]Instalacja strony   28.04.2015, 18:57:58
- - kusiu   composer update ?   12.05.2015, 12:12:06
- - kpt_lucek   Cytat(kusiu @ 12.05.2015, 13:12:06 ) ...   14.05.2015, 19:22:44


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 10.10.2025 - 18:10