• I have $base defined as blog_demo, yet for some commands WP is defining it as simply “demo” and (obviously) not finding the database. It’s giving me errors like this:
    Database error: [Table ‘demo.wp_comments’ doesn’t exist]
    SELECT * FROM wp_comments WHERE comment_post_ID = ‘3’ AND comment_approved = ‘1’ ORDER BY comment_date
    The weird part is that it only does this for some things — for other commands (like, for example, displaying posts), it gets the database just right.

Viewing 2 replies - 1 through 2 (of 2 total)
  • More info…
    Wordpress version
    MySQL version
    etc…

    Thread Starter noa

    (@noa)

    WordPress version 1.2.1
    PHP version 4.3.8
    MySQL 4.0.20
    I have several blogs running on this server, and this problem has only happened with one of them.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘$base redefined?’ is closed to new replies.