Forums

AwardSpace DB_HOST Problem (5 posts)

  1. Marvey25
    Member
    Posted 2 years ago #

    I am using awardspace as my host and I have installed the wordpress files via filezilla but when I visit my domain, I get this message:

    Parse error: syntax error, unexpected T_STRING in /~/www/mysite.awardspace.info/wp-config.php on line 28

    Now, I have identified line 28 in the wp-config file as;

    /** MySQL hostname */
    define('DB_HOST', 'fdb1.awardspace.com');

    I have also tried fdb2.awardspace.com as the host.

    This seems to be the root of the problem. Any help?

    Thanks!

  2. Samuel B
    moderator
    Posted 2 years ago #

    ask or look at their docs if in doubt, but the last time I did some installs there - that was the format

    the line number is not always accurate either

  3. songdogtech
    Member
    Posted 2 years ago #

    Backspace and then add spaces to be sure there are no invisible control characters in the file, and make sure you have single straight quotes, too. See Editing wp-config.php « WordPress Codex

  4. Marvey25
    Member
    Posted 2 years ago #

    Thanks

    Doesn't seem to be working..

    I think I may look for another host. Is GoDaddy a good option? and will I be able to create a wordpress website opposed to a blog?

  5. Kailash
    Member
    Posted 2 years ago #

    It seems there is some additional space or characters in wp-config.php file somewhere. Download the wordpress from wordpress.org and rename sample wp-config file and make necessary changes. Upload the updated file in your website and see if it helps or not.

Topic Closed

This topic has been closed to new replies.

About this Topic