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: Feedback
+Status: Open
Type: Bug
Package: Unknown/Other Function
Operating System: Windows Server 2003
PHP Version: 5.3.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2010-03-16 15:39:31] pajoye@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] pajoye@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] pajoye@php.net
Still need the other two outputs :)
------------------------------------------------------------------------
[2010-03-16 15:19:10] joerg dot klein at ifsam dot lu
you can find the php -i output here:
http://ifsam.net/php_i.txt
your parser detects it as "text/x-pascal" ;)
------------------------------------------------------------------------
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