title: Search Button Broken on Magento
body: <p>First off, I am not a developer. We don't have a dedicated developer for our Magento website. A few days ago my boss asked me to fix an error on the website. What is happening is the search button doesn't work. I try to click it and nothing happens. When I go into Inspect Element, there is an error in the console. It says "Uncaught TypeError: Cannot read property 'get' of undefined" in prototype.js:5557.  </p>
  
  <p>I have tried everything I can think of to fix it. Which to be honest isn't a lot. I've reindexed files, cleared the cache, updated Magento, and made sure the button is located where its supposed to be. I've made sure products are searchable within Magento and I have made sure the search type is set to like/fulltext. I think its probably an error in the code, but I have no idea what to edit or where. I am going mad trying to figure this out.  </p>
  
  <p>The link to the store is: <a href="http://store.excitementvideo.net/" rel="nofollow">http://store.excitementvideo.net/</a> But please keep in mind it is NSFW.  </p>
  
  <p>Thank you </p>
  
  <p>Update: I've been told its a form error? Here is my form.mini.phtml file</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form id="search_mini_form" action="&lt;?php echo $this-&gt;helper('catalogsearch')-&gt;getResultUrl() ?&gt;" method="get"&gt;
      &lt;div class="form-search"&gt;
          &lt;label for="search"&gt;&lt;?php echo $this-&gt;__('Search:') ?&gt;&lt;/label&gt;
         &lt;form&gt; &lt;input id="search" type="text" name="&lt;?php echo $this-&gt;helper('catalogsearch')-&gt;getQueryParamName() ?&gt;" value="&lt;?php echo $this-&gt;helper('catalogsearch')-&gt;getEscapedQueryText() ?&gt;" class="input-text" /&gt;&lt;/form&gt;
          &lt;form&gt;&lt;button type="submit" title="&lt;?php echo $this-&gt;__('Search') ?&gt;" class="button"&gt;&lt;span&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('Search') ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;&lt;/form&gt;
          &lt;div id="search_autocomplete" class="search-autocomplete"&gt;&lt;/div&gt;
          &lt;script type="text/javascript"&gt;
          //&lt;![CDATA[
              var searchForm = new Varien.searchForm('search_mini_form', 'search', '&lt;?php echo $this-&gt;__('Search entire store here...') ?&gt;');
              searchForm.initAutocomplete('&lt;?php echo $this-&gt;helper('catalogsearch')-&gt;getSuggestUrl() ?&gt;', 'search_autocomplete');
          //]]&gt;
          &lt;/script&gt;
      &lt;/div&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>