Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 04: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 05:26 AM.
  #2  
Old Jan 28, 2012, 05:28 AM
juggledad's Avatar
juggledad
 
23,765 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, 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
 
23,765 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, 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
 
23,765 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, 03: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 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 12:42 PM.


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