Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Need help with this error massage: Parse error: syntax error, unexpected ' (http://forum.bytesforall.com/showthread.php?t=16625)

Siya Jan 28, 2012 04:53 AM

[SOLVED] Need help with this error massage: Parse error: syntax error, unexpected '
 
Hi guys, I need help. I was trying to test this code on diffrent parts of my site (<?php if (function_exists('nivoslider4wp_show')) { nivoslider4wp_show(); } ?>) Then I tested it on "bfa_header_config.php
(bfa_header_config.php)"

Thats when the problem started, now i cannot access the site, I get this error message "Parse error: syntax error, unexpected '<' in /home/sacellul/public_html/wp-content/themes/atahualpa/functions/bfa_header_config.php on line 76"
i dont know what i did wrong because i deleted the code that caused the problem. my website link is http://sacellularnet.co.za

I edited this line: $cat_menu_bar = bfa_new_wp3_menus("menu2", $alignment );
}

// Old custom Atahualpa menu system:
else
{

juggledad Jan 28, 2012 05:28 AM

down load a new copy of the version of Atahualpa you are using to your computer.
UnZip it
ftp a fresh copy of bfa_header_config.php to your site.

you probably deleted something extra, or left something extra in the code, causing the syntax error.

Siya Jan 28, 2012 05:52 AM

Thank u juggledad, it worked. thank u very much. But now, i alredy restored a back up, is there a way to undo it?

juggledad Jan 28, 2012 07:14 AM

Quote:

Thank u juggledad, it worked. thank u very much. But now, i alredy restored a back up, is there a way to undo it?
I don't understand what you mean? what do you want to undo? explain in more detail

Siya Jan 28, 2012 10:06 AM

Quote:

Originally Posted by juggledad (Post 79574)
I don't understand what you mean? what do you want to undo? explain in more detail

before i atempted your solution, i tried to restore my site using a back up i made last week sunday ( 22/01/2011). the restore was succesfull but i still couldnt log in to my site. then your solution worked and my site was already restored to an earlier time. so i was asking if the is anyway i can undo the restoration? but if its not possible i'll have to publish again the post that i ddnt back up.

juggledad Jan 28, 2012 10:40 AM

unless you have a newer back there is no way to undo the recovery that you did unless you can talk to your host and see if they can help you out.

Siya Jan 28, 2012 03:25 PM

olrite juggledad, otherwise my problem is solved. thank you.


All times are GMT -6. The time now is 05:13 AM.

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