parse error
-
Hello everyone, I’m getting this message, what should I do?
Parse error: syntax error, unexpected ‘<‘ in /home/content/n3pnexwpnas02_data01/57/3399757/html/wp-content/themes/gonzo/functions.php on line 355Please help, thank you in advance.
-
please pastebin that file (via pastebin.com or gist.github.com) and put a link to it here.
Hello sterndata, how od I do that? I am trying but cannot.
Does this help??copy the contents of functions.php in your editor. Go to pastebin.com, start a new paste. Paste. Save. Get the URL. Copy. Paste here.
It does not allow me to log into the WP-admin (into here: http://binaryoptionjudge.com/wp-login.php)
I did what you said and it is giving me the option to download the file form the pastebin.com and it saves it in .txt file
How do I get the URL?
Do you have access to your site via FTP or the host control panel? if so,
1) download /home/content/n3pnexwpnas02_data01/57/3399757/html/wp-content/themes/gonzo/functions.php
2) Open the file with Notepad. CTRL-A, CTRL-C
3) go to gist.github.com,
4) paste in what you copied in Notepad.
5) Click “create secret gist”.
6) Copy the address of that page from the top of your browser.
7) Paste that in here.
Steve, it seems I cannot access the godaddy for the ftp or control panel…
Any advice?
One last idea:
Under APPEARANCE -> EDITOR, open functions.php, select all, copy, and then paste into pastebin or gist.
That error didn’t just create itself; were you trying to edit the file?
all you did was paste in the error message. I have been asking you for functions.php.
This was the code I tried to implement and somehow got that error:
<!– Begin Cookie Consent script http://cookiescript.info/ –>
<script type=”text/javascript”>
window.cookieconsent_options = {“message”:”This website uses cookies to ensure you get the best experience on our website”,”dismiss”:”Got it!”,”learnMore”:”More info”,”link”:null,”theme”:”dark-bottom”}; var cookieconsent_id = ‘a2f45c5a-63bd-42bc-bbbe-0c87f16463cd’;</script><script type=”text/javascript” src=”//cdn.cookiescript.info/libs/cookiescript.min.js”></script>
<noscript>Cookie consent script</noscript>
<!– End Cookie Consent script –>The thing Steve is that I cannot access the funciotn.php because they are here: http://binaryoptionjudge.com/wp-admin and every time I try to connet there I get that error message, every time.
Please help
That’s not valid stuff to have put in functions.php ad it’s NOT PHP code. So you broke your site.
You say you cannot log into your hosting panel. Call GoDaddy support because you need to get into that file and undo the changes you made or replace it with a backup copy or download a clean copy of your theme and replace it with the functions.php from that.
Thank you Steve, I am with their support. Thank you for the help!
The topic ‘parse error’ is closed to new replies.