• Forum Moderator applications are now open! If you're interested in joining an active team of moderators for one of the biggest Pokémon forums on the internet, click here for info.

MediaWiki help

Status
Not open for further replies.

immewnity

追放されたバカ
Joined
Dec 19, 2008
Messages
1,481
Reaction score
0
My site's going crazy.

PidgiWiki - or it was before this error:

Code:
Warning: require_once(): open_basedir restriction in effect.  File(/www/99k.org/r/o/u/routeone/htdocs/wiki/includes/WebStart.php) is  not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT) in  /www/99k.org/r/o/u/routeone/htdocs/wiki/index.php on line 42  Warning:  require_once(/www/99k.org/r/o/u/routeone/htdocs/wiki/includes/WebStart.php):  failed to open stream: Operation not permitted in  /www/99k.org/r/o/u/routeone/htdocs/wiki/index.php on line 42  Fatal error: require_once(): Failed opening required  '/www/99k.org/r/o/u/routeone/htdocs/wiki/includes/WebStart.php'  (include_path='.:/usr/lib/php') in  /www/99k.org/r/o/u/routeone/htdocs/wiki/index.php on line 42

The referenced line 42 in WebStart.php is
Code:
# getrusage() does not exist on the Microsoft Windows platforms, catching this

I need HELP.
 
The PHP require_once command means that the WebStart.php file is needed in the exact directory that you point it to. Right now, it's giving you a permission error, meaning that the file can't be found because the directory is inaccessible.

Operation not permitted in /www/99k.org/r/o/u/routeone/htdocs/wiki/index.php on line 42

Means that line 42 of your index.php file is causing the problem, not WebStart.php. Could you post line 42 of index.php?
 
Code:
require_once( "$preIP/includes/WebStart.php" );

WebStart.php exists there.

EDIT: I'm going to try changing permissions.

EDIT2: That didn't do anything.
 
Status
Not open for further replies.
Back
Top Bottom