WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Localhost installation fatal error (11 posts)

  1. dannyfoo
    Member
    Posted 3 years ago #

    I was trying to install WordPress 3.0.1 on my MAMP localhost but the 1st install screen came out a blank page. Error log reported:

    [30-Jul-2010 14:29:35] PHP Fatal error: Cannot redeclare class wpdb in /Users/me/Sites/buddy/wp-includes/wp-db.php on line 53

    It installed fine using 3.0.

    Anyway, just wanted others and the WP team to know about this.

  2. JoLoCo
    Member
    Posted 3 years ago #

    The same thing happens for me - 3.0.1 fails with the above error at install.php.

    3.0 works fine on the same setup.

    (Using the latest MAMP on Mac OS X 10.4.11, should that make a difference.)

  3. websitedesignby
    Member
    Posted 3 years ago #

    Exact same as above....

  4. mattbartel
    Member
    Posted 3 years ago #

    Me too.

    MAMP 1.9 on Mac OS 10.6.4

  5. mattbartel
    Member
    Posted 3 years ago #

    I just tried with 3.0 and I'm still getting the error.

  6. mattbartel
    Member
    Posted 3 years ago #

    Workaround: Install using 2.9.2, then upgrade.

  7. KittyKate46
    Member
    Posted 3 years ago #

    I got the same message using MAMP on my Mac. I tried redownloading WordPress 3.0.4 and no change. Any ideas?? I'm at a loss.

  8. mattbartel
    Member
    Posted 3 years ago #

    Same problem with me using MAMP.

  9. mattbartel
    Member
    Posted 3 years ago #

    I just stopped MAMP and restarted. Now it works fine. Could be that apache was somehow caching something from another local WP installation?

  10. KittyKate
    Member
    Posted 3 years ago #

    I had this problem and I fixed it by changing the PHP used in MAMP to an older version. For some reason the default PHP is not a stable version.

  11. websitedesignby
    Member
    Posted 3 years ago #

    Restart MAMP effectively addresses the issue.

Topic Closed

This topic has been closed to new replies.

About this Topic