ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

The word "yes" is appearing in my source code above all HTML

September 21, 2009 2:50pm

Subscribe [3]
  • #1 / Sep 21, 2009 2:50pm

    Blue Coast Web

    32 posts

    This has been taunting me for a while now… the word “yes” is appearing in my source code in front of all HTML (and showing up on my rendered pages as well).

    Snippet:

    yes<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html >
    <head>...


    No problems with the site anywhere (as far as I know).

    I’m assuming this is some issue with my index.php or path.php files since they run before the HTML is outputted, right? I have obviously looked in my templates and no issue there.

    Any ideas?

  • #2 / Sep 21, 2009 4:22pm

    Ingmar

    29245 posts

    What version and build of EE are you using? The obvious place to look for something like that would be in your index.php file. It might be easier to simply replace all your files (essentially like a build update), upgrading to the latest version and build in the process if you haven’t done so yet.

  • #3 / Sep 21, 2009 4:40pm

    Blue Coast Web

    32 posts

    I’m using 1.6.8 Personal, and I have updated somewhat recently and the problem was occurring before and after the update.

    My index.php is exactly out of the box.

    Could it have something to do with the

    $qtype = 0;

    variable?

  • #4 / Sep 21, 2009 4:45pm

    Ingmar

    29245 posts

    No, it really shouldn’t. Do you have this on other, non-EE pages as well? Create a test.php with nothing but

    <?php phpinfo(); ?>

    in it and put it on your server. Can you link to it?

  • #5 / Sep 21, 2009 4:49pm

    Blue Coast Web

    32 posts

    I can view test.php just fine, and there is no “yes” in the source code. So at least that narrows it down to EE stuff.

  • #6 / Sep 21, 2009 4:58pm

    Ingmar

    29245 posts

    It certainly looks that way. My advice, again, would be to replace all of your EE files with a fresh set download from expressionengine.com. Also check config.php and path.php, just to make sure.

  • #7 / Sep 21, 2009 5:54pm

    silenz

    1651 posts

    Do you see the “yes”, when you create and view an empty template?

    An extension or other addon with some leftover debug-code could also be the culprit.

  • #8 / Sep 21, 2009 6:14pm

    Blue Coast Web

    32 posts

    Found it!

    I created a blank template and it didn’t show up, so I copied a template where it did and started removing chunks until I got to the imgsizer plugin information, which turned out to be the culprit.

    I did a little more digging and found that for some reason I was using a beta version 2.6 (which I probably found from the developer in the forum), and when I “upgraded” to the stable official release of 2.5.6 it went away.

    Thanks everyone for your help!

  • #9 / Sep 21, 2009 6:18pm

    Ingmar

    29245 posts

    Glad to see you’re all set. Please don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases