Getting a parse syntax error, Please HELP

Community Forums Forums Design Tips and Tricks Getting a parse syntax error, Please HELP

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  ruchira 5 months, 4 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #69205

    ruchira
    Member
    Post count: 5

    HI, Please help. My entire site has disappeared. I was following the instructions on customising a search box in studio press, but i got this error once, so clicked on the back button and removed the code i had placed in the functions.php file, and updated the file but I still got this error.

    Parse error: syntax error, unexpected ‘<’ in /home/content/52/11949952/html/thelittleroti/wp-content/themes/lifestyle-pro/functions.php on line 102

    I don’t know what to do now. Could anyone help? thanks!
    ruchira

    • This topic was modified 5 months, 3 weeks ago by  Susan. Reason: not a forum bug or suggestion
    • This topic was modified 5 months, 3 weeks ago by  Susan. Reason: not a forum bug or suggestion
    http://www.thelittleroti.com
    #69208

    RobG
    Participant
    Post count: 992

    IS everything working now I check the link it seems to be ok…


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #69348

    julieachristian
    Member
    Post count: 1

    This just happened to me to! What did you do?

    #69407

    ruchira
    Member
    Post count: 5

    Juliea,
    Log in to where your site is hosted, download the functions.php file from your theme folder. Open it in text editor (i use a mac, if you use windows, open it in notepad) and just remove the code you last added to it. Save the file still as functions.php, delete the earlier file on the server and upload this one. And it should be fine.
    best,
    ruchira

    #69408

    ruchira
    Member
    Post count: 5

    another thing everyone. I’ve learnt this the hard way. Always keep a back up copy of your .php or .css files at the point they are working. This way if you make a mistake in coding, you can always upload the last saved working version.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.