Index: openacs-4/packages/acs-content-repository/www/doc/guide/publish.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/publish.adp,v diff -u -r1.4.2.5 -r1.4.2.6 --- openacs-4/packages/acs-content-repository/www/doc/guide/publish.adp 13 Jul 2023 12:47:28 -0000 1.4.2.5 +++ openacs-4/packages/acs-content-repository/www/doc/guide/publish.adp 1 Sep 2024 12:39:59 -0000 1.4.2.6 @@ -97,7 +97,7 @@ content::get_content in its Tcl file in order to automatically retrieve the current item's attributes. The attributes will be placed in a onerow datasource called -content . The template may then loop thorugh the content +content . The template may then loop through the content array in order to convert the onerow datasource to local variables.
In addition to the "x" view, the Content Repository Index: openacs-4/packages/acs-content-repository/www/doc/guide/publish.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/publish.html,v diff -u -r1.5.2.2 -r1.5.2.3 --- openacs-4/packages/acs-content-repository/www/doc/guide/publish.html 29 Aug 2022 11:00:26 -0000 1.5.2.2 +++ openacs-4/packages/acs-content-repository/www/doc/guide/publish.html 1 Sep 2024 12:39:59 -0000 1.5.2.3 @@ -113,7 +113,7 @@ As a shortcut, the item's template may call content::get_content in its Tcl file in order to automatically retrieve the current item's attributes. The attributes will be placed in a onerow datasource called -content . The template may then loop thorugh the content array in order to convert +content . The template may then loop through the content array in order to convert the onerow datasource to local variables.
Index: openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp 7 Aug 2017 23:47:50 -0000 1.2 +++ openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.adp 1 Sep 2024 12:39:59 -0000 1.2.2.1 @@ -139,7 +139,7 @@
If you get the error ERROR: could
not access file "$libdir/tsearch": no such file or
directory
It is probably because PostgreSQL's libdir
-configuration variable points to a diffent directory than where
+configuration variable points to a different directory than where
tsearch is. You can find out where PostgreSQL expects to find
tsearch via
pg_config --pkglibdir
@@ -249,7 +249,7 @@
Restart the service.
[$OPENACS_SERVICE_NAME postgresql]$ svc -t /service/$OPENACS_SERVICE_NAME
- [$OPENACS_SERVICE_NAME postgresl]$
+ [$OPENACS_SERVICE_NAME postgresql]$
If you are lucky, Full Text Search is enabled now, if not Index: openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html,v diff -u -r1.12 -r1.12.2.1 --- openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html 7 Aug 2017 23:47:50 -0000 1.12 +++ openacs-4/packages/acs-core-docs/www/install-full-text-search-openfts.html 1 Sep 2024 12:39:59 -0000 1.12.2.1 @@ -98,7 +98,7 @@ /usr/local/pgsql/bin/psql $OPENACS_SERVICE_NAME -f /usr/local/src/postgresql-7.3.4/contrib/pgsql_contrib_openfts/openfts.sql
If you get the error
ERROR: could not access file "$libdir/tsearch": no such file or directory
- It is probably because PostgreSQL's libdir configuration variable points to a diffent directory than where tsearch is.
+ It is probably because PostgreSQL's libdir configuration variable points to a different directory than where tsearch is.
You can find out where PostgreSQL expects to find tsearch via
pg_config --pkglibdir
If you have installed OpenFTS, you can enable it for this service. Uncomment this line from config.tcl
. (To uncomment a line in a Tcl file, remove the #
at the beginning of the line.)
#ns_param nsfts ${bindir}/nsfts.so
Click Admin
on the top of the default home page. If prompted, log in with the account and password you entered during install.
Click on the Install
@@ -131,4 +131,4 @@
new application
link.
Click on the Install
link next to Weblogger.
Install all required packages as well (always say okay until you shall restart the server)
Load the service contracts datamodell and enable the service contract
[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd packages/lars-blogger/sql/postgresql
[$OPENACS_SERVICE_NAME postgresql]$ psql $OPENACS_SERVICE_NAME -f lars-blogger-sc-create.sql
Note: Usually this script is called package_name-sc-create.sql
Restart the service.
[$OPENACS_SERVICE_NAME postgresql]$ svc -t /service/$OPENACS_SERVICE_NAME
- [$OPENACS_SERVICE_NAME postgresl]$
If you are lucky, Full Text Search is enabled now, if not consult http://openacs.org/forums/message-view?message_id=154759. This link also contains some hints on how to make sure it is enabled.