#21046 [Fbk->Opn]: alexweb@satoridesign.com

From: Date: Tue, 17 Dec 2002 02:23:36 +0000
Subject: #21046 [Fbk->Opn]: alexweb@satoridesign.com
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27915@lists.php.net to get a copy of this message
 ID:               21046
 User updated by:  alexweb@satoridesign.com
 Reported By:      alexweb@satoridesign.com
-Status:           Feedback
+Status:           Open
 Bug Type:         Output Control
 Operating System: linux
-PHP Version:      4.3.0RC2
+PHP Version:      4.3.0RC3
 New Comment:

Errors are being logged to the Apache webserver error log for the
website. 

We just upgraded to 4.3.0RC3 (CGI version) and the problem still
occurs. 

We're using the recommended php.ini file that came with 4.3.0RC3
source.  Running Redhat 6.x, Apache 1.3.2x
display_errors = Off, log_errors = On


Previous Comments:
------------------------------------------------------------------------

[2002-12-16 17:18:31] iliaa@php.net

What error loging mechanism are you usingl: syslog, file, something
else?

------------------------------------------------------------------------

[2002-12-16 13:35:09] alexweb@satoridesign.com

oops, sorry, that should read: 

Could not set cookie, log errs on, display_errs off

------------------------------------------------------------------------

[2002-12-16 13:34:39] alexweb@satoridesign.com

oops, sorry, that should read:

------------------------------------------------------------------------

[2002-12-16 11:23:35] alexweb@satoridesign.com

phpinfo() reports that display_errors is off.  Running the script that
msopacua@php.net suggested produces the output:

Could not set cookie, log errs on, display_errs 

Also, php is running as a cgi binary.

------------------------------------------------------------------------

[2002-12-16 10:36:50] msopacua@php.net

Could you try this version instead, and report the output?

<?
error_reporting(E_ALL);
if (!$undefinedVariable) {
if (setcookie ("code","123456")) {
print "Cookie set, ";
} else {
print "Could not set cookie, ";
}
}
print (ini_get('log_errors')) ? 'log errs on, ' : 'log errs off';
print (ini_get('display_errors')) ? 'display errs on' : 'display_errs
off';
?>

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21046

-- 
Edit this bug report at http://bugs.php.net/?id=21046&edit=1



Thread (10 messages)

« previous php.bugs (#27915) next »