Problem with database table names
I have recently installed WP 1.2 (I’m moving from MT). I’ve got it all installed and working fine with the default templates and styles.
I have gone to work and changed the layout to match (as closely as possible) my MT layout. The posts themselves are showing up fine .. just how they should. But I’m having trouble with the sidebar.
I’m talking about the links list and the categories list and the calendar and the archives (monthly) list.
Everything works fine with the original index template. I use the exact same code on my modified index template and I get an error stating:
Database error: [Table ‘bresler_www.wp_categories’ doesn’t exist]
The actual database table name is “wp_categories”. It’s for some reason adding “bresler_www.” to the beginning of it. I have no idea where that’s come from. That is the name of another database that I have, but it has nothing to do with my WP install.
I cannot figure out why this is being added or even where it’s being added. It only happens on my modified index template. As far as I know, I have left all of the needed code in the template. I just basically moved stuff around.
You can find the original index template here:
My modified index template is here:
Does anyone have any ideas as to why this is happening?
- The topic ‘Problem with database table names’ is closed to new replies.