WordPress.org

Ready to get started?Download WordPress

Forums

Parse Error - Can't Log in to WordPress to Fix (8 posts)

  1. acalltofaith
    Member
    Posted 2 years ago #

    I was trying to put the facebook "Like" button onto my WordPress site and accidentally put it in a wrong spot that crashed the program.

    Here is the error message:

    Parse error: syntax error, unexpected '<' in D:\Hosting\8622101\html\wp-content\themes\organic_natural\includes\custom-header.php on line 3

    I can no longer log into WordPress. Also get same Parse error.

    Can anyone please help.

    Thanks

  2. adpawl
    Member
    Posted 2 years ago #

    Edit file via FTP.

  3. acalltofaith
    Member
    Posted 2 years ago #

    Tried going through GoDaddy to get in the back door but had no luck. Where do I find the FTP, excuse my ignorance!

  4. adpawl
    Member
    Posted 2 years ago #

  5. Harrison O.
    Member
    Posted 2 years ago #

    1- login to godaddy
    2- My account
    3- web hosting
    4- Launch the hosting associated with that domain
    5- click on FTP file manager located at the top and below the name "Hosting Dashboard".
    6- open the wp-content directory
    7- open the plugins directory
    8- Select the plugin you have installed
    9- click on "rename it" and give it a new name or just delete it.
    10- now you should be able to login

  6. acalltofaith
    Member
    Posted 2 years ago #

    Thanks for the detail. I did not use a plugin but copied and pasted the code into the custom-header section on line 3. So I'm with you up to step number 8.

    What next my friend?

  7. Harrison O.
    Member
    Posted 2 years ago #

    1- login to godaddy
    2- My account
    3- web hosting
    4- Launch the hosting associated with that domain
    5- click on FTP file manager located at the top and below the name "Hosting Dashboard".
    6- open the wp-content directory
    7- open the themes directory
    8- open the theme you're using.
    9- select the header.php (if that is the one you added the code).
    10- Click on edit.
    11 make the change and save it.

  8. acalltofaith
    Member
    Posted 2 years ago #

    Hfort,

    You are the man. Thank you so much. If you want to take a look at what you just revived, go to http://www.acalltofaithbook.com.

    Book just went live and the site being down was untimely to say the least.

    Thank you to all who helped in this resurrection!

Topic Closed

This topic has been closed to new replies.

About this Topic