Call to wp_blog_header while connected to another database
-
I have a main site and WordPress installed as a subdirectory from this main site.
I am trying to use the WordPress loop in a page on my main site, which already has a database connection open to a different database (Not the WordPress DB). I am getting errors stating that the headers have already been sent when I try to include the WP_BLOG_HEADER file.
Can anyone tell me how I would get information from WordPress (in this case, the 5 most popular votes), if I am already connected to a different database and need to reconnect to that other database after displaying the 5 most popular votes from WordPress?
Thank you very much.
The topic ‘Call to wp_blog_header while connected to another database’ is closed to new replies.