Search Computing Unplugged's 16,595 article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
WORDPRESS TRICKS
When WordPress 3.0 Multisite won't let you log in
By David Gewirtz

I recently set up a local WordPress installation to do some plug-in development. I did the normal install for a single-site, logged in, and everything worked fine. Bob's your uncle.

Later, I converted the installation to multisite and found I couldn't log in anymore. It was the strangest thing. I finally figured out the problem, but before I share that with you, let me give you some details.

  • I'm using the latest WordPress downloaded from wordpress.org, the latest XAMPP build, on a Windows 7 machine.
  • I created a hosts file that points the host xampp to 127.0.0.1.
  • I created a database called 'wordpress' in MySQL, and then ran the WordPress install process, giving it my database, the login, the domain, etc. It gets all the way through to the Installation finished page, and seems to be fine.
  • I converted the install to multisite.
  • Then, when I clicked the Login button, entered the login and password, and then hit the login button, WordPress just redirected me back to the login page and absolutely refused to let me log in.
  • I knew the database had been created and so had the user, since I checked it with HeidiSQL.
  • I knew I was using the right password because I cut and pasted it in right from the screen.
  • Also tried this multiple times, each time deleting the full database and the full wordpress folder, with exactly the same results.

So, what do you think went wrong? Ah, as it turns out, the answer is: the local host needs a top-level domain. When I put xampp.dev in the hosts file rather than just xampp, it all worked.

For the record, yes, I know this isn't a WordPress site. We're working on migrating over, which is a very BIG job. That's why I'm doing so much plug-in coding.

David Gewirtz is the author of How To Save Jobs and Where Have All The Emails Gone? For more than 20 years, he has analyzed current, historical, and emerging issues relating to technology, competitiveness, and policy. David is the Editor-in-Chief of the ZATZ magazines, is the Cyberterrorism Advisor for the International Association for Counterterrorism and Security Professionals, and is a member of the instructional faculty at the University of California, Berkeley extension. He can be reached at david@zatz.com and you can follow him at http://www.twitter.com/DavidGewirtz.


Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent Computing Unplugged Articles
Smartphone smarts for a mobile world
The heartbreaking story of our NuSphere PhpEd PHP IDE review
Turn off Wi-Fi when you don't need it
Online safety for kids: how to protect your future employability
Choosing the right smartphone for you
Picture Porter 35, a portable hard drive/viewer for photographers
Time to pay the paper?
Computing Unplugged News
Botnet Takedown May Yield Valuable Data
Meet the Galaxy Tab
Happy 2nd Birthday, Google Chrome
First looks at new iPod Nano, Touch, Apple TV, iTunes
Why WebOS 2.0 Should Have Rivals Worried
Sony Debuts Snazzy New Touchscreen E-readers
After BlackBerry, India now wants access to Google, Skype, VPN data
>> Read all the news
More from the ZATZ journals
David Gewirtz Online: CNN commentary and analysis
DominoPower: It's time for Lotus to double-down on Linux and open source
OutlookPower: The strange case of Outlook losing notes and requiring passwords
-- Advertisement --

BLOGGING AND PODCASTING WITH ONE EASY-TO-USE TOOL
Now you can publish your thoughts, opinions, and comments in your own blog or podcast.<p />

  • Supports multiple authors and multiple blogs or podcasts.
  • Generate and publish RSS feeds for iTunes and other directories.
  • Post photos, images or animations.
  • Get feedback and have conversations with visitors to your site. <p />

Personalize your blog or podcast with your own unique domain name -- or integrate it with your existing site by setting it up as a subdomain.

Tap here and get blogging or podcasting within minutes.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 2003-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login