Ezfind driving me crazy: Cannot parse 'meta_language_code_s

Author Message

Daniel Vos

Monday 21 September 2009 6:07:59 am

I've tried ezfind on EP4.04 , and EP4.1.3 , with ezfind 2 stable and now from svn,

I've managed to get it partialy working, but ezpublish keeps nagging "no running server"

When I do I search, I get this :

SEVERE: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'meta_language_code_s:': Encountered "<EOF>" at line 1, column 21.
Was expecting one of:
"(" ...
"*" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
"[" ...
"{" ...
<NUMBER> ...

at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:108)

If somebody recognizes it (and is able to help me), I would be very gratefull..

Alles Hat Ein Ende Nur Die Wurst Hat Zwei

Daniel Vos

Thursday 24 September 2009 4:40:44 am

Found it:

Needed to put :

[RegionalSettings]
SiteLanguageList[]
SiteLanguageList[]=dut-NL

in settings/override/site.ini.append.php

According to the documentation this is not needed when using just one language, but ezfind aparantly needs it..

Alles Hat Ein Ende Nur Die Wurst Hat Zwei

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 19:48:08
Script start
Timing: Jan 30 2025 19:48:08
Module start 'layout'
Timing: Jan 30 2025 19:48:08
Module start 'content'
Timing: Jan 30 2025 19:48:09
Module end 'content'
Timing: Jan 30 2025 19:48:09
Script end

Main resources:

Total runtime0.9656 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 588.4219151.2422
Module start 'layout' 0.00800.0072 739.6641220.7656
Module start 'content' 0.01520.9494 960.42974,260.8516
Module end 'content' 0.96460.0009 5,221.28137.7734
Script end 0.9655  5,229.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3878160.0002
Check MTime0.00140.1401160.0001
Mysql Total
Database connection0.00060.065010.0006
Mysqli_queries0.878490.9750540.0163
Looping result0.00050.0549520.0000
Template Total0.891092.320.4455
Template load0.00180.182220.0009
Template processing0.889292.091820.4446
Template load and register function0.00170.179810.0017
states
state_id_array0.00220.224810.0022
state_identifier_array0.00220.227320.0011
Override
Cache load0.00140.1489280.0001
Sytem overhead
Fetch class attribute can translate value0.00170.173810.0017
Fetch class attribute name0.00200.203620.0010
XML
Image XML parsing0.00030.028110.0003
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00300.3092100.0003
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs