WordPress.org

Ready to get started?Download WordPress

Forums

Cannot redeclare class wpdb (4 posts)

  1. WildDuck
    Member
    Posted 10 years ago #

    Fatal error: Cannot redeclare class wpdb in /customers/ocdinfo.dk/ocdinfo.dk/httpd.www/wordpress/wp-includes/wp-db.php on line 18
    ehhmmm....what I do wrong??? TIA
    I tryed to make an upgrade from 72 to latest CVS build.

  2. Alex King
    Member
    Posted 10 years ago #

    I'm gonna go out on a limb and say you included/required wp-db.php twice somewhere along the line. :)
    Try using 'require_once()' for that file.

  3. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    You have to redo your wp-config.php when you upgrade to 1.0/the latest CVS.

  4. WildDuck
    Member
    Posted 10 years ago #

    [flushing] i forgot to rename wp-config-sample.php to wp-config.php
    Everything works fine. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.