#21699 [NEW]: include() fails
| From: | phpbugreport at snowprods dot com | Date: | Fri, 17 Jan 2003 00:29:39 +0000 |
| Subject: | #21699 [NEW]: include() fails | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30313@lists.php.net to get a copy of this message | ||
From: phpbugreport@snowprods.com
Operating system: XP Pro, SP1
PHP version: 4.3.0
PHP Bug Type: Scripting Engine problem
Bug description: include() fails
XP PRO, SP1
Apache 2.0.43
mySQL 3.23.54
PHP 4.3.0
-------------
When attempting to use include() as in the following:
include $DOCUMENT_ROOT."/php_includes/pagetimer_start.php";
or
include ($DOCUMENT_ROOT."/php_includes/pagetimer_start.php");
I get the following errors:
-------------
Warning: main(/php_includes/pagetimer_start.php) [function.main]: failed
to create stream: No such file or directory in Z:\htdocs\contact.php on
line 3
Warning: main() [function.main]: Failed opening
'/php_includes/pagetimer_start.php' for inclusion
(include_path='.;c:\php4\pear') in Z:\htdocs\contact.php on line 3
-------------
This works on my live site, not sure of the config, without errors.
I have searched every corner of my dusty little web and can find nothing
to indicate that this shouldn't work. Is this truly a bug or am I just
missing something?
--
Edit bug report at http://bugs.php.net/?id=21699&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21699&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21699&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21699&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21699&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21699&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21699&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21699&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21699&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21699&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21699&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21699&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21699&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21699&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21699&r=gnused