Hi Derek,
I have a very weird problem on a customer’s site that has been using this module for almost 2 years now.
The site is running EE 2.5.2
GCS is of version 1.1.1 (tried 1.1.3 too, but same problem)
The search module is producing results in the correct way for almost all search terms, but 2 (as far I found out now)... Our customer reported today that using the search-term ‘ligger’ or ‘i-ligger’ (dutch terms in building industry) then the search page is empty. Looking from my side on a development machine with debugging on, I can see the following error
Parse error: syntax error, unexpected T_ENDIF in /Applications/MAMP/htdocs/eurabo.local/admin/expressionengine/libraries/Functions.php(680) : eval()'d code on line 218
The relevant parts of the template debugger shows normal stuff if you ask me
(0.013826 / 2.40MB) Tag: {exp:google_custom_search:form results_page="nl/search/results" id="search_form" class="form"} (0.013888 / 2.40MB) Closing Tag Found (0.013945 / 2.41MB) Tag: {exp:google_custom_search:results cse="017331335665742158850:ae3foaaxycc" api_key="AIzaSyDyF1rxFhrmTX-cmkHR1cpuU_HYmjiX1fE" language="lang_nl"" keywords="36042fbb8c9409170c016c5579be1c59" replace_title=" - Eurabo" site="http://www.eurabo.be/nl/"} (0.014034 / 2.41MB) Closing Tag Found (0.014094 / 2.41MB) Processing Tags (0.014126 / 2.41MB) Plugin Tag: Ce_str/ing (0.014148 / 2.41MB) Plugin Tag: Bbr_langswitcher/ (0.014168 / 2.41MB) Module Tag: Google_custom_search/form (0.014186 / 2.41MB) Module Tag: Google_custom_search/results (0.014203 / 2.41MB) Including Files for Plugins and Modules (0.014729 / 2.47MB) Files for Plugins and Modules All Included (0.015614 / 2.50MB) Beginning Final Tag Data Processing (0.015642 / 2.50MB) Calling Class/Method: Ce_str/ing (0.015763 / 2.50MB) -> Class Called: Ce_str (0.015794 / 2.50MB) -> Method Called: ing (0.015932 / 2.50MB) -> Data Returned (0.015960 / 2.50MB) Calling Class/Method: Bbr_langswitcher/ (0.016184 / 2.50MB) -> Class Called: Bbr_langswitcher (0.017021 / 2.50MB) -> Method Called: Bbr_langswitcher (0.017082 / 2.50MB) -> Data Returned (0.017108 / 2.50MB) Calling Class/Method: Google_custom_search/form (0.017180 / 2.50MB) -> Class Called: Google_custom_search (0.017428 / 2.51MB) -> Method Called: form (0.018193 / 2.58MB) Calling Extension Class/Method: Safecracker_ext/form_declaration_modify_data (0.018439 / 2.57MB) -> Data Returned (0.018469 / 2.57MB) Calling Class/Method: Google_custom_search/results (0.018807 / 2.57MB) -> Class Called: Google_custom_search (0.018907 / 2.57MB) -> Method Called: results (0.019413 / 2.58MB) -> Going to perform a search for keywords: ligger (0.019536 / 2.58MB) -> About to make cURL request to: https://www.googleapis.com/customsearch/v1?alt=json&fields=queries,items(title,htmlTitle,link,snippet,htmlSnippet,pagemap/cse_image,pagemap/cse_thumbnail)&cx=017331335665742158850:ae3foaaxycc&key=AIzaSyDyF1rxFhrmTX-cmkHR1cpuU_HYmjiX1fE&q=ligger&num=10&siteSearch=http://www.eurabo.be/nl/&siteSearchFilter=i&safe=off&lr=lang_nl&filter=0&start=1&userIp=127.0.0.1 (0.357859 / 2.59MB) -> cURL request successful (0.358696 / 2.63MB) -> Decoded JSON results (0.364588 / 2.75MB) -> Found 29 results for keywords: ligger (0.369396 / 2.74MB) -> Data Returned
Can you help?
tx,
Tim
|