Re: File not found error
| From: | Alex Keim | Date: | Thu, 18 Jan 2007 02:16:06 +0000 |
| Subject: | Re: File not found error | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27400@lists.php.net to get a copy of this message | ||
Thanks for the reply. I'm not sure I know what you mean by "if
installed in its default layout". I didn't changed it at all. I just
unpacked it in apache/htdocs/phpBB2. I have php installed in c:\php. I
probably wasn't very clear as to the broken includes thing. Basically
anywhere in phpBB2 that says "include( "./../file.php" ) or "require(
"./../file.php)" fails with file not found error. I can change them
all to have absolute path or do something like "include( dirname(
_FILE_ ) . "../file.php" )" but I don't want to do that for all of
phpBB2 and all of MediaWiki. So I figure I must have something
configured incorrectly right? Thanks.
- Alex
On 1/17/07, Niel Archer <niel@catweasel.org> wrote:
Hi, Relative paths only work from the php file's directory. NOT for the include directory. In my experience phpBB2 works just fine as it is, if installed in its default layout (do not put it in the includes directory, that won't work). Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php