WP looks for wrong database
I have a database called site_blog for my wordpress and another one, site_referers, for the logging of my referers. Now when I include the log.php from the referer-script into the header to enable logging, wordpress tries to reach its tables through the referer’s database and errors like these occur throughout the page:
[Table ‘site_referrers.wp_posts’ doesn’t exist]
WordPress database error: [Table ‘site_referrers.wp_options’ doesn’t exist]
how does that happen?
- The topic ‘WP looks for wrong database’ is closed to new replies.