The MU forums have moved to WordPress.org

Problem in wp-config.php - $base is set to BASE when it should be the path like (26 posts)

  1. aluae
    Member
    Posted 15 years ago #

    i tried to install wpmu many time put i face this error msg

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    i follow all the install like what is in readme.txt

    i search google and this form for solve but nothing

    plz any one have idea ?!

  2. aluae
    Member
    Posted 15 years ago #

    plz help

  3. VentureMaker
    Member
    Posted 15 years ago #

    Open your .htaccess and change RewriteBase BASE to RewriteBase /

  4. aluae
    Member
    Posted 15 years ago #

    thank you VentureMaked
    i change like what you said but i face same error

    this is my .htaccess file
    ______________________________________________________

    RewriteEngine On
    RewriteBase /

    #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>
    _______________________________________________________

    and i change the name of file from htaccess.dist to .htaccess also i give it CHMOD 777

    because i get this warning
    _________
    Warning! .htaccess already exists.

    A file with the name '.htaccess' already exists in this directory and I cannot write to it. Please ftp to the server and delete this file from this directory!
    Offending file: /home/xxxx/public_html/blogs/.htaccess
    ___________

    but no way

    any thing ???!!!

  5. VentureMaker
    Member
    Posted 15 years ago #

    This means that another .htaccess already exists there.
    Make sure your FTP client shows hidden files, cause Unix files beginning with dot (.) are invisible.

  6. tdjcbe
    Member
    Posted 15 years ago #

    If you;re using CPanel, and it sounds like you may be, you may want to review this thread:

    http://mu.wordpress.org/forums/topic.php?id=99

  7. andrea_r
    Moderator
    Posted 15 years ago #

  8. aluae
    Member
    Posted 15 years ago #

    tnx all for help

    VentureMaker am sure its only one .htaccess flie
    i log to my website from CPanel and no heddn files

    tdjcbe
    yes i have CPanel and i tried all steps in that topic but
    it keep give me this msg

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    andrea_r

    tnx for the link
    i have that book and i follow it
    but again i get

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    is that problem from server
    because i have root access in the server

    if i have to do any thing plz help me

  9. andrea_r
    Moderator
    Posted 15 years ago #

    Delete the htacces via ftp, NOT with cpanel./ Cpanel will just put it back.

    Delete wp-config.php.

    Now go back to the front page of your website. Do the install again.

  10. grandslambert
    Member
    Posted 15 years ago #

    I find it interesting that the error is

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    and the suggestions are all to edit or delete the .htaccess. No, the problem is in the wp-config.php. Sounds like he tried to install MU the same way as stand alone and built his own wp-config.php file. Is that right?

    Follow the suggestion just above this. Delete BOTH .htaccess and wp-config.php and then go through the install procedure by going to your blog. DO NOT create your own wp-config.php file - that step is not part of a MU install.

  11. aluae
    Member
    Posted 15 years ago #

    tnx all again

    grandslambert

    ofcourse no... i install it like what readme.txt file said

    i upload all files to /blogs folder in my website
    i Change permissions on the blogs folder and the wpcontent
    folder ect....

    i start installing by going to http://www.xxxxx.com/blogs

    and it ask about database username bla bla bla

    i didn't create any config file

    that my problem , i follow all steps like require but i get this msg

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

  12. aluae
    Member
    Posted 15 years ago #

    I Delete the htacces via ftp and i

    Delete wp-config.php

    i start install again
    and again i get same msg

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    i think problem from other thing

  13. aluae
    Member
    Posted 15 years ago #

    plz any sugetion

  14. andrea_r
    Moderator
    Posted 15 years ago #

    So, you have a single WP install elsewhere on the server too?

  15. aluae
    Member
    Posted 15 years ago #

    on the server i think yes there is

    but in my website no

    is that my problem
    if other website in the server install single WP i can't install wpmu ?!

  16. aluae
    Member
    Posted 15 years ago #

    if other website in the server install single WP i can't install wpmu ?!

    ___________

  17. grandslambert
    Member
    Posted 15 years ago #

    Is there a single wordpress install at http://www.xxxxx.com and the MU install at http://www.xxxxx.com/blogs? This can cause problems because MU will look in it's own folder, then in the folder below it for the wp-config file. If there is a single wordpress in http://www.xxxxx.com, then rename the config file temporarily when you install MU.

    If that's all good, and the install went through then you get this error, open your wp-config.php file for you MU install and round about line 38 you might find a $base = 'BASE'; that you might want to change to $base = '/blogs/'; I had this problem with an install last night, and changing that line fixed the problem.

    Note, it's in the wp-config.php file, NOT the .htaccess file!

  18. t.arnfeld
    Member
    Posted 15 years ago #

    I am having the exact same problem!
    In fact it is exactly the same as what you've got!

    If anybody has found a solution please could you post a reply cos i really need help!

    Thanks

  19. t.arnfeld
    Member
    Posted 15 years ago #

    Ive got mine sorted?

    I really dont know what i did...
    Delete the .htaccess file or the htaccess.dist file completely via FTP
    Delete wp-config.php and or wp-config-sample.php

    Just upload a new htaccess.dist and wp-config-sample.php and that worked for me...
    After the fresh uploads of ^ and ^ dont touch these files at all...

    Hope this works :)

  20. aluae
    Member
    Posted 15 years ago #

    finally.....
    grandslambert
    tnx allot

    i open wp-config.php file for MU install and in line 38 i found a $base = 'BASE'; witch i change to $base = '/blogs/';

    and i think it work but i face new error :)

    _____________________________________
    Fatal Error
    If your blog does not display, please contact the owner of this site.

    If you are the owner of this site please check that MySQL is running properly and all tables are error free.

    Database Tables Missing.
    Database tables are missing. This means that MySQL is either not running, WPMU was not installed properly, or someone deleted wp_site. You really should look at your database now.

    What do I do now?
    Read the bug report page. Some of the guidelines there may help you figure out what went wrong.
    If you're still stuck with this message, then check that your database contains the following tables:
    wp_blogs
    wp_users
    wp_usermeta
    wp_site
    wp_sitemeta
    wp_sitecategories
    If you suspect a problem please report it to the support forums but you must include the information asked for in the WPMU bug reporting guidelines!
    __________________________________________

    i search this forum and google but nothing good

    i think i have to wait for a new version of WPMU.. maybe it will be fine for me

  21. Christophe25
    Member
    Posted 15 years ago #

    Hello,

    I have exactly the same problem like aluae described.

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

    I was planning to upgrading my wpmu 2.6.1 to 2.7 but I thought it would be better to do a test first on the test subdomain. So I have already another version of wpmu installed on the same virtual server. Could that be the problem???

    Thanks in advance!!!

    Kind regards from the far and sunny Belgium :P
    Christophe

    PS: When I do what the error says, I only got a Fatal error :(

  22. MrBrian
    Member
    Posted 15 years ago #

    "BASE" is the default and needs to be set, hence it yelling at you to change it. fatal error is because you somehow screwed up the syntax. here's what the base line should look like if you installed wpmu in root.

    $base = "/";

  23. Christophe25
    Member
    Posted 15 years ago #

    Hi,

    The problem is caused by a bug. A friend of me fixed it for me, and it worked. I can't tell you how to fix it, but it was caused by the 'Create wp-config file' button which redirected to the wrong .php file, (index.php, instead of index-install.php, your on the index.php, so why invoke it) and there was some code in index-install.php, which he removed, and some other stuff he changed. Can't remember exactly, but he's the programmer ;-)

    However, this bug is only by installing new mu-platforms. I actually had to upgrade my muweblog from 2.6.1 to 2.7 and that went very well!!!

    Kind regards,
    Christophe

  24. ChrisKojak
    Member
    Posted 15 years ago #

    @Christophe25: Would you cpoy & paste your index-install.php please?

  25. andrea123
    Member
    Posted 15 years ago #

    been 7 months ago, but having this problem again i.e.

    // 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!' );

    however, able to login to dashboard and set my mu site, when i click view site, the mu installation page appears again and not default page

    Any ideas will be great help?

  26. sami.keijonen
    Member
    Posted 15 years ago #

    I had this same problem and for me it worked when I used the address mydomain.com/subdirectory/index-install.php. Then the install went right.

About this Topic

  • Started 15 years ago by aluae
  • Latest reply from sami.keijonen