WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Parse error: syntax error, unexpected ';' in... (8 posts)

  1. magician1111
    Member
    Posted 4 years ago #

    Hi, I was in my theme functions. I have Cordobo Greenpark 2. I was looking for how to change the color of my navigation. I must have changed something else because now my whole blog is broken. When you go to my url all that comes up is: "Parse error: syntax error, unexpected ';' in /home/content/95/5351795/html/wp-content/themes/cordobo-green-park-2/functions.php on line 334" The same error happens when I try to re-enter the admin. I backspaced while still in the admin and when I click the Update File button I get the same error. Also, I get the same error when I try to re-enter the Theme Functions or for that matter click on any other function in the dashboard.
    Would be very grateful for any help.

  2. ClaytonJames
    Member
    Posted 4 years ago #

    Most of your themes colors are usually defined in the themes style sheet. Grab a copy of the Cordobo Greenpark functions.php file from your last backup and replace it in the theme folder using your ftp client/file manager. I would think that should do it.

  3. magician1111
    Member
    Posted 4 years ago #

    Thank you so much for replying. My blog is three months old and I have never backed it up. I just heard recently that this is a good idea, Duh! Is there some way to get another copy of the functions.php file? I have other url's. Could I FTP it from one to another somehow?

  4. ClaytonJames
    Member
    Posted 4 years ago #

    Very easy solution! Just download the theme and extract the functions.php file, then upload using ftp or file manager.

    http://wordpress.org/extend/themes/cordobo-green-park-2

    Make sure it's the same version as yours, or you might want to upgrade the theme.

  5. magician1111
    Member
    Posted 4 years ago #

    Thank Heavens for Go Daddy. They keep backups and helped show me how to restore it. Thank you also.

  6. ClaytonJames
    Member
    Posted 4 years ago #

    Nice! Don't forget to learn about regular backups. They will save your butt some day, guaranteed! :-)

    WordPress Backups

  7. magician1111
    Member
    Posted 4 years ago #

    No doubt. Appreciate your help.

  8. suemazza
    Member
    Posted 4 years ago #

    I heartily recommend http://www.mozy.com for backups!

Topic Closed

This topic has been closed to new replies.

About this Topic