From:             [EMAIL PROTECTED]
Operating system: Cobalt RAQ4 Apache/Linux
PHP version:      4.3.0
PHP Bug Type:     *URL Functions
Bug description:  Warning: main(lang.php) [function.main]: failed to create stream: No 
such file 

Warning: main(lang.php) [function.main]: failed to create stream: No such
file or directory in /home/sites/site2/web/IV/config.php on line 97

Just upraded to 4.3.0 from 4.1.2 
Issue involves the following:

Same server
Two (2) seperate virtual domains
Scripts worked find before upgrade.

I am running a local php script located at 
/home/sites/site3/web/powerpage.php 

powerpage.php has a line that does a require_once to a remote file
config.php located on (same server) located at 
/home/sites/site2/web/IV/config.php

Sample:
require_once ("/home/sites/site2/web/IV/config.php");
langtop();

The followng errors occur when I now try to run this local script 
Warning: main(lang.php) [function.main]: failed to create stream: No such
file or directory in /home/sites/site2/web/IV/config.php on line 97

Warning: main() [function.main]: Failed opening 'lang.php' for inclusion
(include_path='') in /home/sites/site2/web/IV/config.php on line 97

Warning: main(extras.php) [function.main]: failed to create stream: No
such file or directory in /home/sites/site2/web/IV/config.php on line 98

Warning: main() [function.main]: Failed opening 'extras.php' for inclusion
(include_path='') in /home/sites/site2/web/IV/config.php on line 98

Fatal error: Call to undefined function: langtop() in
/home/sites/site3/web/powerpage.php on line 3

Problem: The file does exist
-- 
Edit bug report at http://bugs.php.net/?id=21674&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21674&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21674&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21674&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21674&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21674&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21674&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21674&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21674&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21674&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21674&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21674&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21674&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21674&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21674&r=gnused

Reply via email to