The MU forums have moved to WordPress.org

multiple installation errors (16 posts)

  1. NetSpider
    Member
    Posted 16 years ago #

    Hello,
    i'm trying to install MUWP and i got some errors:

    PHP Notice: Constant DB_NAME already defined in S:\host\domain.com\wp-config.php on line 4

    PHP Notice: Constant DB_USER already defined in S:\host\domain.com\wp-config.php on line 5

    PHP Notice: Constant DB_PASSWORD already defined in S:\host\domain.com\wp-config.php on line 6

    PHP Notice: Constant DB_HOST already defined in S:\host\domain.com\wp-config.php on line 7

    PHP Notice: Constant VHOST already defined in S:\host\domain.com\wp-config.php on line 10

    WordPress database error: [Table 'dbname.wp_users' doesn't exist]
    SELECT ID FROM wp_users WHERE user_login = 'admin'

    WordPress database error: [Table 'dbname.wp_sitemeta' doesn't exist]
    SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'site_admins' AND site_id = ''

    WordPress database error: [Table 'dbname.wp_users' doesn't exist]
    SELECT ID FROM wp_users WHERE user_login = 'admin'

    install_blog - ID: 1 URL: http://domain.com/ Title: My new WordPress MU Site

    After i've clicked "Submit" button - page did not reloads and nothing sents to e-mail.
    I have working WP 2.3.2 without any problems, but MUWP got errors =(

    When i'm opened site again seems like MUWP installed OK, BUT there is no default category ( http://domain.com/category/uncategorized/ got 404 ERROR).

    I have latest version WUMP from trunk.
    How to make it works? =/

    PS
    sorry for my English))

  2. lunabyte
    Member
    Posted 16 years ago #

    Did you modify the wp-config file before installing?

    Can't say that the readme.txt file asks you to do that, as MU takes care of that for you.

  3. NetSpider
    Member
    Posted 16 years ago #

    wp-config.php is not exist before installation, i don't rename and/or create wp-config.php

  4. lunabyte
    Member
    Posted 16 years ago #

    Well, in php a notice is meaningless. Although if this is in a production/live environment, I'd be concerned with having errors displayed to the screen.

    For the database not existing, there could be several reasons. Bad username, password, database name, etc. seem to be the most likely causes.

  5. NetSpider
    Member
    Posted 16 years ago #

    DB is OK. MUWP is partially installed. =\
    Page just hangs up while installation. But when i opened again site - it is looks like installed..
    Admins password i've got from lost password form.
    Again, when i try to activate newly created blog (from user) i've got error like in this topic: http://mu.wordpress.org/forums/topic.php?id=7175
    Why is that?

    install_blog - ID: 1 URL: http://domain.com/ Title: My new WordPress MU Site -- why is it appears?

  6. theapparatus
    Member
    Posted 16 years ago #

    why is it appears?

    To let you know a blog has been created.

  7. NetSpider
    Member
    Posted 16 years ago #

    OK, but two big probs still remains..
    1) MUWP hangs up when installing
    2) activation of new blog hangs up too and got errors in DB as described here: http://mu.wordpress.org/forums/topic.php?id=7175

  8. bloggus
    Member
    Posted 16 years ago #

    Maybe error reporting to the server is not working? I had that problem. Forgot to define the variable in php.ini and when the first blog is created the installtion stpped due to that.

  9. andrea_r
    Moderator
    Posted 16 years ago #

    Errors are suppressed by deafuly. I believe the readme tells how to show them. My experince has been if it hangs on install, 99% of the time the db details are incorrect.

  10. lunabyte
    Member
    Posted 16 years ago #

    Other possibilities could be PHP being low on memory (although that was more during creation from the backend), or even something as far out as a recent bug in the db class where an incorrect default value was hard coded.

  11. NetSpider
    Member
    Posted 16 years ago #

    memory_limit = 128M
    i think it's more enough
    1024M is free on the server

  12. NetSpider
    Member
    Posted 16 years ago #

    Maybe all that things because of PHP5 ?

  13. NetSpider
    Member
    Posted 16 years ago #

    Here is another errors (with stricts):

    PHP Strict Standards: Assigning the return value of new by reference is deprecated in wp-settings.php on line 356

    and next goes:

    WordPress database error: [Table 'dbname.wp_users' doesn't exist]
    SELECT ID FROM wp_users WHERE user_login = 'admin'

  14. andrea_r
    Moderator
    Posted 16 years ago #

    So it's basically not creating the tables.

    Once we had issues installing. To track it down, we went through the signup page and added a bunch of echo "hello world" to narrow down where exactly it died.

  15. NetSpider
    Member
    Posted 16 years ago #

    it is creating tables, but not fill one of them (or two?) with data. no default WP message (record) in created DB..
    on main page i see only: "Not Found
    Sorry, but you are looking for something that isn't here."
    when i click on http://domain.com/category/uncategorized/ i see "Error 404 - Not Found" message from WP

  16. andrea_r
    Moderator
    Posted 16 years ago #

    Do you have virtual hosts set up correctly?

About this Topic

  • Started 16 years ago by NetSpider
  • Latest reply from andrea_r