ID:               21674
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         *URL Functions
 Operating System: Cobalt RAQ4 Apache/Linux
 PHP Version:      4.3.0
 New Comment:

The script worked like a charm prior to upgrade to php 4.3.0


Previous Comments:
------------------------------------------------------------------------

[2003-01-15 23:27:01] [EMAIL PROTECTED]

What do you mean when you say that my include_path is empty?

------------------------------------------------------------------------

[2003-01-15 23:25:35] [EMAIL PROTECTED]

Your error is from include not require, are you sure this is the
correct code?  Require is fatal; something is fishy here.

------------------------------------------------------------------------

[2003-01-15 22:33:10] [EMAIL PROTECTED]

and do the files:
/home/sites/site2/web/IV/lang.php
/home/sites/site2/web/IV/extras.php  
exist?

------------------------------------------------------------------------

[2003-01-15 22:29:52] [EMAIL PROTECTED]

Your include_path is empty ''; are you sure that this is correct?

------------------------------------------------------------------------

[2003-01-15 22:10:32] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=21674&edit=1

Reply via email to