Bluehost.com Web Hosting $6.95

Help! the Error_Reporting doesn't work

This is a discussion on Help! the Error_Reporting doesn't work within the PHP General forums, part of the PHP Programming Forums category; I have set the PHP.INI as follow: error_reporting = E_ALL & ~E_NOTICE display_errors = On display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-25-2003
Luckyeagle
 
Posts: n/a
Default Help! the Error_Reporting doesn't work

I have set the PHP.INI as follow:

error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off

But it doesn't work
How can i solve it?

Thanks a lot
Reply With Quote
  #2 (permalink)  
Old 09-25-2003
Shawn McKenzie
 
Posts: n/a
Default Re: Help! the Error_Reporting doesn't work

What do you mean "it doesn't work"? It doesn't display errors? How do you
know that you have errors? Are you running your own script or someone
else's?

-Shawn

"Luckyeagle" <luckyeagle1017@21cn.com> wrote in message
news:20030925092631.31697.qmail@pb1.pair.com...
> I have set the PHP.INI as follow:
>
> error_reporting = E_ALL & ~E_NOTICE
> display_errors = On
> display_startup_errors = Off
> log_errors = On
> log_errors_max_len = 1024
> ignore_repeated_errors = Off
> ignore_repeated_source = Off
> report_memleaks = On
> track_errors = Off
>
> But it doesn't work
> How can i solve it?
>
> Thanks a lot

Reply With Quote
  #3 (permalink)  
Old 09-26-2003
Curt Zirzow
 
Posts: n/a
Default Re: [PHP] Re: Help! the Error_Reporting doesn't work

* Thus wrote Raquel Rice (raquel@thericehouse.net):
> On Thu, 25 Sep 2003 08:32:03 -0500
> "Shawn McKenzie" <nospam@mckenzies.net> wrote:
>
> > "Luckyeagle" <luckyeagle1017@21cn.com> wrote in message
> > news:20030925092631.31697.qmail@pb1.pair.com...
> > > I have set the PHP.INI as follow:
> > >
> > > error_reporting = E_ALL & ~E_NOTICE
> > > display_errors = On
> > > display_startup_errors = Off
> > > log_errors = On
> > > log_errors_max_len = 1024
> > > ignore_repeated_errors = Off
> > > ignore_repeated_source = Off
> > > report_memleaks = On
> > > track_errors = Off
> > >
> > > But it doesn't work
> > > How can i solve it?
> > >
> > > Thanks a lot

> >
> > What do you mean "it doesn't work"? It doesn't display errors?
> > How do you know that you have errors? Are you running your own
> > script or someone else's?
> >
> > -Shawn
> >

>
> AND ... where is the logfile indicated? Does the script have access
> (read/write) to the logfile?
>


AND.. is php even using that file your modifying?


Curt
--
"I used to think I was indecisive, but now I'm not so sure."
Reply With Quote
  #4 (permalink)  
Old 09-26-2003
Luckyeagle
 
Posts: n/a
Default Re: Help! the Error_Reporting doesn't work

I write some PHP files including some errors
When it runs on another server,it will display "notice",but on my
computer,it won't.
"Luckyeagle" <luckyeagle1017@21cn.com> дÈëÓʼþ
news:20030925092631.31697.qmail@pb1.pair.com...
> I have set the PHP.INI as follow:
>
> error_reporting = E_ALL & ~E_NOTICE
> display_errors = On
> display_startup_errors = Off
> log_errors = On
> log_errors_max_len = 1024
> ignore_repeated_errors = Off
> ignore_repeated_source = Off
> report_memleaks = On
> track_errors = Off
>
> But it doesn't work
> How can i solve it?
>
> Thanks a lot

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0