Last modified: 2010-05-15 15:48:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11000, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9000 - open_basedir restriction
open_basedir restriction
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.9.x
PC Windows XP
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://h1.ripway.com/silvermelocowiki/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-16 11:36 UTC by Edwin Walker
Modified: 2010-05-15 15:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Edwin Walker 2007-02-16 11:36:02 UTC
I've uploaded all the files and got to the second page of installation and I get
the following errors.

Warning: main(): open_basedir restriction in effect.
File(\\192.168.1.16\webfiles\files\2007-2\1295267/install-utils.inc) is not
within the allowed path(s): (.) in
\\192.168.1.16\webfiles\files\2007-2\1295267\config\index.php on line 43

Warning: main(install-utils.inc): failed to open stream: Operation not permitted
in \\192.168.1.16\webfiles\files\2007-2\1295267\config\index.php on line 43

Fatal error: main(): Failed opening required 'install-utils.inc'
(include_path='.;\\192.168.1.16\webfiles\files\2007-2\1295267;\\192.168.1.16\webfiles\files\2007-2\1295267/includes;\\192.168.1.16\webfiles\files\2007-2\1295267/languages')
in \\192.168.1.16\webfiles\files\2007-2\1295267\config\index.php on line 43

I've checked and install-utils.inc has been uploaded.
Comment 1 Daniel Kinzler 2007-02-16 11:37:45 UTC
This is a problem with the configuration of php and/or the web server. contact
your hosting people.
Comment 2 Edwin Walker 2007-02-17 08:11:18 UTC
Instead is it just possible that I get a new server?
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-02-18 00:29:07 UTC
You need to have a PHP configuration set up with open_basedir off.  Most hosts
presumably run such a configuration, so it may be that switching will get you a
host that doesn't have the restriction.  You could ask before you buy.  But in
any case, this isn't something we can do anything about.
Comment 4 Brion Vibber 2007-02-18 20:55:58 UTC
Generally open_basedir will work, but this seems to be a particularly broken
configuration.

1) The web root seems to be using an UNC path, which seems very likely to break
things
with PHP and/or the web server and/or other software.

2) The open_basedir path appears to be "." (current directory) which:
a) will inherently not work with the installer
b) seems very likely to break the rest of the wiki
c) seems extremely fragile when mixed with UNC paths

If you operate the server yourself, I would recommend disabling open_basedir
and going from there; if you don't operate the server, contact your hosting
provider and see if they can set open_basedir to an actual directory value (or
remove it)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links