Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: Nie zglasza bledow...
Forum PHP.pl > Forum > Serwery WWW
Dravo
Mam taki sobie upierliwy porblem:
Gdy uruchamiam jakis skrypt zaiwrajacy blad, np. "Parse Error",Wyswietla mi sie pusta strona , ni ezglasza bledu, gdy wrzuce ten sam skrypt z tym samym beldem an jakis serw zglasz mi ten blad... Prose o pomoc. Co robic?? :?: :?:
Ned-Yoshi
Wszystkie opcje ustalasz w php.ini. Tam musisz skonfigurowac, jakie rodzaje błędów ma wyświetlać.
Ned-Yoshi
Nawet ci powiem gdzie to jest:

; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = on

; Even when display_errors is on, errors that occur during php's startup
; sequence are not displayed. It's strongly recommended to keep
; display_startup_errors off, except for when debugging.
display_startup_errors = on

; Log errors into a log file (server-specific log, stderr, or error_log (below))
; As stated above, you're strongly advised to use error logging in place of
; error displaying on production web sites.
log_errors = On

; If this parameter is set to Off, then memory leaks will not be shown (on
; stdout or in the log). This has only effect in a debug compile, and if
; error reporting includes E_WARNING in the allowed list
report_memleaks = On

; Store the last error/warning message in $php_errormsg (boolean).
track_errors = on

; Disable the inclusion of HTML tags in error messages.
;html_errors = Off


To tylko część.. przejrzyj te wszystkie opcje dokładnie smile.gif i dopasuj je do swoich potrzeb biggrin.gif
Dravo
dzieki i pozdrowienia, Wesloych swiat biggrin.gif
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.