Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [Symfony][SF2][Symfony2] 500 po upload na produkcje, Logi błędów
Forti
post
Post #1





Grupa: Zarejestrowani
Postów: 655
Pomógł: 73
Dołączył: 2.05.2014

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


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?


--------------------
Overwatch24 - najbardziej zaawansowany Polski portal Overwatch od fanów dla fanów.

Fachowo.co

Behance.net/fachowo
Go to the top of the page
+Quote Post
by_ikar
post
Post #2





Grupa: Zarejestrowani
Postów: 1 798
Pomógł: 307
Dołączył: 13.05.2009
Skąd: Gubin/Wrocław

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


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).
Go to the top of the page
+Quote Post
sazian
post
Post #3





Grupa: Zarejestrowani
Postów: 1 045
Pomógł: 141
Dołączył: 19.09.2006
Skąd: B-tów

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


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 ?
Go to the top of the page
+Quote Post
Forti
post
Post #4





Grupa: Zarejestrowani
Postów: 655
Pomógł: 73
Dołączył: 2.05.2014

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


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 ;]


--------------------
Overwatch24 - najbardziej zaawansowany Polski portal Overwatch od fanów dla fanów.

Fachowo.co

Behance.net/fachowo
Go to the top of the page
+Quote Post
by_ikar
post
Post #5





Grupa: Zarejestrowani
Postów: 1 798
Pomógł: 307
Dołączył: 13.05.2009
Skąd: Gubin/Wrocław

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


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.

Ten post edytował by_ikar 12.11.2014, 19:55:40
Go to the top of the page
+Quote Post
ikssde
post
Post #6





Grupa: Zarejestrowani
Postów: 217
Pomógł: 40
Dołączył: 20.08.2008

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


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.
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 20.08.2025 - 05:54