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 »

PHP Parse error: syntax error, unexpected T_STRING


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 Aug 4, 2010, 06:28 AM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
I hope I am posting this in the correct area. If not my apology. I know enough about my Word Press and Atahualpa install to be dangerous. Unfortunately I don't know how to fix the error message I am getting below:

PHP Parse error: syntax error, unexpected T_STRING in /home1/biggeekd/public_html/wp-content/themes/atahualpa353/functions.php(532) : eval()'d code on line 2


I do use the Quick Cache Plugin but I don't think that is causing this as the error is consistently there each day even after clearing/updating cache.

I have added this code in the Content Above Loop section and wonder if I missed something?

<a href="http://biggeekdad.com.s3.amazonaws.com/BigGeekDadLogo720x90.jpg"></a><a href="http://biggeekdad.com/"><img border="0" title="BGD Home" src="http://biggeekdad.com.s3.amazonaws.com/BigGeekDadLogo720x90.jpg"/WIDTH="720" HEIGHT="90" alt="BGD Home Page" border="0"/></a>
<p>

Thanks in advance for any help.
  #2  
Old Aug 4, 2010, 07:50 AM
STB
 
762 posts · Apr 2010
Not sure if this is causing it, but the slash before WIDTH is invalid HTML and shouldnt be there.

Btw. I dont see any such error on your site (?)
  #3  
Old Aug 4, 2010, 05:25 PM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
I don't think that is the cause but thank you regardless for the tip as I had several areas of html code with that mistake. The error code is coming from my Blue Host Log Files. The site seems fine when I view it and I haven't gotten any complaints from visitors but still get concerned when I see an error message in the logs.
  #4  
Old Aug 4, 2010, 08:28 PM
juggledad's Avatar
juggledad
 
20,001 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
If you remove that code does the error go away?
  #5  
Old Aug 5, 2010, 09:53 AM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
@juggledad

No that didn't change anything but I like the way you think. MOTO theory is slowly being applied as I am removing 1 thing at a time for several hours to see if the error message goes away. I have a couple suspects so I'll play around the next few days and see if removing any code or plugins changes things.
  #6  
Old Aug 5, 2010, 03:11 PM
juggledad's Avatar
juggledad
 
20,001 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
Do an export of your settings then go to ato->Style & edit CENTER COLUMN - copy each section to a text file and then hit the red 'Reset Settings' button on the page.

this may be an error where there is some php code being evaluated in one of the options, and it has an errot
  #7  
Old Aug 6, 2010, 05:25 AM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
I'm keeping my fingers crossed that your suggestion did the trick. No error message since last night when I made the change My guess is I had screwed up the code I put in the Page Not Found section at the bottom several months ago and never paid attention to it. I need to add a couple other things back into the site though before I'm sure. If this fixed it I'll be more than happy to make a donation shortly.

Thanks again for you help.

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 '<' in the functions.php file pingitt Atahualpa 3 Wordpress theme 6 Mar 12, 2013 03:52 AM
Parse error: syntax error, unexpected T_STRING joe hark Atahualpa 3 Wordpress theme 7 Jul 28, 2010 06:04 AM
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] Home page won't load! Parse error, syntax error lhanft Atahualpa 3 Wordpress theme 4 Aug 30, 2009 01:44 PM
[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 06:50 PM.


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