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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: spam2 at rhsoft dot net
New email:
PHP Version: OS:

 

 [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-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 04:01:23 2020 UTC