[opencms-dev] Version 5, Search form and HtDig

Olli Aro olli_aro at yahoo.co.uk
Fri Dec 13 12:16:03 CET 2002


Hi all,

I have tried to install htdig with version 5 last few days and encountered
various problems/error with the integration. I was browsing the mailing list
for help earlier this morning and noticed that other people have encountered
problems as well.

I would be greatful, if someone could share further their experiences
regarding the version 5/htdig integration, so I can define which of my
errors are to do with the opencms version 5 and which with htdig itself.

My error list so far is:

1)Module classes in a wrong directory.

Description:

After installing any version 4 module opencms complains that the module
classes cannot be found.

Fix:

Copy classes from /system/classes to /system/modules/default/classes.

2) Uses old com.opencms.util.Encoder.escapeWBlanks() method.

Description:

Opencms complains that the method has a wrong amount of arguments.

Fix:

Version 5 com.opencms.util.Encoder.escapeWBlanks() requires encoding format
as an argument, so the calls from class
com.opencms.modules.search.CmsSearchForm has to be changed from
Encoder.escapeWBlanks(String data) to Encoder.escapeWBlanks(String data,
String encoding).

3) Authentication problem

Description:

When including the template class com.opencms.modules.search.CmsSearchForm
in a opencms template the search page can only be accessed by the opencms
administrator group.

Fix:

N/A

4) HtDig kills tomcat

Description:

Running Htdig kills Tomcat and hangs before finishing.

Fix:

N/A

I have tested these on two systems:

Solaris 8
Apache  1.3.27
Tomcat  4.1.12
Java    1.4.1
Opencsm 5 beta
HtDig   3.1.6

Redhat  8
Apache  1.3.27
Tomcat  4.1.12
Java    1.4.1
Opencsm 5 beta
HtDig   3.1.6





More information about the opencms-dev mailing list