Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6236 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92351 invoked by uid 1010); 5 Dec 2003 16:20:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92251 invoked from network); 5 Dec 2003 16:20:44 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 5 Dec 2003 16:20:44 -0000 Received: (qmail 8006 invoked from network); 5 Dec 2003 16:20:38 -0000 Received: from localhost (HELO andi-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 5 Dec 2003 16:20:38 -0000 Message-ID: <5.1.0.14.2.20031205180324.02ab16a8@127.0.0.1> X-Sender: andi@127.0.0.1 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 05 Dec 2003 18:04:42 +0200 To: Sebastian Bergmann ,internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] include/require b0rked in HEAD From: andi@zend.com (Andi Gutmans) I'm on a short vacation right now. Can you try and take a look (maybe with the help of Wez who knows this code quite well) and see what the problem is. I definitely tested it a few months ago when I wrote this patch (it fixes include_once()/require_once() on Windows). I suspect it's just something small which is breaking things. If you guys don't figure it, drop me a line of what you found and I'll take a look on Monday. Andi At 10:28 AM 12/5/2003 +0100, Sebastian Bergmann wrote: > 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/ > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php