• I have heard all the hooplah, but I know GoDaddy users that successfully run WordPress and since I have already PAID I really need this to happen.
    I have, to the best of my knowledge done everything correctly, but apparently not.
    I created a database. I assigned a username and password, then godaddy gives the db the same name you give for a username.
    Godaddy says that the database is ‘active.’
    I unzipped the package.
    I opened up the wp-config-sample.php with EditPlus and filled in the database connection details (see below)
    I saved the file as wp-config.php
    Uploaded everything into a file named ‘blog’ in the root directory.
    https://www.sanders5.com/blog/wp-admin/install.php will not launch.
    Here is what the wp-config.php file looks like (btw: do I need to assign a language if I require English?)
    <?php
    /** WordPress’s config file **/
    /** https://www.ads-software.com/ **/
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘famblog’); // The name of the database
    define(‘DB_USER’, ‘famblog’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘thewordichose’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’
    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);
    /* Stop editing */
    $server = DB_HOST;
    $loginsql = DB_USER;
    $passsql = DB_PASSWORD;
    $base = DB_NAME;
    define(‘ABSPATH’, dirname(__FILE__).’/’);
    // Get everything else
    require_once(ABSPATH.’wp-settings.php’);
    ?>

Viewing 15 replies - 16 through 30 (of 38 total)
  • Also, notice Erik810’s reply above, where he “started over with a clean install and the same settings, and it worked”. So, another vote for the settings being OK. I will try publishing everything cleanly up to the site tonight. Any other suggestions warmly appreciated….

    I finally figured out the issue here, and the issue is that the WordPress script and GoDaddy Windows web hosting don’t quite get along.

    Specifically, the lines that produce the error that everyone is mentioning above are these, from wp-settings.php:

    if ( !extension_loaded(‘mysql’) ) {
    die( ‘Your PHP installation appears to be missing the MySQL which is required for WordPress.’ );
    }

    Well, to debug the issue, I inserted the folling line immediately before the “die” statement:

    print_r(get_loaded_extensions());

    and guess what?? GoDaddy does indeed have “mysql” loaded. I understand that the extension name is case-sensitie, and all, but it matched exactly!!! And still, the “extension_loaded” call above failed. My solution was to simply comment out all the lines listed above in wp-settings.php, like this:

    //if ( !extension_loaded(‘mysql’) ) {
    // die( ‘Your PHP installation appears to be missing //the MySQL which is required for WordPress.’ );
    //}

    Then I re-uploaded, tried install.php again, and things just worked. Well, I’m lying… it gave me a bunch of “table not found” errors before displaying the Step 1 text, and it took me *days* to figure out that I should just ignore those errors… Step 1 (or was it Step 2?) will create the tables in the data base, and then all will work fine.

    I should emphasize that this was a Windows GoDaddy host, not a Linux one, so YMMV if you chose a Linux host.

    Hope this helps someone get past this particular error.

    Coders and PHP mavens, why would this statement error out on GoDaddy’s host, when “mysql” was in fact installed???

    Thanks a lot,

    Green

    Okay – I’ve installed WP on godaddy several times in the past, and I know I’m changing the config file properly, however godaddy has added a “manager” and it seems they’ve made other changes we’re not aware of how to deal with yet.

    I performed the install exactly as I have in the past, and wind up with this: Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at mysql43.secureserver.net. This could mean your host’s database server is down.

    I know that the database server/s aren’t down, because all other sites on which I’ve installed WP PRIOR to this “change” they made, are working fine.

    Any further ideas on what has happened?

    Incidentally, this is on Linux hosting all around…

    esmusssein

    (@esmusssein)

    Hey – thanks all for this thread. Following the advice to simply comment out the lines as suggested by GreenRedBrownell worked for me (using windows godaddy host)

    good luck to others. It’s definitely confusing.

    slipperystar

    (@slipperystar)

    This worked for me too! Thanks!

    Now if only I could get plugins to work…..I get the message “Couldn’t open plugins directory or there are no plugins available”…what should I be asking Godaddy if they need to adjust soemthing? Please I would appreciate your advice.

    Also, anyone who uses Godaddy and can use plugins, do you know what you did to activate them? Any help would be great….
    Tom

    I just got off the phone with Godaddy and it is confirmed that you CAN NOT use the Windows Economy Plan to run WordPress. If you want to use Windows as your OS “WordPress MAY run under the Deluxe Plan”. I beleive this is because of the modifications that need to be made to the PHP.ini file in the Winnt Directory. You can install WordPress on the Linux Economy Plan without any problems.

    This is from the Godaddy website:

    Can I install WordPress on my hosting account?
    Last Updated: November 16, 2005 3:53 PM
    Print This Article

    Yes, you can install WordPress on your hosting account.

    WordPress is a personal publishing platform, or content management system, that you can use to set up a blog on your Web site.

    To install WordPress, create a MySQL database in your Hosting Manager, and make note of the hostname, user name, and password for your database. You’ll need this information to set up WordPress.

    For instructions on how to install and configure WordPress, visit the the WordPress Codex.

    I have just switched my accounts to Linux. It will take 72 hour to complete the conversion and if I will report back if there are any problems.

    What did you find out about how to make this work? I’m having the same exact problems outlined in this thread and can’t get my installation to work. Is there a step-by-step install guide just for users of GoDaddy.com hosting Linux and Windows? Uh this is frustrating knowing I am this close to getting it installed and yet i get stopped.

    Ok, well I can’t say I know much about wordpress. But I have done a couple installs on machines not on GoDaddy’s network. I just signed up with GoDaddy with an Economy Linux plan and registered the domain https://www.protocollon.com for my podcast. You can check it out know, but it is just the standard template as I literally just found this forum and decided to try things out for myself. Anyways, here is my step by step.

    1. Log into your hosting Control Panel and click on MySQL.
    2. Click Create New Database and give it a unique name, in my case I used protowordpress
    3. Give it a password and click ok.
    4. Click next and give it about 5 minutes, then click on your database in the MySQL manager.
    5. It should bring up a page that says Database Name, then under that Host Name. In my case, mysql93.secureserver.net.
    6. Download a fresh install of wordpress. I used 2.0 because it was easy to find.
    7. Rename wp-config-sample.php to wp-config.php and open it in textedit.
    8. Edit these lines below to match your info. Here is mine for example, except with a different password.

    define(‘DB_NAME’, ‘protowordpress’); // The name of the database
    define(‘DB_USER’, ‘protowordpress’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘2password2’); // …and password
    define(‘DB_HOST’, ‘mysql93.secureserver.net’);

    9. Save the document.
    10. Select everything in your wordpress folder and FTP all of it to the root directory of your GoDaddy server.
    11. Go to https://www.yourserver.com/wp-admin/install.php
    and run it through the steps.
    12. Go to https://www.yourserver.com and see what comes up, it should be the bog standard template.

    This worked on first try for me, and it took less than 15 minutes from purchasing my account from GoDaddy to having wordpress running.

    -GD

    I also had the same issue getting it setup. The reason the default install doesn’t work is this that the “is mySQl extension installed” check is not an available php function on thier php server. Bypassing the script as stated above got me past that error. See below:

    From GoDaddy.com’s help center
    The following PHP functions are disabled on all of our Windows hosting accounts:
    .
    .
    .
    extension_loaded
    .
    .
    .

    I had the install problem on a Godaddy linux server. I found out that not all servers have the problem. After creating a new database I got the 97 server and it worked. The 103 didn’t work

    Just installed on a Go Daddy Economy account. Sorry if this is repeated here elsewhere, but they will switch a Windows server to Linux automatically if you put the request in (same link as to upgrade hosting account), and you can pick Linux now even for their free hosting that comes with new domains.

    okay–apparently many of us are having a problem with this. i did take the advice of the person who commented out some of the lines in the settings file (extension loaded…) and this seemed okay but then the the page change included the following:

    /* Simple AJAX Code-Kit (SACK) */ /* ?2005 Gregory Wild-Smith */ /* https://www.twilightuniverse.com */ /* Software licenced under a modified X11 licence, see documentation or authors website for more details */ function sack(file){ this.AjaxFailedAlert = “Your browser does not support the enhanced functionality of this website, and therefore you will have an experience that differs from the intended one.\n”; this.requestFile = file; this.method = “POST”; this.URLString = “”; this.encodeURIString = true; this.execute = false; this.onLoading = function() { }; this.onLoaded = function() { }; this.onInteractive = function() { }; this.onCompletion = function() { }; this.createAJAX = function() { try { this.xmlhttp = new ActiveXObject(“Msxml2.XMLHTTP”); } catch (e) { try { this.xmlhttp = new ActiveXObject(“Microsoft.XMLHTTP”); } catch (err) { this.xmlhttp = null; } } if(!this.xmlhttp && typeof XMLHttpRequest != “undefined”) this.xmlhttp = new XMLHttpRequest(); if (!this.xmlhttp){ this.failed = true; } }; this.setVar = function(name, value){ if (this.URLString.length < 3){ this.URLString = name + “=” + value; } else { this.URLString += “&” + name + “=” + value; } } this.encVar = function(name, value){ var varString = encodeURIComponent(name) + “=” + encodeURIComponent(value); return varString; } this.encodeURLString = function(string){ varArray = string.split(‘&’); for (i = 0; i < varArray.length; i++){ urlVars = varArray[i].split(‘=’); if (urlVars[0].indexOf(‘amp;’) != -1){ urlVars[0] = urlVars[0].substring(4); } varArray[i] = this.encVar(urlVars[0],urlVars[1]); } return varArray.join(‘&’); } this.runResponse = function(){ eval(this.response); } this.runAJAX = function(urlstring){ this.responseStatus = new Array(2); if(this.failed && this.AjaxFailedAlert){ alert(this.AjaxFailedAlert); } else { if (urlstring){ if (this.URLString.length){ this.URLString = this.URLString + “&” + urlstring; } else { this.URLString = urlstring; } } if (this.encodeURIString){ var timeval = new Date().getTime(); this.URLString = this.encodeURLString(this.URLString); this.setVar(“rndval”, timeval); } if (this.element) { this.elementObj = document.getElementById(this.element); } if (this.xmlhttp) { var self = this; if (this.method == “GET”) { var totalurlstring = this.requestFile + “?” + this.URLString; this.xmlhttp.open(this.method, totalurlstring, true); } else { this.xmlhttp.open(this.method, this.requestFile, true); } if (this.method == “POST”){ try { this.xmlhttp.setRequestHeader(‘Content-Type’,’application/x-www-form-urlencoded’) } catch (e) {} } this.xmlhttp.send(this.URLString); this.xmlhttp.onreadystatechange = function() { switch (self.xmlhttp.readyState){ case 1: self.onLoading(); break; case 2: self.onLoaded(); break; case 3: self.onInteractive(); break; case 4: self.response = self.xmlhttp.responseText; self.responseXML = self.xmlhttp.responseXML; self.responseStatus[0] = self.xmlhttp.status; self.responseStatus[1] = self.xmlhttp.statusText; self.onCompletion(); if(self.execute){ self.runResponse(); } if (self.elementObj) { var elemNodeName = self.elementObj.nodeName; elemNodeName.toLowerCase(); if (elemNodeName == “input” || elemNodeName == “select” || elemNodeName == “option” || elemNodeName == “textarea”){ self.elementObj.value = self.response; } else { self.elementObj.innerHTML = self.response; } } self.URLString = “”; break; } }; } } }; this.createAJAX(); }

    First Step
    Before we begin we need a little bit of information. Don’t worry, you can always change these later.

    Weblog title:
    Your e-mail:

    Double-check that email address before continuing.
    __________________________________________________________

    i tried this in firefox and in internet explorer. even though i got the word press sections at the bottom, i had all this other stuff on top.

    can anyone advise me what to do? thank you.

    This could be a long shot, but are you using ftp:// or https:// to access the installation file? I was stuck for a whole day because I was typing the former, while it’s just https:// — not sure if this might help or not. I have two WordPress blogs on GoDaddy Economy Hosting (with PHP), so I knew it can be done;)

Viewing 15 replies - 16 through 30 (of 38 total)
  • The topic ‘Trying to install with GoDaddy’ is closed to new replies.