Google custom search has stopped working after update to CodeIgniter 2 [SOLVED] |
[eluser]maxbel[/eluser]
[quote author="CroNiX" date="1305329764"]Do you have security tokens enabled?[/quote] No, they are not enabled.
[eluser]maxbel[/eluser]
[quote author="John_Betong_002" date="1305280015"]Hi Maxbel, Two things: Firstly, I noticed that replacing a comma with space between search words does not create "Page not found". Secondly, your config permitted setting is incorrect, you are missing a backslash. Take a look at the CI2 config.php installation file: Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; You're right John, there was a mistake in the permitted URI line. It doesn't fix the problem though. I also noticed that the search query worked with the coma. Now, if I can get all my users to use comas in their queries... Still trying to get to the results page though...
[eluser]John_Betong_002[/eluser]
Today my Google Search stopped working For quite some time I have had a problem with third party sites with incorrect links to my Jokes site and Google Webmaster Tools was complaining. Today I fixed that problem and the Google Search stopped working. // incorrect link now handled gracefully http://johns-jokes.com/afiles/images/saw...loaded.jpg width="66" height="50" alt="image"/></a> </div> <div class="c0 r"><a
[eluser]maxbel[/eluser]
Hey John, Have you already fixed the problem? I just tried the search on your site and it seemed to work fine. What was, or is, the actual problem? Maybe we can help...
[eluser]John_Betong_002[/eluser]
[quote author="maxbel" date="1306435550"]Hey John, Have you already fixed the problem? I just tried the search on your site and it seemed to work fine. What was, or is, the actual problem? Maybe we can help... [/quote] This Forum was being updated around the time I posted the following code and it looks as though there was a problem during the update. During testing to get the error_404.php to work I changed the .htaccess file and Google Search stopped working. Check to see it the line is in your .htaccess file. Code: RewriteCond %{HTTP_HOST} !^johns-jokes.com$ [NC] |
Welcome Guest, Not a member yet? Register Sign In |