Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-09-14 11:20:04

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Requests without cx/cref are no longer supported

hi

recently i started to get this error on sitesearch:

“403. That’s an error.
Your client does not have permission to get URL /cse?q=kakk&sitesearch=www.eoy.ee/hirundo from this server. (Client IP address: 217.71.47.178)
Requests without cx/cref are no longer supported That’s all we know.”

i still would like to use google for site search. can anybody give me advice, how to change this code:

<form action="http://www.google.com/cse" method="get">
<input type="hidden" name="m" value="all">
<input type="text" name="q" value="" id="q" autofocus="autofocus">
<input type="hidden" name="sitesearch" value="www.eoy.ee/hirundo" />
<input type="submit" value="Search" id="submit">
</form>

Offline

#2 2015-09-14 11:37:47

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Requests without cx/cref are no longer supported

You need to specify a cx id. See here for reference.

Offline

#3 2015-09-14 13:53:09

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Requests without cx/cref are no longer supported

Phil, would our forum need a cx id as well? No-JS searches don’t work any longer in our forum (403 Your client does not have permission to get URL /cse?q=You+need+to+specify+a+cx), and I’d like to avoid permitting Gooble their massively snooping/tracking Javascripts when I search the forum in order to provide links to community members (FluxBB’s own search results being completely unreliable).


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#4 2015-09-15 09:56:48

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: Requests without cx/cref are no longer supported

philwareham wrote #294794:

You need to specify a cx id. See here for reference.

i couldn’t find example about cx id form, i created cref specific form like here

<form action="https://cse.google.com/" id="cref">
<input type="text" name="q" value="" id="q" autofocus="autofocus">
<input name="cref" type="hidden"  value="http://www.eoy.ee/cse.xml">
<input name="sa" type="submit" value="search" id="submit">
</form>

but still getting error:
“404. That’s an error. The requested URL /?q=teder&cref=http%3A%2F%2Fwww.eoy.ee%2Fcse.xml&sa=search was not found on this server”

but there is such an url

i need your help ;)

Offline

Board footer

Powered by FluxBB