ERROR in mailing-list/index .tcl <p>
I get an error like
<pre>[04/Jan/2001:17:20:12]
Error: Ns_PgExec: result status: 7 message: ERROR: parser: parse
error at or near "("
[04/Jan/2001:17:20:12]
Error: dbinit: error(localhost::iigfdb,ERROR: parser: parse error
at or near "("
): 'select c.category, c.category_id,
decode(ui.category_id,NULL,NULL,'t') as selected_p
from categories c, (select * from users_interests where user_id =
1) ui
where c.enabled_p = 't'
and c.category_id = ui.category_id(+)'
[04/Jan/2001:17:20:12]
Error: Database operation "select" failed (exception NSDB, "Query
was not a statement returning rows.")
Database operation "select" failed (exception NSDB, "Query was not
a statement returning rows.")
while executing
"ns_db select $db "select c.category, c.category_id,
decode(ui.category_id,NULL,NULL,'t') as selected_p
from categories c, (select * from users_interes ..."
invoked from within
"set selection [ns_db select $db "select c.category,
c.category_id, decode(ui.category_id,NULL,NULL,'t') as selected_p
from categories c, (select * fro ..."
invoked from within
"if { $user_id == 0 } {
# not a logged-in user
set selection [ns_db select $db "select category_id, category
from categories
where enabled_p ..."
(file "/web/iig.org.in/www/mailing-list/index.tcl" line 5)
invoked from within
"source $ad_conn(file)"
invoked from within
"if { $extension == ".tcl" } {
# Tcl file - use source.
source $ad_conn(file)
} elseif { $extension == ".adp" } {
# ADP file - parse and return ..."
(procedure "ad_handle_abstract_url" line 65)
invoked from within
"ad_handle_abstract_url cns368 {}"
Notice: dbdrv: opening database 'postgres:localhost::iigfdb'</pre>
<p>
Is the file ported in open acs?
Can some one help me with this.