fehlermeldungengute

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • fehlermeldungengute

    guden tach,
    hab mir den lampp 1.0 installiert und habe jetz angefangen an einer sache zu arbeiten aber ich bekomme gar keine fehlermeldungen, also doch schon, aber nur nur parse error's
    in meiner php.ini steht 'error_reporting = E_ALL' aber ich bekomme trotzdem nich alle meldungen


  • #2
    welche meldungen fehlen dir denn z.b.?

    und poste mal das stückchen aus deiner php.ini.....
    INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


    Kommentar


    • #3
      Code:
      ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      ; Error handling and logging ;
      ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      
      ; error_reporting is a bit-field.  Or each number up to get desired error
      ; reporting level
      ; E_ALL             - All errors and warnings
      ; E_ERROR           - fatal run-time errors
      ; E_WARNING         - run-time warnings (non-fatal errors)
      ; E_PARSE           - compile-time parse errors
      ; E_NOTICE          - run-time notices (these are warnings which often result
      ;                     from a bug in your code, but it's possible that it was
      ;                     intentional (e.g., using an uninitialized variable and
      ;                     relying on the fact it's automatically initialized to an
      ;                     empty string)
      ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
      ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      ;                     initial startup
      ; E_COMPILE_ERROR   - fatal compile-time errors
      ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      ; E_USER_ERROR      - user-generated error message
      ; E_USER_WARNING    - user-generated warning message
      ; E_USER_NOTICE     - user-generated notice message
      ;
      ; Examples:
      ;
      ;   - Show all errors, except for notices
      ;
      ;error_reporting = E_ALL & ~E_NOTICE
      ;
      ;   - Show only errors
      ;
      ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
      ;
      ;   - Show all errors except for notices
      ;
      error_reporting  =  E_ALL
      
      ; 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 = Off
      
      ; 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 = Off
      
      ; Set maximum length of log_errors. In error_log information about the source is
      ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      log_errors_max_len = 1024
      
      ; Do not log repeated messages. Repeated errors must occur in same file on same
      ; line until ignore_repeated_source is set true.
      ignore_repeated_errors = Off
      
      ; Ignore source of message when ignoring repeated messages. When this setting
      ; is On you will not log errors with repeated messages from different files or
      ; sourcelines.
      ignore_repeated_source = Off
      
      ; Store the last error/warning message in $php_errormsg (boolean).
      track_errors = Off
      
      ; Disable the inclusion of HTML tags in error messages.
      ;html_errors = Off
      
      ; String to output before an error message.
      ;error_prepend_string = "<font color=ff0000>"
      
      ; String to output after an error message.
      ;error_append_string = "</font>"
      
      ; Log errors to specified file.
      ;error_log = filename
      
      ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
      ;error_log = syslog
      
      ; Warn if the + operator is used with strings.
      warn_plus_overloading = Off
      um das auszuprobieren hab ich einfach mal einen nichtvorhanden befehl, zb fdsfsdsf (ohne ; am ende) gemacht, keine meldung. wenn ich am ende ?> weglasse -> keine meldung, zugriff auf eine nichtvorhande variable -> keine meldung

      Kommentar


      • #4
        die zeile:
        Code:
        error_reporting = E_ALL
        muss in die Zeile geändert werden:
        Code:
        error_reporting = E_ALL & ~E_NOTICE
        *winks*
        Gilbert
        ------------------------------------------------
        Hilfe für eine Vielzahl von Problemen!!!
        http://www.1st-rootserver.de/

        Kommentar


        • #5
          mhm. eigneltich sollte es klappen.

          mache mal
          PHP-Code:
          echo $meinetestvar;
          echo 
          functiontest(); 
          was passiert denn da?
          INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


          Kommentar


          • #6
            Original geschrieben von Wotan
            muss in die Zeile geändert werden:
            Code:
            error_reporting = E_ALL & ~E_NOTICE
            papperlapapp. dann sieht der die notices ja nicht mehr...
            INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


            Kommentar


            • #7
              @Realmaker
              nach den änderungen hast du aber schon den apache neu gestartet?
              INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


              Kommentar


              • #8
                Sorry, war der Meinung das wir das auf meiner Testmaschine mit E_Notice eingestellt hatten.
                *winks*
                Gilbert
                ------------------------------------------------
                Hilfe für eine Vielzahl von Problemen!!!
                http://www.1st-rootserver.de/

                Kommentar


                • #9
                  OffTopic:
                  @Wotan
                  wenn dann aber ohne der tilde.
                  und ausserdem hast du meine php.ini bekommen...
                  und da ist es wie oben beschrieben
                  INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                  Kommentar


                  • #10
                    OffTopic:
                    @Abraxax
                    Ich halt auch wieder den Kopf an dem Monitor.
                    Sorry, wiegesagt das ich mich vertan habe. Aber mir war halt so.

                    *winks*
                    Gilbert
                    ------------------------------------------------
                    Hilfe für eine Vielzahl von Problemen!!!
                    http://www.1st-rootserver.de/

                    Kommentar


                    • #11
                      OffTopic:
                      presse deinen kopf aber ganz feste gegen den schirm. dann brauche ich nicht ganz so feste hauen...


                      @Realmaker
                      vor lauter OT .... hast du dein problem lösen können?
                      INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                      Kommentar


                      • #12
                        wäh, hab schon n schrecken bekommen als ich gesehen hab das das auf einmal 2 seiten sind..

                        also wenn echo $meinevar; und $echo testfunktion; bekomm ich nur für das erste eine fehlermeldung wenn ich E_ALL einstelle, wenn ich dann ein & E_NOTICE ranhänge und neustarte bekomme ich gar keine meldung mehr

                        Kommentar


                        • #13
                          und wie bitte sieht die meldung aus?

                          das & E_NOTICE lasse mal weg. was genau kommen denn für ausgaben?

                          das sind meine ausgaben dabei.
                          Code:
                          Notice: Undefined variable: meinetestvar in *ZENSUR*/dummy.php on line 2
                          
                          Fatal error: Call to undefined function: functiontest() in *ZENSUR*/dummy.php on line 3
                          und das ist der teil aus meiner php.ini (linux: sollte aber keine rollte spielen)
                          Code:
                          ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                          ; Error handling and logging ;
                          ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                          
                          ; error_reporting is a bit-field.  Or each number up to get desired error
                          ; reporting level
                          ; E_ALL             - All errors and warnings
                          ; E_ERROR           - fatal run-time errors
                          ; E_WARNING         - run-time warnings (non-fatal errors)
                          ; E_PARSE           - compile-time parse errors
                          ; E_NOTICE          - run-time notices (these are warnings which often result
                          ;                     from a bug in your code, but it's possible that it was
                          ;                     intentional (e.g., using an uninitialized variable and
                          ;                     relying on the fact it's automatically initialized to an
                          ;                     empty string)
                          ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
                          ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
                          ;                     initial startup
                          ; E_COMPILE_ERROR   - fatal compile-time errors
                          ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
                          ; E_USER_ERROR      - user-generated error message
                          ; E_USER_WARNING    - user-generated warning message
                          ; E_USER_NOTICE     - user-generated notice message
                          ;
                          ; Examples:
                          ;
                          ;   - Show all errors, except for notices
                          ;
                          ;error_reporting = E_ALL & ~E_NOTICE
                          ;
                          ;   - Show only errors
                          ;
                          ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
                          ;
                          ;   - Show all errors except for notices
                          ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
                          ;
                          ;   - Show all errors except for notices
                          ;
                          ;error_reporting  =  E_ALL & ~E_NOTICE
                          error_reporting  =  E_ALL
                          
                          ; 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 = Off
                          
                          ; 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 = Off
                          
                          ; Store the last error/warning message in $php_errormsg (boolean).
                          track_errors = Off
                          
                          ; Disable the inclusion of HTML tags in error messages.
                          ;html_errors = Off
                            
                          ; String to output before an error message.
                          ;error_prepend_string = "<font color=ff0000>"
                          
                          ; String to output after an error message.
                          ;error_append_string = "</font>"
                          
                          ; Log errors to specified file.
                          ;error_log = filename
                          
                          ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
                          ;error_log = syslog
                          
                          ; Warn if the + operator is used with strings.
                          warn_plus_overloading = Off
                          INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                          Kommentar


                          • #14
                            hm, jetz geht's

                            Kommentar


                            • #15
                              was hast du gemacht?
                              INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                              Kommentar

                              Lädt...
                              X