Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZF] nie wyswietlaja mi sie bledy
wiewiorek
post
Post #1





Grupa: Zarejestrowani
Postów: 247
Pomógł: 11
Dołączył: 5.09.2009

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


W pliku application.ini sa wyraznie zdefiniowane regulki:
  1. [production]
  2. phpSettings.display_startup_errors = 0
  3. phpSettings.display_errors = 0
  4. includePaths.library = APPLICATION_PATH "/../library"
  5. bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
  6. bootstrap.class = "Bootstrap"
  7. appnamespace = "Application"
  8. resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
  9. resources.frontController.params.displayExceptions = 0
  10. resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
  11. resources.db.adapter = "pdo_mysql"
  12. resources.db.params.username = "root"
  13. resources.db.params.password = ""
  14. resources.db.params.dbname = "baza_ktora_nie_istnieje"
  15.  
  16. [staging : production]
  17.  
  18. [testing : production]
  19. phpSettings.display_startup_errors = 1
  20. phpSettings.display_errors = 1
  21.  
  22. [development : production]
  23. phpSettings.display_startup_errors = 1
  24. phpSettings.display_errors = 1
  25. resources.frontController.params.displayExceptions = 1


Wiec jak w sekcji [production] podalem baze - jej nazwe, ktora nie istnieje to powinien wyswietlic sie jakis komunikat bledu, a tymczasem widze na stronie tylko napis:

An error occurred
Application error


Tak jakby ZF sadzil, ze strona jest na produkcji - ktos wie o co chodzi, bo ja jestem nowy w ZF ?
Go to the top of the page
+Quote Post

Posty w temacie


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: 19.08.2025 - 05:04