Forum OpenACS Q&A: errors in search module

Collapse
Posted by amit singh on
if a user tries to use the search module it returns an error page not
found and the watchdog / error log looks like this
"[04/Dec/2000:13:35:21]
    Error: invalid command name "ad_verity_and_get_user_id"
    invalid command name "ad_verity_and_get_user_id"
        while executing
    "ad_verity_and_get_user_id"
        invoked from within
    "set user_id [ad_verity_and_get_user_id]..."
        (file "/web/iig.org.in/www/search/search.tcl" line 4)
        invoked from within
    "source $script"
        invoked from within
    "if ![file exists $script] {
            ns_returnnotfound $conn
        } else {
            source $script
        }"
        (procedure "ns_sourceproc" line 3)
        invoked from within
    "ns_sourceproc cns42 {}"
    Notice: Running scheduled proc process_email_queue..."

I tried using the search with the system account but the error is the
same can some one help on this.

Collapse
Posted by Avni Khatri on
That error means that there is no registered proc with the name
"ad_verity_and_get_user_id" It could mean 1 of 2 things. Either
the proc doesn't exist at all or it could mean that the proc
exists but didn't get registered b/c there is an error within it.
In your case, the proc doesn't exist at all. I think it should read

set user_id [ad_verify_and_get_user_id]

(change the t to an f)

Collapse
Posted by Ola Hansson on
Search hasn't been ported or implemented in OpenACS. I think it's because search in ACS Classic is based on Oracles Intermedia witch isn't available for PostgreSQL and other possible solutions like e.g., PLS, are not open source or they're not good enough...

I've managed to get a nice search (on my dev site) by using the method discussed here.

You *can* have search on the Bboard since Don Baccus made a hack based on an old photo.net solution! (In witch case you'll need to have pltcl language installed.)

Collapse
Posted by Avni Khatri on
agh true. I forgot. thanks