Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   [SOLVED] Help!! parse error (http://forum.bytesforall.com/showthread.php?t=12771)

suzrocks Feb 13, 2011 12:07 PM

[SOLVED] Help!! parse error
 
So I (stupidly) was messing around trying to add an RSS thing at the bottom of my posts in the function-php section and even though I thought I erased everything I put in there, now I'm getting this error

Parse error: syntax error, unexpected '}' in /home/suzrock1/public_html/blog/wp-content/themes/atahualpa_o/functions.php on line 674

At first, I couldn't even get to the wp-admin to try to fix it, had my hoster change the file name, so now I can get into my wp-admin, but I have no idea how fix the php in that section.

The default WP theme is on my site now, and I'm afraid to activate the Atahualpa theme because I'm worried I'm not going to be able to go in and fix anything.

What do I do???

lmilesw Feb 13, 2011 12:13 PM

You can just download the theme zip file, unzip it, and replace the functions.php you edited with a "clean one".

suzrocks Feb 13, 2011 12:20 PM

Ok- that sounds easy enough. I'm going to try it and get back to you. Thanks

suzrocks Feb 13, 2011 12:26 PM

okay... maybe not as easy as I thought. when you said 'replace it' did you mean in the cPanel or in the wp-admin area? I tried to activate the theme to get in there to edit it, but it somehow made the same error occur.

I'm sorry- I'm really, really, technologically illiterate.

lmilesw Feb 13, 2011 12:31 PM

You need FTP to the site or use your hosts file manager. You don't do this via the WordPress backend.

suzrocks Feb 13, 2011 01:01 PM

Okay- it's fixed. Thank you very much. Note to self: don't mess with php when I clearly don't know what I'm doing.... :)


All times are GMT -6. The time now is 03:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.