Re: file include error, need help

From: Date: Wed, 09 Apr 2003 23:35:44 +0000
Subject: Re: file include error, need help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143232@lists.php.net to get a copy of this message
thanks. but it didn't work. these are the errors. [09-Apr-2003 17:25:41] PHP Notice: Undefined index: page in /usr/local/ListingAgent-1.0/act_buildPage.php on line 25 [09-Apr-2003 17:25:42] PHP Warning: main(qry_GetPageByName.php) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in /usr/local/ListingAgent-1.0/act_buildPage.php on line 23 [09-Apr-2003 17:25:42] PHP Warning: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'qry_GetPageByName.php' for inclusion (include_path='.:/php/includes:/usr/local/ListingAgent-1.0') in /usr/local/ListingAgent-1.0/act_buildPage.php on line 23 [09-Apr-2003 17:25:42] PHP Notice: Undefined index: page in /usr/local/ListingAgent-1.0/act_buildPage.php on line 25 [09-Apr-2003 17:25:43] PHP Warning: main(qry_GetPageByName.php) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in /usr/local/ListingAgent-1.0/act_buildPage.php on line 23 [09-Apr-2003 17:25:43] PHP Warning: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'qry_GetPageByName.php' for inclusion (include_path='.:/php/includes:/usr/local/ListingAgent-1.0') in /usr/local/ListingAgent-1.0/act_buildPage.php on line 23 [09-Apr-2003 17:25:43] PHP Notice: Undefined index: page in /usr/local/ListingAgent-1.0/act_buildPage.php on line 25 -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 chris.edwards@obinet.com http://www.OuterBanksInternet.com ----- Original Message ----- From: "Barajas, Arturo" <abarajas@ppg.com> To: "'Chris Edwards'" <chris.edwards@obinet.com>; <php-general@lists.php.net> Sent: Wednesday, April 09, 2003 7:14 PM Subject: RE: [PHP] file include error, need help Chris, Verify in your php.ini the include_path entry. At least it should be '.' to refer to the current directory. -- Un gran saludo/Big regards... Arturo Barajas, IT/Systems PPG MX (SJDR) (427) 271-9918, x448 > -----Original Message----- > From: Chris Edwards [mailto:chris.edwards@obinet.com] > Sent: Miércoles, 09 de Abril de 2003 06:16 p.m. > To: php-general@lists.php.net > Subject: [PHP] file include error, need help > > > Hi > > I just setup a clean php install. I copied over my scripts > from my dev > server. the includes are throwing errors. I've done many > variations of the > file paths, still nothing. > > just a simple, include("thisfile"); with thisfile in the > current working > directory of the script breaks. > > there must be a setting or something. any thoughts? > > thanks. > > -- > Chris Edwards > Web Application Developer > Outer Banks Internet, Inc. > 252-441-6698 > chris.edwards@obinet.com > http://www.OuterBanksInternet.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#143232) next »