WordPress.org

Forums

Username not working (26 posts)

  1. ngrailreishih
    Member
    Posted 2 years ago #

    I created a WP blog with my own domain, hosted at Dreamhost, URL storysmithy.com. I changed my mind about the name, and registered thebookofyourlife.net. I copied everything from storysmithy.com to thebookofyourlife.net, and re-did all the HTML links in the transferred pages to go to thebookofyourlife.net/whatever. Then I started to try to delete the blog, but was suddenly thrown back to the WP login screen, and the login will no longer recognize my username, so asking for a new password achieves nothing. I used the same username and password with both blogs, and the username does not work with either of them.

    Yet both sites are still up and can be accessed (but not edited). However, clicking on a few links soon crashes everything. Each site seems to want to redirect to the other, which messes up the links inside the pages by adding an extra www on the front (so I get e.g. http://http://www.www.storysmithy.com/?page_id=53).

    I seem to be completely screwed. Can that be?

  2. jibbius
    Member
    Posted 2 years ago #

    How did you try to copy the site?

    Can you access the database in phpmyadmin?
    I'd be interested to see what is in the wp_options table; specifically for options 'home' and 'siteurl'.

  3. ngrailreishih
    Member
    Posted 2 years ago #

    Jibbius, thanks so much for responding. I'm afraid I only know enough to get myself into trouble (q.e.d.) but not how to do things like access phpmyadmin. I wouldn't know where to find it, and anyway it seems I wouldn't be able to login to it, since my username doesn't work.

    I copied the site using the export function on the dashboard on storysmithy.com, which produced an xml file which I then imported into thebookofyourlife.net. Then I applied the same style (OceansEleven) and edited the links in each page so they referred to thebookofyourlife.net instead of storysmithy.com. I checked every page to make sure it worked.

    After that, I went to try to delete storysmithy.com. I couldn't see an easy way to do it, but I noticed that I had earlier (before the new domain was fully set up) changed the options you mention -- 'home' and 'siteurl' in storysmithy.com from that (www.storysmithy.com) to http://www.thebookofyourlife.net. Thinking that if I deleted the Story Smithy blog with those options left like that, I might delete the new blog (which I had set to the same home and URL -- http://www.thebookofyourlife.net), I changed the options back to http://www.storysmithy.com, and that's when I was uncermoniously dumped back at a login screen and have been unable to login ever since.

    The fortunate thing is that I have the xml file, so all is not lost, though I'm not sure how to rebuild especially if I can't delete the existing blogs. If I could only get my username to work again and if the old storysmithy.com blog could be deleted, I think I could manage. Is there anything I can do in Dreamhost that would help, do you suppose?

    --David

  4. jibbius
    Member
    Posted 2 years ago #

    Hi David.
    If you have ftp access, add this to the top of the functions.php file in your theme directory ( on a new line immediately after <?php

    update_option('home', 'http://www.storysmithy.com');
    update_option('siteurl', 'http://www.storysmithy.com');

    Confirm the old site works again.
    You can then delete those lines, page only needs to be once with them there.

  5. jibbius
    Member
    Posted 2 years ago #

    As long as wp-config.php has a different database name, then WordPress will not "delete" the contents of both sites (when you try to delete one). I would wait till site 2 is perfect before deleting anything.

  6. jibbius
    Member
    Posted 2 years ago #

    Does the above make sense, or am I losing you at FTP?

    (just trying to gauge the level of information you need)

  7. ngrailreishih
    Member
    Posted 2 years ago #

    I'm not sure if I did this correctly, but I entered http://ftp.storymithy.com into the address bar and to my surprise I got a login prompt. However, it would not accept the username and password I set up for the blog (I think it's the username itself that is not being accepted. It's not a password issue.) I also just discovered I can ftp in from Dreamhost "Manage Domains" page, but same end result ("Alert: 530 Login incorrect.")

    With a broken username, I seem to be in pretty bad shape. I've been looking for a way to contact WP directly to see if they could help, but there seems to be no way to reach them unless (hopefully!) they happen to review these forum posts.

    --David

  8. ngrailreishih
    Member
    Posted 2 years ago #

    BTW I did not put http before the ftp -- I guess some robot put it in my forum post! :)

  9. jibbius
    Member
    Posted 2 years ago #

    Hmmm... You'll need some ftp details to fix your problem. They are probably the same as your dream host login credentials.

    To edit files, you will need to use an ftp client (software tool) like filezilla.

    You're starting to venture into a rather technical area. You might be able to save yourself a lot of trouble by enlisting some help from tweaky.com

    Dreamhost may also provide support?

  10. jibbius
    Member
    Posted 2 years ago #

    If you're keen to do this yourself, have a look at this (to get your head around FTP) :
    http://blog-well.com/2008/08/10/beginners-guide-to-ftp-for-wordpress/

    The next step is understanding the database side of WordPress: http://wordpress.shadowlantern.com/how-change-wordpress-url-phpmyadmin/

    Good luck

  11. ngrailreishih
    Member
    Posted 2 years ago #

    Wonder of wonders, I finally figured out how to WebFTP in with AjaXplorer (I had to connect to the Dreamhost server named Regulus and not to storysmithy.com), and I figured out how to edit phpmyadmin (I had to create a new user and PW on Dreamhost).

    In AjaXplorer, I changed the TwentyEleven theme file so that the very top of the file now reads:

    <?php
    update_option('home', 'http://www.storysmithy.com');
    update_option('siteurl', 'http://www.storysmithy.com');
    /**
    * Twenty Eleven functions and definitions
    ...etc.

    I saved the file, but it has made no difference -- I still can't log in to either site via wp-login.

    Now I am in PHPmyadmin looking at table wp_qaydpc_options, which has rows for siteurl ("http://www.storysmithy.com") and blogname ("The Book of Your Life"). Will changing either of these solve the problem? The Shadowlantern link you sent is all about changing the URL, but what would I change it to?

    Forgive me for being dense, and for taking up so much of your time and patience. I am wondering where you are and what time it is there -- I am in Hawaii and it's only just turned midnight, but if you're in mainland USA it's between 2 and 5 am!

    --David

    David

  12. ngrailreishih
    Member
    Posted 2 years ago #

    Ah... actually the theme file change has made a difference. WHen I just go to http://www.storysmithy.com (without trying to login), I get:

    "The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

    Am I getting closer?

  13. jibbius
    Member
    Posted 2 years ago #

    Melbourne Australia. 9pm
    Wow - That's progress.
    Gimme a few minutes to type a response.

  14. jibbius
    Member
    Posted 2 years ago #

    Actually; it looks like your site is doing some circular redirection.

    http://www.storysmithy.com/
    Redirects to
    http://storysmithy.com/
    And then it heads back to
    http://www.storysmithy.com/

    Can you try changing the options to that instead?

  15. ngrailreishih
    Member
    Posted 2 years ago #

    I think I can do that in Dreamhost. Will try.

    Melbourne! A great city, I have read.

  16. jibbius
    Member
    Posted 2 years ago #

    I'd be tempted to change it via either:
    - PHPmyadmin
    OR

    update_option('home', 'http://storysmithy.com');
    update_option('siteurl', 'http://storysmithy.com');

    Don't change any other settings (domains...etc) in Dreamhost. I'm being explicit here, because there are "lots of things" in Dreamhost - just making sure we aren't introducing more variables.

    The database became broken when the settings were changed in the wordpress dashboard. You want to fix the database, not change anything else.

  17. ngrailreishih
    Member
    Posted 2 years ago #

    Progress. I can log in to the storysmithy.com WP dashboard. But I still can't log in to the Book of Your Life site. Maybe I should repeat all of the above steps on that domain now.

  18. ngrailreishih
    Member
    Posted 2 years ago #

    Jack, I'm getting tired and prone to making mistakes, so I'm going to resume in the morning. I will post the results here, but to the extent they are successful, you can claim all the credit! Many, many thanks for your generous help.

    --David

    P.S. Couldn't resist googling around to get your name! Hope you don't mind.

  19. jibbius
    Member
    Posted 2 years ago #

    Excellent.
    That's great progress - you've still got site 1 as a backup; if you loose site 2 no real loss.

    The steps to get site 2 running; are provided (in overwhelming detail) here: http://codex.wordpress.org/Changing_The_Site_URL

    The essential stuff is really as follows:
    - Run the steps above to change your home + siteurl options. [ To http://thebookofyourlife.net ]
    - If you can login to WP dashboard at this point, do so.
    - Go to the Settings > Permalinks menu.
    - Modify the Permalink structure (you can choose between about 5 different options). Save. You can then change it back again and save. This will refresh the structure of pagelinks within the site.

  20. jibbius
    Member
    Posted 2 years ago #

    Hahaha, no worries :)

    Goodluck for tomorrow.
    - Jack ( http://wherethetruck.at/trucks/jack/ )

  21. ngrailreishih
    Member
    Posted 2 years ago #

    Hi Jack,

    Success!!! Followed your instructions to the letter, and I now have access to the WP dashboards for both sites, and all the links work as they are supposed to.

    As far as I can tell, I ought to be able to delete the old site now, which I'd like to do because it's a loose end I don't want hanging around to cause confusion a year from now when the domain registration expires.

    But here's the original problem that probably caused all this angst in the first place: To delete a blog, WP says to use Tools->Delete Blog, but my dashboard for both site 1 and site 2 does NOT HAVE this option. I have Tools->Export and Tools->Import, and that's it!

    If you have the patience to provide one last pointer to how to deal with this -- how to delete site 1 -- I would be most grateful; but as it is I am already eternally in your debt for saving the day, and it probably won't kill me to just leave well enough alone at this point. I haven't really a clue what I did, except that I followed your very clear and precise instructions and they worked.

    BTW, Love your food truck site. Used to have great bratwurst mit pommes frites from a truck that made nightly stops at a barracks in Germany where I was stationed.

    Happy New Year! If you're ever in Hawaii, look me up!

    David

  22. jibbius
    Member
    Posted 2 years ago #

    Cheers.

    Easiest way to delete the site might be in Dreamhost?
    The exact process differs from host to host.

    If you delete the database (through phpmyadmin?), and the files (through FTP), then the site will be completely gone.

    Your other two options are:
    - Install a "force login" plugin. users will be forced to login before they can access the site at all. You can then use the site to test new plugins, and new versions of wordpress before upgrading your live site. Might be handy to have?
    - Set up a redirect from site 1 to site 2. Anyone trying to access site 1 will just be redirected. There are a couple of ways to do this.

  23. ngrailreishih
    Member
    Posted 2 years ago #

    I've "Remove"d storysmithy.com on Dreamhost. What that did was stopped DH from hosting the site, but it still provides the DNS. There is an option to Delete the domain, but it then says:

    Destroying ALL hosting for storysmithy.com:
    Are you absolutely certain you want to trash the domain storysmithy.com and all of the services beneath it?

    This includes email aliases, email addresses, email mailboxes, email messages, email autoresponders, email lists, MySQL hosts, Simple One-Click Installs, everything!

    Be VERY sure you want to do this!

    Also note - You will not be able to re-add this domain to a different DreamHost account if that account signed up with a promo code or a referrer!

    It sounds scary and gives me pause (as it is clearly and rightly designed to do) but since I didn't set up any emails or anything, I *think* I should be safe to Delete it. I don't see how doing that could affect my new domain, thebookofyourlife.net, seeing that both now appear to be working completely independently of one another (no more domain cross-referencing, thanks to the fixes you prescribed).

  24. jibbius
    Member
    Posted 2 years ago #

    Well you've accomplished everything you set out to.

    You could also delete the database as well, although there's no great need. Certainly safer not to.

    Leave the domain there, you may want to use it for another purpose later - this stuff varies from host to host. But sounds as though deleting it may have other implications (i.e. if you ever want the domain back).

    Glad it's all working, and goodluck with the new site.

  25. Ipstenu-DH
    DreamHost Rep
    Posted 2 years ago #

    jibbius, thank you so much for being so awesome and helpful :)

    ngrailreishih, if you want to delete the website only, but leave the rest of your site (email etc) intact, the easiest way is to delete the files via FTP and then the database from your panel. You can't delete the DB via phpMyAdmin here, but if you go to https://panel.dreamhost.com/index.cgi?tree=goodies.mysql&amp; you can delete the DB there.

  26. ngrailreishih
    Member
    Posted 2 years ago #

    Mike, thanks so much for your advice. I am glad to know that WP is indeed keeping an eye on these forums, and stepping in to help when necessary. But you are right -- Jack (jibbius) was truly magnificent. He sure knows his WordPress!

    Thanks also for WordPress itself. I am amazed that I have been able to set up several websites that look really sophisticated, yet are so easy to build and maintain.

Topic Closed

This topic has been closed to new replies.

About this Topic