error reporting


Posted on 16th Feb 2014 07:03 pm by admin

hey everyone

I have a production server in which I want error reporting but only on some pages

I have
ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', 'error_log.txt');
ini_set('error_reporting', E_ALL ^ E_NOTICE);
error_reporting(E_ALL);

and what not at the start, but still I see no errors...

please help

No comments posted yet

Your Answer:

Login to answer
305 Like 34 Dislike
Previous forums Next forums
Other forums

CODE NOT WORKING
Code: [Select]<?php
//include shared codes

include '../lib/common.php';
include

Fetching array then reversing it
Hi, I have a simple problem, I'll try to explain it as best I can:
News entries in my database ar

Email Script does not reach destination
Hey Guys look at this code snippet :
Code:
//read a line from the file

$myFile = "

Why use interfaces in PHP (OOP)
I am learning OOP in PHP and its been a pretty good learning experience so far. What I didn't unders

Multithreading design
Hi

I have come up with a Singleton class that manages a pool of database connections. Basical

php slowing my site?
Hi all,

I think that one of the reasons that my site doesn't work fast is that the code is ve

function not returning the correct value
I have a program that needs to return a value from a function. I have an output statement inside the

iterating through an array and escape each value independently.
I have a set up where the variable being escaped is an array and it needs to be iterated and escaped

How to generate a text file using php...?
Hi,
Can anyone give me code to generate a text file using php


Thanks in advance

UDP server recvfrom() always returns -1? :(
Hello all,
I am getting a very strange error in my code :( I am writing a server application in C

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash