Bug #65905 [Com]: [16-Oct-2013 01:19:12 Europe/Vienna] PHP Warning: Unknown: No such file or dir
| From: | spam2 at rhsoft dot net | Date: | Thu, 17 Oct 2013 05:04:02 +0000 |
| Subject: | Bug #65905 [Com]: [16-Oct-2013 01:19:12 Europe/Vienna] PHP Warning: Unknown: No such file or dir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-182323@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65905&edit=1
ID: 65905
Comment by: spam2 at rhsoft dot net
Reported by: spam2 at rhsoft dot net
Summary: [16-Oct-2013 01:19:12 Europe/Vienna] PHP Warning:
Unknown: No such file or dir
Status: Feedback
Type: Bug
Package: Scripting Engine problem
PHP Version: 5.4.20
Block user comment: N
Private report: N
New Comment:
> Not enough information was provided for us to be able to handle this bug
explain me how should i get more information?
*i need* more information from this damned error hanlder to handle *my bug* in one of 500000 files
the error-handler has in *any case* contain the information of the affected script which is
obviously thrown away - how comes that __FILE__ of the originally called script is thrown away and
the error-handler only becomes a completly useless "in unknown"
so there are two choices:
* fi the error handler / scripting language that it contains informations
* shut up the error-hanlder in cases it has nothing useful to say
the whole error-reporting is broken
give out script names or shut up at all!
https://bugs.php.net/bug.php?id=65359
https://bugs.php.net/bug.php?id=65455
Previous Comments:
------------------------------------------------------------------------
[2013-10-16 22:48:45] sixd@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Perhaps someone marked your other bug as 'spam' due to inappropriate content? I don't
know. Anyway, I think you've made your point.
If you want some PHP language change to be made, please submit a testcase so we know exactly what is
bugging you.
(If you have an application architectural issue, there are better places to resolve it than by
logging a bug)
------------------------------------------------------------------------
[2013-10-15 23:35:24] spam2 at rhsoft dot net
Description:
------------
you can call it as spam and request sample-code as often you want
*this* is fundamentally broken and if i would have a clue wich of some thousand scripts was triggred
by a smarter error message i would be able to fix it
[16-Oct-2013 01:19:12 Europe/Vienna] PHP Warning: Unknown: No such file or directory in Unknown on
line 0
PHP's whole error-handling is broken!
why? because it is *unacceptable* that the information which script was initailly called is thrown
away before the error-handler and this happens on serveral places
Expected result:
----------------
at least the full qualified path of the inital script called on the server and in this case also the
not found filename which was supplied and if you are so gently the called function too (fopen,
fwrite, file.....)
Actual result:
--------------
unknown in unknown on unknown
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65905&edit=1