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,306

    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,308

    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,308

    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
    1,107

    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
    LEGAL WARNING!
    All code i am sharing here.

    You may not redistribute, sell, or give away my code or part of my code.
    Use of my code in any script other than WeBid is forbidden.

    Use of my code in any script other than WeBid or use of it in any script that is a clone of WeBid or in any script that you are selling or giving away requires my full written permission and will be liable to a UK £1.00 royalty charge for every copy of the script you redistribute, sell, give away or use.

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

    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
  •