Active
Project:
Google Ajax Search Module
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2011 at 20:39 UTC
Updated:
12 Feb 2015 at 15:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
basicmagic.net commentedsubscribe
Comment #2
kaztur commentedsubsc
Comment #3
sidharthapHere i am attaching the D7 version of the module. Please post me for any issue. I am happy to help.
Enjoy..........
Comment #4
mac_perlinski commentedHello there,
well we thought people switched to Drupal <-> Solr solution and the need for update to D7 is not really needed.
If there is no issue for @sidharthap port of D7 we can attach it as D7 version.
Comment #5
sidharthapyes please.
Comment #6
kaztur commented@sidharthap, great thank You for 7-x version!
I have an error in my dblog after hosting changed:
Warning: Illegal string offset 'keywords' in gas_add_settings() (line 524 in /sites/all/modules/googleajaxsearch/googleajaxsearch.inc).
Line 524 and it's nearest lines are below:
Comment #7
sidharthapThank you @kaztur for using this module.
I suspect your PHP version is changed after changing the hosting.
Please remove line no 524 from (sites/all/modules/googleajaxsearch/googleajaxsearch.inc) and add below two lines there.
$keywords = gas_get_plugin_keywords($key);
$settings['gas'][$key] = array('keywords' => $keywords);
Please keep posted if I can help you further.
Thank You
Comment #8
kaztur commented@sidharthap, great thank You for help and sorry for so too long answer!
After changing according to Your post errors has gone away. Now my code is such:
Is it correct?
P.S. My php-version is 5.5.9-1ubuntu4.5
Comment #9
kaztur commentedUPD
@sidharthap, and now there's no search in search block - just always 'Loading...' message in that block.
And an error in javascript in console:
Uncaught TypeError: Cannot read property 'web_search' of undefined in line 271. Here is 271 line:
Comment #10
sidharthap@kaztur i will have look at the change you post here. I will update you soon.