My site is screwed up now - How can I fix this???

4 replies
Hey guys,

I would be grateful if a fellow warrior can help me with this issue. I was messing around with some coding on my site and as a result my site has been screwed up. Check it out here

I get an error message - Parse error: syntax error, unexpected '}' in /home/adamc88/public_html/backpainassistant.com/wp-content/themes/c5/functions.php on line 3167

I have to admit I added a piece of code to my functions.php file then when I decided to delete that piece of code and saved it my site went like that. I've even replaced it with the default code before I did any of this and it still hasnt fixed it.

Any suggestions on how I can fix this?

FYI - I'm an idiot when it comes to coding and techy stuff
#fix #screwed #site
  • Profile picture of the author unintuitive
    If you don't feel like hunting down that brace }, the next-easiest fix would be to simply find an original copy of functions.php, then upload and overwrite the file in the /wp-content/themes/c5/ directory. That is, assuming you've made no other changes to the code of your site.
    {{ DiscussionBoard.errors[5624699].message }}
  • Profile picture of the author MariusPrice
    Originally Posted by Adam Curry View Post

    Hey guys,

    I would be grateful if a fellow warrior can help me with this issue. I was messing around with some coding on my site and as a result my site has been screwed up. Check it out here

    I get an error message - Parse error: syntax error, unexpected '}' in /home/adamc88/public_html/backpainassistant.com/wp-content/themes/c5/functions.php on line 3167

    I have to admit I added a piece of code to my functions.php file then when I decided to delete that piece of code and saved it my site went like that. I've even replaced it with the default code before I did any of this and it still hasnt fixed it.

    Any suggestions on how I can fix this?

    FYI - I'm an idiot when it comes to coding and techy stuff
    In my side everything seems to work just fine.
    {{ DiscussionBoard.errors[5625709].message }}
  • Profile picture of the author mileagedriver
    It works good at my end.

    I once had a similar issue and I got it fixed by host provider and asked them to fix the code and they did it for me. But here..I can see the site without any issue.
    {{ DiscussionBoard.errors[5627511].message }}
  • Profile picture of the author prian
    Yeah, there is no problems with the site. Seems like you solve the problem already

    However, in error message there is a line number. You can always open your php code with notepad++ and go to the line specified and fix the code.
    {{ DiscussionBoard.errors[5628028].message }}

Trending Topics