Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Customization, Design, Programming... (http://forum.bytesforall.com/forumdisplay.php?f=22)
-   -   Oh no what happened! (http://forum.bytesforall.com/showthread.php?t=4758)

Dani808 Dec 7, 2009 06:43 PM

Oh no what happened!
 
I followed your instructions in the gold forum for changing the footer and I am getting the following error


Parse error: syntax error, unexpected '}' in /home/content/d/s/t/dstolfi808/html/halaukalama/wp-content/themes/atahualpa/functions.php on line 139

It wont even let me in the editor or anypart of the site anymore to fix it!

juggledad Dec 7, 2009 06:57 PM

what post are you refering to?
you must have added or removed a '}' which is causing the problem

copy and paste teh 10 lines before and after 139 and indicate the line numbers.

If you are in a rush, just upload a fresh copy of the functions.php and you should be all set.

Dani808 Dec 7, 2009 07:52 PM

the one about deleting out the wordpress references in the footer.

It wont let me back in at all to the editor and I did upload the functions php file but it isn't helping. When I hit edit or even try to preview my site I get that error. Why wouldn't it update the php file? That should have fixed it I don't get it.

juggledad Dec 7, 2009 11:58 PM

If your still getting the error, then you haven't uploaded the right copy or have a cache issue. Delete function.php and try the site before uploading it. You should see a different error if it has been deleted

kreodig Jan 5, 2010 08:02 AM

if you have access via FTP, please check write permissions on this file

victorm Feb 3, 2010 02:20 PM

juggledad is right, had the same problem because we serve some of the files straight from the frontend (nginx) and after each change of this kind we need to restart the process to kill the live cache. tricky if you run fastcgi on the same box.

TakeAimJK May 30, 2010 10:25 PM

Hi,

I'm a brand newbie to the Wordpress game, and I've made my first cock-up, and now my site is down, with the following message:Parse error: syntax error, unexpected ';' in E:\Domains\t\takeaimnz.com\user\htdocs\wp-content\themes\atahualpa\functions.php on line 139 because my changes were obviously not up to scratch. I thought they were!

I can't get into wp-admin at all.

I understand that the best way to fix this is to upload a new copy of functions.php, but I don't have ftp access, and my host is inaccessible. Is there another way?

With fingers crossed,
:confused:
JK

juggledad May 31, 2010 03:48 AM

Well, if you can't get into wp-admin and you don't have ftp access, then you are going to have to contact your host for help. Removing the Atahualpa folder will resolve this since you will revert back tothe default theme

Murias May 31, 2010 06:41 AM

I'm also very new to Wordpress and the same thing happened to me when I tried to remove the footer. Maybe the instructions could be a little clearer for people who aren't familiar with php.

juggledad May 31, 2010 07:03 AM

Murias - if you upload a fresh copy of footer.php you should be back up.

I'm not sure how much clearer the instructions could be

TakeAimJK Jun 1, 2010 03:07 PM

I thought so. I'll see what can be done.

Perhaps a warning - "Make sure any changes you make are accurate, because incorrect changes here can..." etc. It would have made me have second thoughts!!

Thanks for the confirmation. And for all your contributions!

203voices Jul 30, 2010 11:15 AM

I am having a similar problem.

Attempting to access my site, including the wp-admin, gives me the problem:

Parse error: syntax error, unexpected T_STRING in /home/twozerw2/public_html/wp-content/themes/atahualpa/functions.php on line 148

I had been trying to work on the footer as well. I am very new to all of this. How can I edit footer.php if I can't even get to wp-admin?

Thanks.

203voices Jul 30, 2010 11:42 AM

Update: I was able to get into the code through my ftp. The code I altered looks like this:

function footer_output($footer_content) {
$footer_content .= '<br />;
//insert code here
return $footer_content;
}


I put the //insert code here in to remind myself where the code I pulled out was. Is that my problem?

lmilesw Jul 30, 2010 01:26 PM

I would put the code you took out back in or replace the functions.php with a fresh one. You can get instructions for what you are trying to do in the Gold Forums with a $20 donation. It wouldn't be right for me to give you the instructions when others have paid for them as I did when I was starting out with this theme.

203voices Jul 30, 2010 01:28 PM

Thanks a lot. I was able to get in through my ftp and fix the damage. Appreciate the support.


All times are GMT -6. The time now is 02:29 AM.

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