Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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 '


  #1  
Old Jan 28, 2012, 05:53 AM
Siya
 
32 posts · Oct 2011
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 06:26 AM.
  #2  
Old Jan 28, 2012, 06:28 AM
juggledad's Avatar
juggledad
 
23,600 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 28, 2012, 06: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, 08:14 AM
juggledad's Avatar
juggledad
 
23,600 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 28, 2012, 11: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, 11:40 AM
juggledad's Avatar
juggledad
 
23,600 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jan 28, 2012, 04:25 PM
Siya
 
32 posts · Oct 2011
olrite juggledad, otherwise my problem is solved. thank you.

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 04:27 AM
Please help Parse error: syntax error, unexpected ';', expecting ')' in /home/content archiex Installing & running WordPress 2 Jul 6, 2011 08:58 PM
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 04:00 PM
Parse error: syntax error, unexpected '<' in /home6/jonesber/public_html/wp-content/ jonesberries Atahualpa 3 Wordpress theme 2 Nov 30, 2009 04:33 AM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 11:04 AM


All times are GMT -6. The time now is 08:19 AM.


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