I am currently working with the configuration of OpenACS 3.2.5. As I
am not yet an OpenACS-expert I have come accross two problems:
- I can't get WimpyPoint to accept special danish characters
- I can't change the db-access from trust to password. Well, I can
change it, but I can't access the db with the dbpassword typed in the
nsd.tcl-file.
WimpyPoint
I have added
ns_startcontent -type $content_type
in /tcl/ad-utilities.tcl.preload like this:
proc ReturnHeaders {{content_type text/html}} {
set all_the_headers "HTTP/1.0 200 OK
MIME-Version: 1.0
Content-Type: $content_type
"
util_WriteWithExtraOutputHeaders $all_the_headers
ns_startcontent -type $content_type
}
and
proc_doc ad_return_top_of_page {first_part_of_page {content_type
text/html}} "Returns HTTP headers plus the top of the user-ivisible
page. Saves a TCP packet (and therefore some overhead) compared to
using ReturnHeaders and an ns_write." {
set all_the_headers "HTTP/1.0 200 OK
MIME-Version: 1.0
Content-Type: $content_type
"
ns_startcontent -type $content_type
util_WriteWithExtraOutputHeaders $all_the_headers
$first_part_of_page
}
This solves the special-character-problem in for instance the
address-book, BUT NOT in WimpyPoint. What can I do? It is quite
anoying to use the html-commands, like oslash...
db-access
Using the default dbname acs - also as dbuser - I have changed
dbpassword "changeme..." to something else in the nsd.tcl-file.
Next I have changed trust to password in the two last lines in the
pg_hba.conf-file.
The log gives me this message:
Error: Ns_PgOpenDb(postgres): Could not connect to localhost::acs:
Password authentication failed for user 'acs'
So where is the problem? Do I have to add the password somewhere else,
or?!?