Title: drogheda's Replies | WordPress.org

---

# drogheda

  [  ](https://wordpress.org/support/users/drogheda/)

 *   [Profile](https://wordpress.org/support/users/drogheda/)
 *   [Topics Started](https://wordpress.org/support/users/drogheda/topics/)
 *   [Replies Created](https://wordpress.org/support/users/drogheda/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/drogheda/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/drogheda/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/drogheda/engagements/)
 *   [Favorites](https://wordpress.org/support/users/drogheda/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Kubrick: Theme Options overriding custom header](https://wordpress.org/support/topic/kubrick-theme-options-overriding-custom-header/)
 *  Thread Starter [drogheda](https://wordpress.org/support/users/drogheda/)
 * (@drogheda)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/kubrick-theme-options-overriding-custom-header/#post-319374)
 * I wouldn’t call this resolved, but I have a temporary goofy fix in place: through
   viewing source, I found out that header-img.php in the themes/default/images 
   folder is responsible for the image overlay produced when one uses the Theme 
   Options panel for Kubrick. (Knowing that, I still couldn’t find useful info in
   the codex, wp support forums, or by googling.)Since deleting header-img.php does
   nothing and I don’t know where the image overlay data is _stored_, I just removed
   the not(!) from the if statement at the beginning of the script, thus causing
   the script to die and default to my custom header image.
 * `if ( function_exists('imagecreatefromjpeg') )
    die(header("Location: placebo_wpheader.
   gif"));
 * This is obviously a kludge and if anyone has a _real_ solution, I’d like to hear
   it. I’ll revisit the problem when I’m over this evil headcold and maybe it’ll
   make more sense then.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blank Login after adding second blog](https://wordpress.org/support/topic/blank-login-after-adding-second-blog/)
 *  Thread Starter [drogheda](https://wordpress.org/support/users/drogheda/)
 * (@drogheda)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/blank-login-after-adding-second-blog/#post-170344)
 * I was using different prefixes, e.g., lib_ and con_ and needn’t have deleted 
   the second one as it was innocent of any offence. Ah well. It is good to hear
   you’ve got multiple WPs on one database. I think I’ll give it another go. (If
   only the electricity would stay on…) And thanks for the moral support as well!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blank Login after adding second blog](https://wordpress.org/support/topic/blank-login-after-adding-second-blog/)
 *  Thread Starter [drogheda](https://wordpress.org/support/users/drogheda/)
 * (@drogheda)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/blank-login-after-adding-second-blog/#post-170292)
 * And let this be a lesson unto all: get some sleep before you post. Heck, get 
   some sleep before you troubleshoot.
 * In looking for an answer to the above problem last night, I saw that some people
   had fixed their blank login issue by removing untoward whitespace from the top
   of a .php file. Last night, in my weary daze, I thought that I’d removed any 
   such files I’d altered.
 * But this morning I lurched out of bed at 8am realizing there *was* an altered
   file: on the quite helpful advice of [this post](http://wordpress.org/support/topic.php?id=26907#post-151431)
   I had uploaded a new template-functions-category.php file to facilitate the organization
   of my categories. I hadn’t ever doublechecked that file.
 * **And lo, therein lay a single blank line at the top.** D’oh.
 * Now I’m off to reload all my WP plugins and wonder if I should tempt fate again
   with that second blog. (Which after all, had nothing to do with the problem, 
   save that installing it logged me out.)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Subdirectory install and database connection woes.](https://wordpress.org/support/topic/subdirectory-install-and-database-connection-woes/)
 *  Thread Starter [drogheda](https://wordpress.org/support/users/drogheda/)
 * (@drogheda)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/subdirectory-install-and-database-connection-woes/#post-169001)
 * Trying this reply again. First post got eaten by a db connection error. (Oh, 
   the irony.)
 * It’s good to know that location doesn’t matter. I did not see that clearly elucidated
   elsewhere. And, since whitespace wasn’t the issues and those four things in the
   config file were correct in and of themselves, I deduced that the problem must
   be database-related. (“My, so clever!”, you’re saying.)
 * And lo, herein lay the fix: I created a new db_user and gave it full privileges
   in the new WP. When I used the new db_user in the config file, the connection
   error went away. Now why I can not use the same db_user for both WP databases
   is a mystery to me (and yes, said user had full privileges to both dbs.) If any
   one had thoughts on that, I’d be glad to hear’em. But otherwise, ::shrug::
 * Thanks for your help, _podz_.

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