Download & Extend

Having both Google CSE and Google CSE results blocks active causes a Site Not Found error

Project:Google Custom Search Engine
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

It appears to be appending two copies of the domain string together.

Comments

#1

i have the same exact problem here.

Only local images are allowed.
cse error
Originally uploaded by areatopic

#2

I am also having this issue. Everything is coming up with page not found.

#3

Is this the same thing as 'Address not found: www.google.com,www.google.com could not be found.'?

#4

Same problem

#5

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:

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??

#6

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:

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..

#7

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.

nobody click here