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.

Search form generates junk code

January 18, 2008 5:24am

Subscribe [2]
  • #1 / Jan 18, 2008 5:24am

    jontusmedia

    20 posts

    I’m at a bit of a loss as to what to do with a search form I’ve got in my page:

    When I check in the source code I get about 200 lines of junk numbers.

    eval(unescape(”document

    I’ve tried deleting the search form and replacing it with some of the search code used in the free site templates but they all produce the same junk.

    I don’t really know what to check next. Any suggestions?

    This is the search code I’m trying to use:

    {exp:search:simple_form search_in="everywhere"}
    <input type="text" name="keywords" value="" class="input" size="18" maxlength="75" /> <input type="submit" id="sbutt" value="GO" />
    {/exp:search:simple_form}
  • #2 / Jan 18, 2008 8:50am

    Yvonne Martinsson

    204 posts

    Do you use the Form Tag Encoder? It produces something like this.

  • #3 / Jan 18, 2008 1:33pm

    Lisa Wess

    20502 posts

    Great thought, Yvonne, thank you!  Jon - also look for any other extensions you have installed, and let us know what version and build of EE you’re on please. =)

  • #4 / Jan 18, 2008 4:08pm

    jontusmedia

    20 posts

    Thanks for your feedback. I’m using version 1.6.1

    The plugins I am using are as follows:
     
    Character Limiter (v.1.0) 
    Extract URL Plus (v.2.0.1) 
    EE Typography (v.1.1)
    Form_Helper (v.1.9) 
    List Maker (v.1.0)
    Magpie RSS Parser (v.1.3.4)
    Randomizer (v.1.0)
    Find and Replace (v.1.3)n  
    Widon’t (v.1.0)
    Word Limiter (v.1.0)
    XML Encode (v.1.2)
    XML Encoding plugin

    Is any of this likely to affect the Search code?

  • #5 / Jan 18, 2008 4:10pm

    Lisa Wess

    20502 posts

    Those are plugins, can you head to Admin -> Utilities -> Extension Manager and list the extensions, please? =)

  • #6 / Jan 18, 2008 4:16pm

    jontusmedia

    20 posts

    Sorry !

    Tag Submit (v.2.0.7)
    Comment Spam Prevention (v.1.1)
    Edit Tab AJAX (v.1.2.1)
    Form Tag Encoder

  • #7 / Jan 18, 2008 4:24pm

    Lisa Wess

    20502 posts

    Ok, can you try disabling the form tag encoder, and see if that fixes the search form?

  • #8 / Jan 18, 2008 4:50pm

    jontusmedia

    20 posts

    That does it ! Thanks guys.

  • #9 / Jan 18, 2008 4:56pm

    Lisa Wess

    20502 posts

    Great! You might want to see this thread about that extension. =)

  • #10 / Jan 18, 2008 7:11pm

    jontusmedia

    20 posts

    Hmm. Cheers! What a pain that IE is.

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

ExpressionEngine News!

#eecms, #events, #releases