Back Home

Open Designs

Community. Driven.

    •  
      CommentAuthorJeremyD
    • CommentTimeJun 3rd 2008 edited by JeremyD on the 03rd June 2008 at 16:34:40 EDT
     
    I'm working on making a simple cms with dreamweaver (sorry). And the host I need to upload this to is godaddy. I built the cms and it worked fine via WAMP. So I uploaded the files to the server and imported the database. I go to the php file and i get a blank page. The title doesnt even load. So obviously something is happening and the file isn't even getting a chance to load.

    so I changed the connection info (username/password) and tried it on my site and it worked perfectly...so obviously it's gdaddy's fault.

    so does anyone with godaddy experience know if there's any trick to connecting to godaddy database?
    • CommentAuthorMattKern
    • CommentTimeJun 3rd 2008
     
    I remember having to hunt for the user and database info.

    in the GD admin - go to your main database page, click on that database and the next page should be your database info. Make sure it matches what you think it is. It took me a few tries.

    Also be aware it takes them up to an hour to deal with .htaccess stuff. I learned this with WP and permalinks.

    A good thread would be "Who sucks more - GO Daddy or Network Solutions"

    I vote for netsol
    •  
      CommentAuthorJeremyD
    • CommentTimeJun 3rd 2008
     
    I'm guessing godaddy is part of the 10% that doesn't let you simply put "localhost" as the host?
    •  
      CommentAuthorSean
    • CommentTimeJun 3rd 2008
     
    @JeremyD: if localhost doesn't work, put 127.0.0.1
    • CommentAuthorniemion
    • CommentTimeJun 3rd 2008
     
    Posted By: JeremyDI'm guessing godaddy is part of the 10% that doesn't let you simply put "localhost" as the host?

    Actually the WP-config-sample.php states that there's 99% chance you shouldn't change localhost.

    I have been with a variety of different hosts and I have yet to discover one where you can let "localhost" be unchanged.

    I guess it's something a drunken tailor once wrote.
  1.  
    I avoid them as much as possible for hosting, but I swear by them and their higher prices for domain names. I know that it would take a lot for them to pull another Register Fly mess on me.
    •  
      CommentAuthoracousticsam
    • CommentTimeJun 3rd 2008 edited by acousticsam on the 03rd June 2008 at 21:50:11 EDT
     
    Posted By: niemionActually the WP-config-sample.php states that there's 99% chance you shouldn't change localhost.

    I know that if you use 1&1 Hosting, you do have to change that value when setting up WordPress.

    Just for the record.
    •  
      CommentAuthorSean
    • CommentTimeJun 3rd 2008
     
    changing a setting from localhost to 127.0.0.1 takes like 2 seconds... it's an easy thing to do.
    • CommentAuthorfernbap
    • CommentTimeJun 4th 2008 edited by fernbap on the 04th June 2008 at 04:59:54 EDT
     
    I know many webhosts and only one of them uses localhost. Most of them have a specific server name for MySQL. 127.0.0.1 is equivalent to localhost, so it wouldn't work either.
    On the shared server universe, MySQL server is NEVER localhost.
    First thing you should find is the MySQL server name.
    •  
      CommentAuthormarkwest
    • CommentTimeJun 4th 2008 edited by markwest on the 04th June 2008 at 07:29:32 EDT
     
    A blank page in php is normally caused by a php critcal php error being generated on a server that has display of errors turned off.

    As a diagnostic you can add the following code early on in your php script to reconfigure php to display errors.


    ini_set('display_errors', 1);


    Additionally you may need to alter the error reporting level. The following code will do this


    error_reporting(6143);


    For more info see
    While this won't fix the problem it will at least allow you to see what the problem actually is.

    -Mark
    • CommentAuthorMattKern
    • CommentTimeJun 4th 2008
     
    For what its worth, here is the login info from my recent install

    define('DB_NAME', 'my_wordpress'); //
    define('DB_USER', 'my_wordpress'); // note: your dbname is also your user name
    define('DB_PASSWORD', 'WhaddyaThinkImStupid'); //
    define('DB_HOST', 'h41mysql49.secureserver.net'); // definately not 'localhost'
    •  
      CommentAuthorJeremyD
    • CommentTimeJun 4th 2008
     
    I'm going to give all of this a try when I get to work (in an hour or so), so i'll let ya'll know how it goes.
    •  
      CommentAuthorJeremyD
    • CommentTimeJun 4th 2008
     
    I tried your code, Mark and it's still coming up white.
    Also tried your login info (obviously with my own, but using yours as a basis), Matt. Still nothing :(

    I was reading around the internet and someone said that windows servers (which is, unfortunately, what the site is hosted on) have a bunch of php features disabled? is this true, and could that be contributing to the problem? All I'm doing is having a form update some stuff on the database and then display it on a page. REALLY basic php stuff.
    • CommentAuthorXSQueen
    • CommentTimeJun 4th 2008
     
    FWIW I have a couple of ppl who are hosting on GoDaddy and pulling their hair out trying to get their sites to display correctly. I tried helping one of them but the tech support I encountered at GoDaddy was about as helpful as a mime with one bird gesture in its vocabulary. Thank Goodness I host with Dreamhost .. for all the headaches they gave me with the seperate FTP logins for different user FTPs and files showing up in weird directories, i still prefer them to GoDaddy or 1&1 or even Pair.net (hosts I had to deal with for less techie friends ...)
    •  
      CommentAuthorJeremyD
    • CommentTimeJun 4th 2008
     
    well this is the website for the company I work at and the host was already picked before I showed up. Believe me, if it were up to me we'd be using my host, Bihira. I want to bring it up that we should change hosts, but I'm reluctant because they paid for 2 years in advance and I doubt there's any way to get out of it (let me know if I'm wrong).
    •  
      CommentAuthormarkwest
    • CommentTimeJun 4th 2008
     
    Very odd. That is usually the cause of blank white pages in php. Do godaddy offer access to any kind of php logs that may indicate the problem?

    To find out what php stuff is active you can use the phpinfo function. Create a script with the code

    phpinfo();

    Call this script from your browser to get a phpinfo report.

    If that doesn't work then i'd suggest going with the idea of the thread title smile

    -Mark
    •  
      CommentAuthorJeremyD
    • CommentTimeJun 4th 2008
     
    I'm still exploring GoDaddy's crapfest of a account area, so I'm not sure about php logs. I'm looking into it though.

    the php info worked though. *grabs a knife* still might have to stab godaddy though.

    i sent them an email askign what it would take to get a refund for some of the prepaid hosting so I can get us a different host.
    •  
      CommentAuthorJeremyD
    • CommentTimeJun 4th 2008
     
    Apparently windows servers have no support for PHP...
    So godaddy provided me with a way to switch over to a linux server. so yay!