You are here: Directory traversal « PHP Programming Language « IT news, forums, messages
Directory traversal

Posted by Brent on 09/22/07 05:35

I'm having a maddening problem that's probably simple in its solution.
I'm installing MediaWiki on a Windows 2003 Server under IIS, and I'm
having this error repeatedly:

Warning: require_once(../StartProfiler.php) [function.require-once]:
failed to open stream: No such file or directory in C:\Inetpub\vhosts
\....\includes\WebStart.php on line 69

As I understand it, the error is saying that it can't find the path to
the file "StartProfiler.php". As a matter of fact, this file exists
one directory level above the "\includes\" directory. It seems -- on a
*nix box at least, or perhaps an Apache web server -- that the
indicator "../" would tell PHP this fact. On my Windows setup,
however, it does not.

I changed the "../" to "..\", which worked for a little bit, but now
it's back to the same error.

Is this an easy issue? Am I missing something?

Thanks for any help you might have.

--Brent

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация