php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66168 Double-Logging
Submitted: 2013-11-25 17:18 UTC Modified: -
From: spam2 at rhsoft dot net Assigned:
Status: Open Package: Scripting Engine problem
PHP Version: 5.5.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
45 - 4 = ?
Subscribe to this entry?

 
 [2013-11-25 17:18 UTC] spam2 at rhsoft dot net
Description:
------------
while way too much code path in PHP are triggering unhelpful "unknown on unknown in unknown" other things are trigger double-reporting

[25-Nov-2013 18:09:21 Europe/Vienna] PHP Warning:  include(/www/default/modules/formmailer.php) [<a href='http://at.php.net/manual/de/function.include.php'>function.include.php</a>]: failed to open stream: No such file or directory in /www/default/functions.inc.php on line 831
[25-Nov-2013 18:09:21 Europe/Vienna] PHP Warning:  include() [<a href='http://at.php.net/manual/de/function.include.php'>function.include.php</a>]: Failed opening '/www/default/modules/formmailer.php' for inclusion (include_path='.:/Volumes/dune/www-servers/phpincludes:/usr/share/pear:/usr/share/php:/www/default/php:/www/default/php/pear') in /www/default/functions.inc.php on line 831


Test script:
---------------
php -r "include('hm.php');"



Expected result:
----------------
Warning: include(hm.php): failed to open stream: No such file or directory in Command line code on line 1

Actual result:
--------------
Warning: include(hm.php): failed to open stream: No such file or directory in Command line code on line 1

Warning: include(): Failed opening 'hm.php' for inclusion (include_path='.:/Volumes/dune/www-servers/phpincludes:/usr/share/pear:/usr/share/php') in Command line code on line 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 18:01:30 2024 UTC