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

 ID:               51307
 User updated by:  joerg dot klein at ifsam dot lu
 Reported by:      joerg dot klein at ifsam dot lu
 Summary:          php.exe error on command line
 Status:           Open
 Type:             Bug
 Package:          Unknown/Other Function
 Operating System: Windows Server 2003
 PHP Version:      5.3.2

 New Comment:

as I stated above: Ignore the runtime errors, I have reduced the code as
much as possible to track down the problem.



With the correct and complete source code, the same error occurs.


Previous Comments:
------------------------------------------------------------------------
[2010-03-16 15:43:36] joerg dot klein at ifsam dot lu

I wasn't referering to a specific line. I removed step-by-step all lines
which produces no error.



I tried to reproduce a one file script without success.

I think the error depends on including files and the length of the
filenames/Directories. When I shorten the dir- or the filename, the
error is gone.

------------------------------------------------------------------------
[2010-03-16 15:39:31] paj...@php.net

btw, try to fix your code while being at it:



Warning: in_array() expects parameter 2 to be array, null given in
C:\test\51307\error_handler.php on line 31



Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in
C:\test\51307\error_handler.php on line 39



Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in
C:\test\51307\error_handler.php on line 55



Warning: mail(): "sendmail_from" not set in php.ini or custom "From:"
header missing in C:\test\51307\error_handler.php on line 116



Warning: in_array() expects parameter 2 to be array, null given in
C:\test\51307\error_handler.php on line 119

<font color="red"><b>Error</b>: Use of undefined constant require_path -
assumed 'require_path' in <b>C:\test\51307\conf.php</b> on line
<b>2</b><br></font><br>

------------------------------------------------------------------------
[2010-03-16 15:33:06] paj...@php.net

Not sure what's wrong.



Which line are you referering to in your initial comment?



Please try to create a one file script to reproduce the error.

------------------------------------------------------------------------
[2010-03-16 15:24:17] joerg dot klein at ifsam dot lu

they were attached as patch already

------------------------------------------------------------------------
[2010-03-16 15:21:35] paj...@php.net

Still need the other two outputs :)

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


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/bug.php?id=51307


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

Reply via email to