php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21493 Errormessage displayed on incorrect targeted include_once
Submitted: 2003-01-07 10:28 UTC Modified: 2003-01-07 11:45 UTC
From: eisbrenner at gid-gmbh dot de Assigned:
Status: Closed Package: Output Control
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
 [2003-01-07 10:28 UTC] eisbrenner at gid-gmbh dot de
Hi there,

and a happy new year.
sorry, my english isn't the best.

this is not really a bug - but i dont' know, where
to send this report else.

I like php very much, but in some cases, I think,
the errormessages could be better ...

i.e.:
if you miss to enter a filename in include_once()
or if you enter a pathname instead - could also be './',
the error-message is
Fatal error: input in flex scanner failed in /home/www/web124/html on line 1

I think, a message like
"the specified file in include_once() on line .... doesn't exist" ... or somethink like this.
a least there should be a pointer to the line in the
script where th error occured - as usual in most other cases of errormessages.

kindly regards

Kai Eisbrenner

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-07 11:45 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC