lisa
(@contentiskey)
Can you login to your webhosting account to get to your files via cPanel?
Moderator
t-p
(@t-p)
See if this guide helps: http://www.inmotionhosting.com/support/edu/wordpress/change-theme-in-db
If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups!
Ben
(@benbornschein)
If you have no access to your WordPress backend, you need FTP access to fix it.
-
This reply was modified 8 years, 10 months ago by
Ben.
Using FTP, download the functions.php file of your theme and look for this error around line 58. Fix it and upload the fixed file.
Parse error: syntax error, unexpected '<' in /home/kckollel/kckollel.com/wp-content/themes/hitchcock/functions.php on line 58
Thread Starter
sk1210
(@sk1210)
Is this^^^ everyone’s way of saying ‘FTP is the only way to do it’, or am I missing something?
You borked a file that has to be replaced, either with a fixed version or the original version that came with the theme. So, you need access to the file system. That’s through FTP, your hosting control panel’s File Manager app, or SSH. FTP is probably the easiest.
Note: this is why you NEVER EVER EVER (ever!) edit files via appearance->editor.
Thread Starter
sk1210
(@sk1210)
Yeah, I’m figuring that out the hard way. Thank you Steve.
In terms of accessing the files in an FTP, for some reason my username and PW that I use to log in to my site won’t work. Is that an issue with my account privalages or am I typing the website in the wrong way? I was trying to use net2ftp.com (because I am using a chromebook) and it gave me an unrecognized Username response. I’ve tried others with the same result. I’ve triple-checked my UN & PW.
FTP does not use your WP user and password; it uses an id/password provided by your host. Check with your host regarding FTP setup.