FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » display_errors stdout not working in a .htaccess file
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: display_errors stdout not working in a .htaccess file [message #170600 is a reply to message #170579] Tue, 09 November 2010 19:40 Go to previous messageGo to previous message
Thomas Mlynarczyk is currently offline  Thomas Mlynarczyk
Messages: 131
Registered: September 2010
Karma:
Senior Member
Jim Wigginton schrieb:

>> // Does this produce error output?
>> ini_set( 'display_errors', 1 );
>> error_reporting( E_ALL | E_STRICT );
>> echo $noSuchVar;
>
> That does indeed yield an error.

So it's not an "output problem" but a config problem.

[display_errors]
> The local value is on wheras the master value is off.

Then there should be error output, unless error_reporting "forbids" it
(see farther below). (Very stupid question: are you *sure* that an error
is indeed produced? What happens if you remove either one or both of the
the ini_set() and error_reporting() lines in my above test code?)

[error_reporting]
> Local value is 0, master value is 30711.

That means somewhere the error_reporting was switched off. Could have
been either via another .htaccess/httpd.conf setting or by an
error_reporting( 0 ) somewhere in your code (an included script/library
perhaps).

> The server API is "Apache 2.0 Handler". I assume that's an Apache
> module.

Yes.

Greetings,
Thomas

--
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: freelancer looking for web-development projects
Next Topic: ANNOUNCE: NHI1-0.9, PLMK-1.7 und libmsgque-4.7
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 14:36:27 GMT 2024

Total time taken to generate the page: 0.05618 seconds