The MU forums have moved to WordPress.org

initial index.php does not write config. (9 posts)

  1. pmilano1
    Member
    Posted 17 years ago #

    I do the initial install, and it COPIES the sample config without making and of the changes designated in the index.php. The directory is wide open. I modify it, and it says 'No WPMU site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance.'.

    I delete the wp-config it COPIED, and try again. Same thing.

    Advise please.

  2. pmilano1
    Member
    Posted 17 years ago #

    Furthermore, database tables are not created, and I get the BASE error.

    It essentially just does the COPY of the config from the sample. Doesn't even save my database settings.

  3. heyguy
    Member
    Posted 17 years ago #

    Sounds like a permissions issue. What permissions do you have set on the folder and who owns it?

    And yeah, if your config file doesn't get created, not much is going to happen to your database.

  4. pmilano1
    Member
    Posted 17 years ago #

    Yeah, figured that. apache user and group owns everything, and perms are 775. The sample config is copied and perms become 644, don't think that should be a problem though.

    I recompiled php, was running 4.3.2 on that box, but nothing has changed. Thought maybe it was one of those silly 4.3.# issues with mysql calls.

  5. lunabyte
    Member
    Posted 17 years ago #

    The main install directory has to be 777 during install.

    wp-content should be left as 777 as well, so users can have uploads, etc.

    Pretty sure thats in the install readme somewhere.

  6. pmilano1
    Member
    Posted 17 years ago #

    Yes. I tried this to no avail.

    wp-content should be handled by the ownership of the files, which is the web server user.

    I read the readme, and was somewhat startled at the 777 suggestion ;)

    I'm not a novice, I'm just looking for input before I drill into it.

  7. pmilano1
    Member
    Posted 17 years ago #

    -rw-r--r-- 1 apache apache 1182 May 23 08:35 wp-config.php
    -rwxrwxrwx 1 apache apache 1182 Mar 9 10:17 wp-config-sample.php

    This is what it does.

    [root@dev blogs]# diff wp-config.php wp-config-sample.php
    [root@dev blogs]#

    Identical.

  8. pmilano1
    Member
    Posted 17 years ago #

    The str_replaces are failing, even if I throw the posted variables directly into the index-install code. Maybe a compat issue?

    Or- the case(s)?

  9. pmilano1
    Member
    Posted 17 years ago #

    I just made the changes in the sample config and it seems to be fine.

About this Topic

  • Started 17 years ago by pmilano1
  • Latest reply from pmilano1