ID:               44729
 User updated by:  hsbrown2 at verizon dot net
 Reported By:      hsbrown2 at verizon dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: Windows Server 2008
 PHP Version:      5.2.5
 Assigned To:      fb-req-jani
 New Comment:

After applying the latest snap
(http://snaps.php.net/win32/php5.2-win32-latest.zip) the issue
persists.

Here is the actual text from the log file:
[21-Apr-2008 19:22:06] PHP Warning:  Invalid argument supplied for
foreach() in
E:\wwwroot\components\com_comprofiler\plugin\user\plug_cbcore\cb.core.php
on line 240

You should be able to reach the phpinfo() via this link:
http://71.164.9.37/test.php

Please let me know directly via email if the link does not work, as it
is possible my ISP is blocking this. This is a test development server
and was never intended to be exposed to the Internet, however I have
unblocked port 80 for the purposes of investigating this issue.

Please note also that I would like to use an NTS build. Thread safety
is enabled on this snap.

Thank you


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

[2008-04-17 21:10:29] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

And please, use the binary distro instead of compiling yourself.
If the problem persists, please provide a live URL to the phpinfo().
Also provide the actual output in the log file.

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

[2008-04-16 02:26:23] hsbrown2 at verizon dot net

PHP Version 5.2.5 

System  Windows NT WINWEB1 6.0 build 6001  
Build Date  Nov 8 2007 23:32:05  
Configure Command  cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared" "--disable-zts"
"--disable-isapi" "--disable-activescript"  
Server API  CGI/FastCGI  
Virtual Directory Support  disabled  
Configuration File (php.ini) Path  C:\Windows  
Loaded Configuration File  C:\Windows\php.ini  
PHP API  20041225  
PHP Extension  20060613  
Zend Extension  220060519  
Debug Build  no  
Thread Safety  disabled  
Zend Memory Manager  enabled  
IPv6 Support  enabled  
Registered PHP Streams  php, file, data, http, ftp, compress.zlib,
compress.bzip2  
Registered Stream Socket Transports  tcp, udp  
Registered Stream Filters  convert.iconv.*, string.rot13,
string.toupper, string.tolower, string.strip_tags, convert.*, consumed,
zlib.*, bzip2.*  

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
 


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

PHP Credits

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

Configuration
PHP Core
Directive Local Value Master Value 
allow_call_time_pass_reference Off Off 
allow_url_fopen On On 
allow_url_include Off Off 
always_populate_raw_post_data Off Off 
arg_separator.input & & 
arg_separator.output & & 
asp_tags Off Off 
auto_append_file no value no value 
auto_globals_jit On On 
auto_prepend_file no value no value 
browscap no value no value 
default_charset no value no value 
default_mimetype text/html text/html 
define_syslog_variables Off Off 
disable_classes no value no value 
disable_functions no value no value 
display_errors Off Off 
display_startup_errors Off Off 
doc_root no value no value 
docref_ext no value no value 
docref_root no value no value 
enable_dl On On 
error_append_string no value no value 
error_log E:\wwwroot\logs\phperrors.log E:\wwwroot\logs\phperrors.log 
error_prepend_string no value no value 
error_reporting 6135 6135 
expose_php On On 
extension_dir ext ext 
file_uploads On On 
highlight.bg #FFFFFF #FFFFFF 
highlight.comment #FF8000 #FF8000 
highlight.default #0000BB #0000BB 
highlight.html #000000 #000000 
highlight.keyword #007700 #007700 
highlight.string #DD0000 #DD0000 
html_errors On On 
ignore_repeated_errors Off Off 
ignore_repeated_source Off Off 
ignore_user_abort Off Off 
implicit_flush Off Off 
include_path .;C:\php5\pear .;C:\php5\pear 
log_errors On On 
log_errors_max_len 1024 1024 
magic_quotes_gpc Off Off 
magic_quotes_runtime Off Off 
magic_quotes_sybase Off Off 
mail.force_extra_parameters no value no value 
max_execution_time 30 30 
max_input_nesting_level 64 64 
max_input_time 60 60 
memory_limit 128M 128M 
open_basedir no value no value 
output_buffering 4096 4096 
output_handler no value no value 
post_max_size 8M 8M 
precision 14 14 
realpath_cache_size 16K 16K 
realpath_cache_ttl 120 120 
register_argc_argv Off Off 
register_globals Off Off 
register_long_arrays Off Off 
report_memleaks On On 
report_zend_debug On On 
safe_mode Off Off 
safe_mode_exec_dir no value no value 
safe_mode_gid Off Off 
safe_mode_include_dir no value no value 
sendmail_from [EMAIL PROTECTED] [EMAIL PROTECTED] 
sendmail_path no value no value 
serialize_precision 100 100 
short_open_tag Off Off 
SMTP localhost localhost 
smtp_port 25 25 
sql.safe_mode Off Off 
track_errors Off Off 
unserialize_callback_func no value no value 
upload_max_filesize 5M 5M 
upload_tmp_dir E:\wwwroot\tmp E:\wwwroot\tmp 
user_dir no value no value 
variables_order GPCS GPCS 
xmlrpc_error_number 0 0 
xmlrpc_errors Off Off 
y2k_compliance On On 
zend.ze1_compatibility_mode Off Off

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

[2008-04-15 06:26:38] [EMAIL PROTECTED]

Show the top part of the phpinfo() output please.

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

[2008-04-15 05:07:37] hsbrown2 at verizon dot net

Description:
------------
On Windows Server 2008 fcgi, display_errors = Off is not respected
running PHP 5.2.5 NTS.

The php.ini is loaded. I have logging going to a file, and I can see
the errors being logged in the file.

I have a sanitized copy of my phpinfo() ready when needed.

Reproduce code:
---------------
N/A

Expected result:
----------------
I expect errors to not be displayed in the browser, but rather, logged
to the file only (it is doing both).

Actual result:
--------------
As output to Browser:

MyJSpace

Notice: Constant DS already defined in
E:\wwwroot\modules\mod_myjspace\mod_myjspace.php on line 25
Please login to create or modify your page 
ViewMJSPages

Notice: Constant _MJSEXEC already defined in
E:\wwwroot\modules\mod_viewmjspages\mod_viewmjspages.php on line 21

Notice: Constant DS already defined in
E:\wwwroot\modules\mod_viewmjspages\mod_viewmjspages.php on line 22
No pages created


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


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

Reply via email to