Tagged: parse syntax error
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!
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/
This just happened to me to! What did you do?
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.
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.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.