Results 1 to 8 of 8
  1. #1

    Default Error log disabling?

    How do i disable error log and enable only when needed?

  2. #2
    Senior Member/Coder pani100's Avatar
    Join Date
    May 2011
    Location
    London
    Posts
    1,135

    Default

    Hi skyhigh,
    in includes/common.inc.php
    right at the top

    session_start();
    //$error_reporting = E_ALL^E_NOTICE;//enable to remove Undifined errors
    $error_reporting = E_ALL; // use this for debugging

    Enable which one you want and disable the other.
    If you want to log no messages at all: $error_reporting = 0;

  3. #3

    Default

    didnt work got error in my header

  4. #4
    Super Moderator/Coder/Designer nay27uk's Avatar
    Join Date
    Nov 2009
    Location
    Leicester, UK
    Posts
    3,071

    Default

    just disable both so

    $error_reporting = E_ALL^E_NOTICE;//enable to remove Undifined errors
    $error_reporting = E_ALL; // use this for debugging

    beocomes

    //$error_reporting = E_ALL^E_NOTICE;//enable to remove Undifined errors
    //$error_reporting = E_ALL; // use this for debugging

  5. #5

    Default

    didnt work

  6. #6
    Super Moderator/Coder/Designer nay27uk's Avatar
    Join Date
    Nov 2009
    Location
    Leicester, UK
    Posts
    3,071

    Default

    Not ghot a clue then how webid fills it's error log as far as I know disabling those lines should stop it.
    Try what I said above then delete the error.log from the logs folder
    Last edited by nay27uk; 28-04-2012 at 09:39 AM.

  7. #7
    Senior Member/Coder/Designer
    Join Date
    Dec 2009
    Posts
    914

    Default

    Disable error log ??
    who want´s running buggy system ?
    except something caused by my own coding of template.
    resulting in couple of error messages
    my log is = Error log is currently empty
    signatures are for idiots

  8. #8
    Super Moderator/Coder/Designer nay27uk's Avatar
    Join Date
    Nov 2009
    Location
    Leicester, UK
    Posts
    3,071

    Default

    I agree dahl but each to his own

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •