Forum OpenACS Q&A: Response to howto run 3.2.5 with European characters on nsd8x

The weird thing is that my watchdog is showing the following error:
[05/Mar/2002:12:46:39]
    Error: can't read "portrait_id": no such variable
    can't read "portrait_id": no such variable
        while executing
    "ns_pg blob_write $db $portrait_id
    "
        (file "/web/server1/www/shared/portrait-bits.tcl" line 30)
        invoked from within
    "source $script"
        (procedure "ns_sourceproc" line 6)
        invoked from within
    "ns_sourceproc cns51 {}"
    Notice: Querying '
            select user_id, token, secure_token,
                   last_ip, last_hit from sec_sessions
            where session_id = 33244;'