• Hi. I had my shiny new WP1.5 blog working perfectly when I made the very bad decision to put another blog on the same database. (Though I did read that it could be done in the codex before I tried.) ::sigh::

    I got the blank page on my first attempt to log on to the new blog and found that it had affected the original blog as well. I have gone thoroughly through the suggestions on the Logon Trouble Page. This includes removing all 3rd-party plugins. I’ve also deleted the second blog’s files and its tables in the database. And just for kicks I put in a new, blank .htaccess file. None of it had any effect. I’ve not found a solution in the many relevant entries here and websites out there. Perhaps, I simply have not hit upon the right one.

    The good news is that my blog content is thus far unharmed: https://thelibrarydao.net/blog/index.php for what good it will do you; registrations are off and I can not reach any admin functions. (Please note that the SQL/PHP project I mention has yet to be embarked upon and should not be seen as any indication of expertise.) The login page is currently that of “Sexygirlgeek’s wp-login fix”.

    Should it prove useful, I am hosted on a server running:
    Apache 1.3.33 (Unix)
    PHP 4.3.9
    MySQL 4.0.22-standard

    My machine is running Mac OS X and I’ve tried the latest Firefox, Safari and iCab browsers just to make sure. (Don’t have, don’t want IE.)

    I would be most appreciative of any and all well-meant suggestions. Please forgive any mispellings or missed words; I am very tired and have been tilting at this windmill for hours now. Thank you for your time and effort.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter drogheda

    (@drogheda)

    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 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.)

    Glad to hear that’s all figured out. And I can say with certainly that we’ve all been there!

    Can you clarify if you’re trying two installs on the same db with or without the same table prefix?

    If you have two different table prefixs (ie wpone_ and wptwo_) then that will work fine. I have several installs using the same db with different prefixs.

    But if you use the same table prefix for both installs (ie wp_) then you’d run into problems. WP stores important info like your blog url in the options table. If both installs used the same table prefix then only one blog would have the correct url stored and the other one wouldn’t work.

    Thread Starter drogheda

    (@drogheda)

    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!

    I have one database that runs 3 WP installs. All are doing fine, thanks ??
    (touch wood!)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blank Login after adding second blog’ is closed to new replies.