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 »

[SOLVED] Started getting Parse Error


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 May 8, 2011, 08:20 PM
Anandajoti
 
3 posts · May 2011
For some unknown reason I have started to get a parse error on posts (not on home, category or pages). It reads:

Parse error: syntax error, unexpected T_STRING in /mounted-storage/home122a/sub006/sc31987-ZWIA/photodharma.net/Blog/wp-content/themes/atahualpa/functions.php(515) : eval()'d code on line 2

This is the code at that point, but it looks OK to me.

if ( strpos($center_content,'<?php ') !== FALSE ) {
ob_start();
eval('?>'.$center_content);
$center_content = ob_get_contents();
ob_end_clean();
}

I did recently install some new plugins, but I have tried disabling them with no better result.

Does anyone have any ideas what may be going wrong?

Last edited by Anandajoti; May 8, 2011 at 08:37 PM.
  #2  
Old May 9, 2011, 02:07 AM
juggledad's Avatar
juggledad
 
22,166 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Did you change any of the code in 'The LOOP' option?
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old May 9, 2011, 05:09 PM
Anandajoti
 
3 posts · May 2011
No I didn't change any code, but I cannot guarantee that some plugin or other didn't change something. However as I mentioned I disabled all recent plugins and still I have the problem.
  #4  
Old May 9, 2011, 06:54 PM
Anandajoti
 
3 posts · May 2011
OK, it seems to have been a problem in the Permalinks structure or maybe in the htaccess. I updated both very carefully and the pages are loading OK now.

Bookmarks

Tags
parse error: syntax error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[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] 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
Can not activate my theme due to parse erorr Parse error tanimwp Forum How-To 2 Jun 17, 2009 03:13 AM


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


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