WordPress.org

Ready to get started?Download WordPress

Forums

Syntax Error #4 (21 posts)

  1. ddeemoore
    Member
    Posted 6 years ago #

    Parse error: syntax error, unexpected T_STRING in /home/anything/public_html/manifestdestinynow/wp/wp-config.php on line 4

    I have uninstalled and I am trying to install again. This is the error please help. I have been at this all day...

    Also, can someone explain to me how I could get this to be just http://www.manifestdestinynow.com without all the extra addons. Thanks for the help.

  2. moshu
    Member
    Posted 6 years ago #

    1. It is NOT syntax error #4.
    You made an error in line number 4 of the wp-config file when editing. Line #4 is this:
    define('DB_USER', 'usernamehere'); // Your MySQL username

    2. There is no such domain as you posted above.
    In your other post you have a completely different domain:
    http://www.anythingamancando.com/

  3. ccoupe
    Member
    Posted 6 years ago #

    Those are file paths from your servers point of views which can be wildly different from what a brower uses. You can't change it.

    I'd guess you left out a quote mark in you wp-config.php. Probably on line 3 but that's only a guess. Or you added an hidden character or space before the <php. in line 1.

    If so, you can reload that all day and nothing will change until you fix it.

  4. ddeemoore
    Member
    Posted 6 years ago #

    moshu - i know that but I installed wp onto that subdirectory (www.manifestdestinynow.com/wp)

    What I want to know is how can I remove the anythingamancando part. So instead of http://www.anythingamancando.manifestdestinynow.com/wp it will just be http://www.manifestdestinynow.com

    I hope that clears things up and you are able to help me.

    thanks a bunch.

  5. moshu
    Member
    Posted 6 years ago #

    OK, I'll repeat again: there doesn't seem to be a domain manifestdestinynow.com.
    Did you register (buy) that domain?

    There is only http://www.anythingamancando.com - that's a working domain. Is that yours?

    I don't really understand what you want with a non-existent domain... but that's the lesser problem. You don't seem to understand either.

  6. ccoupe
    Member
    Posted 6 years ago #

    Moshu types faster than me. ;^)

    Something isn't right. A disturbance in the force. Neither site resolves. Who wants to bet he'll be back with another site and another problem and another user name? I could be wrong.

  7. ddeemoore
    Member
    Posted 6 years ago #

    no i won't. and i am a female trying to do it for her self. and only with this one site. If I learn how to do it, then I won't bother folks. I thought this was the place to ask for help.

  8. ddeemoore
    Member
    Posted 6 years ago #

    Please help me. I am truly in need of help. I have been at this all day. Thanks in advance.

  9. moshu
    Member
    Posted 6 years ago #

    We are back on square one:
    http://www.anythingamancando.com/manifestdestinynow/wp/
    WP installed without theme/stylsheet.

  10. moshu
    Member
    Posted 6 years ago #

    This is the place for asking help... and is also the place to answer questions when you are asked. Till now you didn't.

    Please, re-read ALL my posts and questions above and answer to them.

  11. ddeemoore
    Member
    Posted 6 years ago #

    Can you tell me where I can find the theme/stylesheet?

    Im very new at this. I hear your frustration. Please don't be mad a me. I am really confused.

  12. ddeemoore
    Member
    Posted 6 years ago #

    Also, when I put in my username and password I get this

    "internet explorer can't access webpage."

  13. ccoupe
    Member
    Posted 6 years ago #

    I did say I could be wrong. Don't play the gender card, everyone is equal until they claim they aren't. K?

    You have DNS and hosting problems which only your host and you can figure out.

  14. moshu
    Member
    Posted 6 years ago #

    Forget the stylesheet!
    Just answer if you want help, OK?

    1. There is no domain http://www.manifestdestinynow.com.
    Did you register (buy) that domain?
    Yes? No?

    2. There is only http://www.anythingamancando.com - that's a working domain. Is that yours?
    Yes? No?

    ===========
    Login to your admin panel > Options > General and correct the two URI values: they can NOT be fantasy domains, only the real location of the WP install. Do you get it???

  15. ddeemoore
    Member
    Posted 6 years ago #

    Thanks ccoupe. You are really helping me out here....

  16. ccoupe
    Member
    Posted 6 years ago #

    I'll bet your options setting don't match the DNS. You can't change website addresses just by change the WordPress option settings.

  17. ddeemoore
    Member
    Posted 6 years ago #

    Yes I own both domains. And I cant log in.

  18. ccoupe
    Member
    Posted 6 years ago #

    You have a webpage at http://www.anythingamancando.com.

    if you want the other domain that none of can get to point to that server, you have to tell your DNS provider where to send it. AND you have to wait for that to happen which can take a few days.

    Then you need to get your web host to map the manfiest destiny thingy to the directory you want and then you have to set the Options in WP to reflect what the host remapping is.

    URL's are not files. Repeat. URL's are not files.

  19. moshu
    Member
    Posted 6 years ago #

    OK, you own the domain MANIFESTDESTINYNOW.COM. It has been registered a month ago with godaddy :)
    Did you change recently the dns servers (as ccoupe already asked)?
    Did you move recently the domain from godaddy to another host?
    Who is your host? Is this manifest... thing a real domain or just an add-on?

  20. ddeemoore
    Member
    Posted 6 years ago #

    OK, you own the domain MANIFESTDESTINYNOW.COM. It has been registered a month ago with godaddy :)
    Did you change recently the dns servers (as ccoupe already asked)? Yes. It is pointed to the correct DNS.

    I had it up yesterday. But uninstalled and tried again because It wasn't looking right. Shoot. I had it up today.

    Did you move recently the domain from godaddy to another host? No. I have always used FATJACKHOSTING. Always.

    Who is your host? FATJACKHOSTING. Is this manifest... thing a real domain or just an add-on? I purchased the domain name and added it to anythingamancando as an add-on domain. I have unlimited hosting. you can see another of my sites at http://www.missyhouseofhope.org.

    What I want is for wp to be on http://www.manifest.... thats it. should i uninstall and try again fresh....

    As a matter of fact... I was able to log in earlier today...but uninstalled because of the theme thingy...

    Thanks....

  21. moshu
    Member
    Posted 6 years ago #

    I purchased the domain name and added it to anythingamancando as an add-on domain.

    That might be your problem. On most hosts the "add-on" means - it will point to your 'normal' domain and you cannot install anything on it.

    I had it up yesterday.
    You mean here: http://www.manifestdestinynow.com ? Then talk to your host because there is nothing there now.

Topic Closed

This topic has been closed to new replies.

About this Topic