Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [Symfony][SF2][Symfony2] 500 po upload na produkcje
Forum PHP.pl > Forum > PHP > Frameworki
Forti
Logi z apache:

[Tue Nov 11 17:24:48 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Nov 11 17:24:48 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Nov 11 17:24:49 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Nov 11 17:24:49 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Nov 11 17:24:51 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Nov 11 17:24:51 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Nov 11 17:24:54 2014] [error] [client 185.18.140.218] Directory index forbidden by Options directive: /home/forti/domains/arturs.pl/public_html/
[Tue Nov 11 17:24:54 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Nov 11 17:25:05 2014] [error] [client 185.18.140.218] Directory index forbidden by Options directive: /home/forti/domains/arturs.pl/public_html/
[Tue Nov 11 17:25:05 2014] [error] [client 185.18.140.218] Request exceeded the limit of 50 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.



Logi z app/prod.log:

[2014-11-11 18:08:08] request.INFO: Matched route "start" (parameters: "_controller": "Arturs\PageBundle\Controller\BlogController::indexAction", "page": "1", "_route": "start") [] []

[2014-11-11 18:08:08] security.INFO: Populated SecurityContext with an anonymous Token [] []

[2014-11-11 18:08:08] request.CRITICAL: Uncaught PHP Exception PDOException: "SQLSTATE[28000] [1045] Access denied for user 'root'@'10.0.0.18' (using password: NO)" at /home/forti/domains/arturs.pl/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 40 {"exception":"[object] (PDOException: SQLSTATE[28000] [1045] Access denied for user 'root'@'10.0.0.18' (using password: NO) at /home/forti/domains/arturs.pl/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40)"} []

[2014-11-11 18:08:08] security.DEBUG: Write SecurityContext in the session [] []


Najdziwniejsze jest połączenie z bazą, ponieważ dane, hasło, user itp. są prawidłowo skonfigurowane (jestem tego pewien na 100% więc proszę się o to nie pytać). Już nie wiem gdzie szukać problemu ;] W logach z apache już nic nie dopisuje. Folderu cache puste, uprawnienia nadane. Nie wiem gdzie szukać jeszcze problemu hm.. ;] trenuje już z 2-3 godzinki, na stackoverflow nic nie znalazłem co by mi pomogło.

Gdzie jeszcze szukać logów?
by_ikar
Czy połączenie z bazą działa, wystarczy zrobić jakieś testowe połączenie, nawet z funkcji mysql_connect (a zapewne wynik będzie taki sam - błąd).
sazian
Cytat(Forti @ 11.11.2014, 18:16:20 ) *
Najdziwniejsze jest połączenie z bazą, ponieważ dane, hasło, user itp. są prawidłowo skonfigurowane (jestem tego pewien na 100% więc proszę się o to nie pytać).

Cytat
Access denied for user 'root'@'10.0.0.18' (using password: NO)


jesteś pewien ?
Forti
tak, jestem pewien. Na innej subdomenie, z laravel wszystko działa. Zrobiłem test na tej domenie, również działa. Lokalnie te pliki działają. Dane są poprawna - a na pewno inne niż root@10.0.0.18 ;]
by_ikar
No to może w ustawieniach połączenia jest wskazany tylko jeden zasób, zamiast kilku, przez co tylko pod jedną domeną działa. Przykładowo wrzuć tego symfony do jakiegoś podkatalogu tej innej domeny gdzie połączenie działa.
ikssde
Czy możesz pokazać pliki z konfiguracją z Symfony? W szczególności config.yml, parameters.yml i jeśli posiadasz to config_dev.yml, config_prod.yml. Oczywiście dane do bazy danych podmień na jakieś nieprawdziwe.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.