From: [EMAIL PROTECTED] Operating system: all PHP version: 4.3.0 PHP Bug Type: Unknown/Other Function Bug description: include 'bogus' gives unfriendly error
<?php include 'foo' ?> Warning: main(foo) [function.main]: failed to create stream: No such file or directory in... Warning: main() [function.main]: Failed opening 'foo' for inclusion (include_path='.') in... Basically, this error could be a little nicer and in the very least link to function.include and not a non-existent function.main. This is the case with all the include/require constructs. -- Edit bug report at http://bugs.php.net/?id=21499&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21499&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21499&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21499&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21499&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21499&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21499&r=support Expected behavior: http://bugs.php.net/fix.php?id=21499&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21499&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21499&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21499&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21499&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21499&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21499&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21499&r=gnused