I've been using CSE with great results for quite a while. Today I noticed that searches don't return any results. I'm getting the same results on several sites. I'm returning the results to a iframe. I tried changing that setting to display on Google but still no results

I see on Google's CSE page that they are transitioning to a Custom Search Element. Might that be the issue? http://googlecustomsearch.blogspot.com/2011/11/iframe-custom-search-engi...

The module is outing the following code.

<form action="/search/google"  accept-charset="UTF-8" method="get" id="google-cse-results-searchbox-form">
<div><input type="hidden" name="cx" id="edit-cx" value="003321618576478813351:w55shzhvmvg"  />
<input type="hidden" name="cof" id="edit-cof" value="FORID:11"  />

<div class="form-item" id="edit-query-wrapper">
 <label for="edit-query">Enter your keywords: </label>
 <input type="text" maxlength="128" name="query" id="edit-query" size="40" value="environment" class="form-text" />
</div>
<input type="submit" name="op" id="edit-sa" value="Search"  class="form-submit" />
<input type="hidden" name="form_build_id" id="form-1e6fba30af7c7f0399ed5cae6e73ea20" value="form-1e6fba30af7c7f0399ed5cae6e73ea20"  />
<input type="hidden" name="form_id" id="edit-google-cse-results-searchbox-form" value="google_cse_results_searchbox_form"  />

</div></form>

<div id="google-cse-results">
  <noscript>
    <a href="http://www.google.com/cse?q=environment&amp;cx=003321618576478813351%3Aw55shzhvmvg&amp;cof=FORID%3A0&amp;sitesearch=">View the results at Google</a>, or enable JavaScript to view them here.  </noscript>

</div>

<script type="text/javascript">
  //<![CDATA[
    var googleSearchIframeName = 'google-cse-results';
    var googleSearchFormName = 'google-cse-results-searchbox-form';
    var googleSearchFrameWidth = Drupal.settings.googleCSE.resultsWidth;
    var googleSearchFrameborder = 0;
    var googleSearchDomain = Drupal.settings.googleCSE.domain;
    var googleSearchPath = '/cse';
  //]]>
</script>

<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
CommentFileSizeAuthor
Screen shot 2011-11-10 at 2.10.11 PM.png14.97 KBmayjorb

Comments

technikh’s picture

Priority: Normal » Critical

Same issue here. I tried applying the patch mentioned in here http://drupal.org/node/1268352
but I get page not found error.

ryan88’s picture

Same problem here, I use this module on 20+ different sites, which are all not functioning right now. Please fix this problem asap! I am going to have to go back through each site now and either paste in google cse code or revert back to the standard drupal search if this isn't fixed soon!

ryan88’s picture

duplicate post

dunklea’s picture

I used the patch in this post and so far it seems to have fixed the problem: http://drupal.org/node/1099294

Cheers,
Andrew

ttkaminski’s picture

ryan88’s picture

For anyone else having the same problem, the post by ttkaminski worked for me.

I wish google wouldn't randomly change things...

mayjorb’s picture

This patch from ttkaminski worked for me also

malcomio’s picture

Status: Active » Closed (won't fix)

Tidying up the issue queue, and marking issues as won't fix where the version is no longer supported.