Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I'm running into the same issue. I don't think it's because the 2 blocks are enabled.. I believe it's because Google is sending back the results to the page in the querystring with the ?. For example, my results are coming back to:
But - the way Drupal works, that "?" should not be there. Internally (even with friendly Urls on) the actual path is already: http://mydoman.com/index.php?q=search
So the "?" character is already used, it's never going to resolve to a valid Drupal path. Has this ever worked for anyone??
I must be wrong about that ?.. I just checked another site where it's working okay. Interesting though, his search results querystring looks different from mine:
My Non-working verson: http://mydomain.com/search?cx=[big long code]&
cof=FORID%3A11&
query=dogs&
op=Search&
form_build_id=[big long code]&
form_token=[big long code]&
form_id=google_cse_results_searchbox_form
I don't know if it's significant but on his the term gets added into the path prior to the ?.. whereas on my own it doesn't..
i fixed my issue - I uninstalled & reinstalled the module, and then in the set up I left the Google domain to be www.google.com, and put my site into the "site domain". That's a little confusing but I think that was causing my page not found error?
On the first run through I mistook the meaning of google domain and put my own site there.
Comments
Comment #1
areatopic commentedi have the same exact problem here.
cse error
Originally uploaded by areatopic
Comment #2
kenyob commentedI am also having this issue. Everything is coming up with page not found.
Comment #3
rukaya commentedIs this the same thing as 'Address not found: www.google.com,www.google.com could not be found.'?
Comment #4
vacilando commentedSame problem
Comment #5
wheelercreek commentedI'm running into the same issue. I don't think it's because the 2 blocks are enabled.. I believe it's because Google is sending back the results to the page in the querystring with the ?. For example, my results are coming back to:
http://mydoman.com/search/?google stuff...
But - the way Drupal works, that "?" should not be there. Internally (even with friendly Urls on) the actual path is already: http://mydoman.com/index.php?q=search
So the "?" character is already used, it's never going to resolve to a valid Drupal path. Has this ever worked for anyone??
Comment #6
wheelercreek commentedI must be wrong about that ?.. I just checked another site where it's working okay. Interesting though, his search results querystring looks different from mine:
Working site (search term = "dogs"):
http://mydomain.com/search/google/dogs?query=dogs&
cx=[big long code]&
cof=FORID%3A11&
sitesearch=mydomain.com#469
My Non-working verson:
http://mydomain.com/search?cx=[big long code]&
cof=FORID%3A11&
query=dogs&
op=Search&
form_build_id=[big long code]&
form_token=[big long code]&
form_id=google_cse_results_searchbox_form
I don't know if it's significant but on his the term gets added into the path prior to the ?.. whereas on my own it doesn't..
Comment #7
wheelercreek commentedi fixed my issue - I uninstalled & reinstalled the module, and then in the set up I left the Google domain to be www.google.com, and put my site into the "site domain". That's a little confusing but I think that was causing my page not found error?
On the first run through I mistook the meaning of google domain and put my own site there.
Comment #8
malcomio commented