Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Need help with this error massage: Parse error: syntax error, unexpected '


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 28, 2012, 04:53 AM
Siya
 
32 posts · Oct 2011
Unhappy [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
{

Last edited by juggledad; Jan 28, 2012 at 05:26 AM.
  #2  
Old Jan 28, 2012, 05:28 AM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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.
  #3  
Old Jan 28, 2012, 05:52 AM
Siya
 
32 posts · Oct 2011
Thank u juggledad, it worked. thank u very much. But now, i alredy restored a back up, is there a way to undo it?
  #4  
Old Jan 28, 2012, 07:14 AM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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
  #5  
Old Jan 28, 2012, 10:06 AM
Siya
 
32 posts · Oct 2011
Quote:
Originally Posted by juggledad
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.
  #6  
Old Jan 28, 2012, 10:40 AM
juggledad's Avatar
juggledad
 
20,147 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error: syntax error, unexpected $end, expecting ')' bfa_theme_options.php Joan-BlogBizBuzz New Versions, & Updating 10 Aug 27, 2011 03:27 AM
Please help Parse error: syntax error, unexpected ';', expecting ')' in /home/content archiex Installing & running WordPress 2 Jul 6, 2011 07:58 PM
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 03:00 PM
Parse error: syntax error, unexpected '<' in /home6/jonesber/public_html/wp-content/ jonesberries Atahualpa 3 Wordpress theme 2 Nov 30, 2009 03:33 AM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 10:04 AM


All times are GMT -6. The time now is 11:15 PM.


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