php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65905 [16-Oct-2013 01:19:12 Europe/Vienna] PHP Warning: Unknown: No such file or dir
Submitted: 2013-10-15 23:35 UTC Modified: 2013-10-24 04:05 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: spam2 at rhsoft dot net Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5.4.20 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-10-15 23:35 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-16 22:48 UTC] sixd@php.net
-Status: Open +Status: Feedback
 [2013-10-16 22:48 UTC] 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-17 05:04 UTC] spam2 at rhsoft dot net
> 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
 [2013-10-24 04:05 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2013-10-24 06:57 UTC] spam2 at rhsoft dot net
WHAT FEEDBACK?

do you guys really not realize that the problem is the lacking knowledge of the involved script and so if i could give fedback the problem would not exist?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC