Error on install – new HostGator account

I have created a new hosting account at HostGator, created an empty database, uploaded the wpmu files and begun the install process. I immediately get the following error. HostGator tech support informs me that this is an error with the script. Any advice on how I can correct this error.

Fatal error: Call to undefined function wp_die() in /home/kirkward/public_html/wp-includes/wp-db.php on line 1147

  • Kirk Ward
    • Syntax Hero

    I followed all steps, uploaded again, cleared cache, checked db, etc., and discovered that on Hostgator, the database username has to be preceded by the hostgator account username.

    So, if I set a db username as dbwpmu, and my Hostgator username was kirk, then when I installed wpmu, I needed to use kirk_dbwpmu as the username.

    New thought process for me.

    Also, sort of clunky if you ask me. Which I guess you didn’t.

  • Kirk Ward
    • Syntax Hero

    The clunky part ito me is the way Hostgator requires the account name as part of the username. Not so obvious to me as I’ve been on another system previously and never even thought of having to do that.

    I have all of my other domains at WestHost and the Westhost system seems to act as if I’m on a dedicated server. I guess it must be a VPS, although since I’ve been with them almost 13 years, I’ve never bothered to ask.

    Only reason I’m starting to spread my hosting accounts around is that the company that provides Westhost datacenter services had a major meltdown about a week ago and westhost lost about 70 servers. All of mine were back up in about three days, but there are some that aren’t back up after a week, and some that may never recover. I decided to spread the risk. Having backups still wouldn’t help if I lost everything. I’d be down for months until everything was installed somewhere else, license keys were recovered, etc.

  • Barry
    • DEV MAN’s Mascot

    Most shared hosts do that I’m afraid. In fact, pretty much all of the ones I’ve used do. It means that there isn’t a problem with duplicate user or database names on their large MySQL servers.

    Image the number of support questions they’d have if everyone wanted to call their database “wordpress”

  • Kirk Ward
    • Syntax Hero

    Yeah, I’m thinking a lot of it is that I’ve never been on shared hosting before. I have 15 accounts at Westhost, with multitudes of domains. I’ve never had to think about it as I was able to identify each of my databases and know that I needed a new db name, or user name when adding a user.

    So much to learn, so little to space to put it.