goorgoor
Member
Posted 14 years ago #
Hi,
Why do i get this error:
Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!
I changed the $base to "/" both in
"define('DB_COLLATE', '');
define('VHOST', 'yes');
$base = '/';"
and
"// double check $base
if( $base == '/' )
die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );"
And i still get the same error!!! What's going on?
goorgoor
Member
Posted 14 years ago #
Please help me here. i need some direction here!!
You shouldn't change the if($base == 'BASE")
Change that back and everything will work.
goorgoor
Member
Posted 14 years ago #
so The Database Collate type. should look like this?
define('DB_COLLATE', '');
define('VHOST', 'yes');
$base = 'BASE';
define('DOMAIN_CURRENT_SITE', 'tblog.com' );
define('PATH_CURRENT_SITE', '/' );
define('SITE_ID_CURRENT_SITE', 1);
define('BLOGID_CURRENT_SITE', '1' );
goorgoor
Member
Posted 14 years ago #
and should i have "htaccess.dist" or ".htaccess" in my root folder and how would they look like?
RewriteEngine On
RewriteBase BASE/
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
You said you changed:
// double check $base
if( $base == 'BASE' )
die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );"
You shouldn't change that check at all.
In wp-config.php, $base should be $base = '/';
(usually).
And after WPMU installs, you'll have both htaccess.dist and a .htaccess. They should look typically look identical.
goorgoor
Member
Posted 14 years ago #
ok. thanks. my mistake!
This is how it should look like!
$base = '/';
if( $base == 'BASE' )
Yes, that's how it should look after install.
Don't edit the config file tho. You have to let MU create it.