Quote:
Originally Posted by Coleccromos
Can you help me with this step please.
After installing three times the wikimedia whenever I edit the LocalSettings.php and add the two lines that calls the configuration file gives me the error bags are:
Code:
Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 26
Warning: require_once(/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes/AuthPlugin_vBSSO.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 27
Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes/AuthPlugin_vBSSO.php' (include_path='/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki:/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/includes:/var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/languages:.:') in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 27
How is this possible if he says it very clear that we must add these two lines
|
It seems as if you nowhere defined the VB_SYSTEM_PATH variable, and therefore receive the error. Let me show you parts of my LocalSettings.php. My forum is on
www.entropiaplanets.com/forums. My wiki is accessible through
www.entropiaplanets.com/wiki, but is actually physically located in
www.entropiaplanets.com/w. (Note that I also have use a VPS, and the path on the server is similar to yours (/var/www/vhosts/entropiaplanets.com/httpdocs/w).
My LocalSettings.php has the following lines:
Code:
if( defined( 'MW_INSTALL_PATH' ) ) {
$IP = MW_INSTALL_PATH;
} else {
$IP = dirname( __FILE__ );
}
$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
require_once( "$IP/includes/DefaultSettings.php" );
define( VB_SYSTEM_PATH, '/var/www/vhosts/entropiaplanets.com/httpdocs/forums' );
require_once( "$IP/includes/AuthPlugin_vBSSO.php" );
If you do not have the red line, add it, and change from entropiaplents.com to cromosdefutbol.com.
I have to admit that I really cannot guess as to the error regarding the includes of the AuthPlugin line, but see if my setup gives you something to work with. Feel free to post the results here.