Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [symfony] brak dostępu do katalogów cache i logs
slimocb
post
Post #1





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 8.09.2011

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


Witam

Mój problem polega na tym, że Symfony nie może uzyskać dostępu do folderów cache i logs w folderze app. Symfony/web/config.php wypisuje mi takie coś

Kod
2 MAJOR PROBLEMS
Major problems have been detected and must be fixed before continuing :
Change the permissions of the "app/cache/" directory so that the web server can write into it.
Change the permissions of the "app/logs/" directory so that the web server can write into it.


po wejściu w Symfony/web/app_dev.php dostaje komunikat

Kod
RuntimeException: Unable to create the cache directory (/var/www/html/Symfony/app/cache/dev)
in /var/www/html/Symfony/app/bootstrap.php.cache line 838
at Kernel->buildContainer() in /var/www/html/Symfony/app/bootstrap.php.cache line 779
at Kernel->initializeContainer() in /var/www/html/Symfony/app/bootstrap.php.cache line 513
at Kernel->boot() in /var/www/html/Symfony/app/bootstrap.php.cache line 544
at Kernel->handle() in /var/www/html/Symfony/web/app_dev.php line 24


Wszystkie podane foldery, które są wymagane mają nadane prawa 777. Dodam jeszcze, że używam najnowszej Fedory a wersja Symfony to 2.0.12. Gdyby ktoś miał pomysł jak rozwiązać problem byłbym wdzięczny.

Ten post edytował slimocb 29.03.2012, 16:26:02
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
g0ther
post
Post #2





Grupa: Zarejestrowani
Postów: 17
Pomógł: 2
Dołączył: 25.08.2010

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


A jaki użytkownik jest właścicielem tych folderów?
Go to the top of the page
+Quote Post
slimocb
post
Post #3





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 8.09.2011

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


Próbowałem i na siebie "slimocb" i na root'a , efekt ten sam
Go to the top of the page
+Quote Post
usb2.0
post
Post #4





Grupa: Zarejestrowani
Postów: 341
Pomógł: 25
Dołączył: 28.09.2008
Skąd: Lublin

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


http://symfony.com/doc/current/book/instal...ation-and-setup
Go to the top of the page
+Quote Post

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: 24.08.2025 - 23:02