ThemeShaper Forums » Thematic

[closed]

Site broken! Help!

(4 posts)
  • Started 12 years ago by rysch
  • Latest reply from rysch
  • This topic is resolved
  1. I'm getting a bunch of parse errors saying that there is something going haywire in my functions.php. What's strange is that this is the first time the site has ever been "broken" without me doing something to it (knowingly). So I don't understand why all of a sudden the site has going bezerk when it's been running so smoothly.

    Here is the parse error I got:

    Parse error: syntax error, unexpected ';', expecting T_STRING or T_VARIABLE or '$' in /home/ctrchurc/public_html/wp-content/themes/thematicfeaturesite/functions.php on line 23

    Line 23 in my functions.php is as follows (copied directly out of the functions.php file)

    <h2 class="entry-title"><?php _e('Search Results for:', 'thematic') ?> <span id="search-terms"><?php echo wp_specialchars(stripslashes($_GET['s']), true); ?></span></h2>

    Thanks for any help! I need to get this site back up and running ASAP!

    Posted 12 years ago #
  2. K...in my functions php file, the little single quote mark (') actually appears as the HTML code (& # 0 3 9 ) (I put spaces so it wouldn't execute)

    <h2 class="entry-title"><?php _e('Search Results for:', 'thematic') ?> <span id="search-terms"><?php echo wp_specialchars(stripslashes($_GET['s']), true); ?></span></h2>

    In fact, now that I look at my functions.php all the tick marks are now in their HTML code. Why did this change?

    Posted 12 years ago #
  3. So I think the parse error problem is solved. I replied & # 0 3 9 with the proper tick mark '

    But then I had to go and delete individually a bunch of ; that were somehow added to the functions.php after the & # 0 3 9

    Now on top of that, the CSS is no longer loading for my site:

    Please see www.ctrchurch.com

    Posted 12 years ago #
  4. Issue resolved.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.