Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99494 invoked by uid 1010); 5 Dec 2003 09:28:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99470 invoked from network); 5 Dec 2003 09:28:08 -0000 Received: from unknown (HELO mail.de-punkt.de) (62.4.81.205) by pb1.pair.com with SMTP; 5 Dec 2003 09:28:08 -0000 Received: (qmail 3809 invoked by uid 508); 5 Dec 2003 09:28:07 -0000 Received: from sb@sebastian-bergmann.de by webby by uid 511 with qmail-scanner-1.16 (f-prot: 3.12. spamassassin: 2.60. Clear:. Processed in 0.324364 secs); 05 Dec 2003 09:28:07 -0000 Received: from unknown (HELO wopr) (sb@de-punkt.de@80.142.35.84) by webby.de-punkt.de with SMTP; 5 Dec 2003 09:28:06 -0000 Received: from wopr [127.0.0.1] by wopr (192.168.2.100) (userid 19) with Hamster-NewsToMail-Gate (Classic Hamster Version 2.0 Build 2.0.2.2) ; Fri, 05 Dec 2003 10:28:01 +0100 Date: Fri, 05 Dec 2003 10:28:00 +0100 Organization: www.sebastian-bergmann.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en To: internals@lists.php.net Sender: admin Lines: 26 X-Qmail-Scanner-Message-ID: <10706164875263800@webby> Subject: include/require b0rked in HEAD From: sebastian@php.net (Sebastian Bergmann) Message-ID: Even after Wez's fix yesterday the new TSRM code recently enabled by Andi causes phpMyAdmin to fail on Windows. phpMyAdmin/index.php has these require() calls: require('./libraries/grab_globals.lib.php'); require('./libraries/common.lib.php'); This results in Warning: main(./libraries/grab_globals.lib.php) [function.main]: failed to open stream: No error in C:\Server\htdocs\phpMyAdmin\index.php on line 9 Fatal error: main() [function.require]: Failed opening required './libraries/grab_globals.lib.php' (include_path='.;c:\server\htdocs\pear\pear') in C:\Server\htdocs\phpMyAdmin\index.php on line 9 Removing the './' from the start of the filepath makes the require() calls succeed. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/