Forum OpenACS Q&A: Request Error

Collapse
Posted by George Adamides on
Hi to all:
When I do a search in my openacs site at http://ce.ari.gov.cy I get the following request error message on the display. Can anyone help?

-----------
HTTP/1.0 200 OK Server: AOLserver/3.3.1+ad13 Content-Type: text/html; charset=iso-8859-7 MIME-Version: 1.0 Date: Tue, 27 Jan 2004 05:59:23 GMT Content-Length: 3845 Connection: close
Request Error
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
    while executing
"ns_pg_bind 0or1row nsdb0 {
    select package_i
    from cr_news
    where news_id=:object_id
    }"
    ("uplevel" body line 1)
    invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql"
    invoked from within
"db_exec 0or1row $db $full_name $sql"
    invoked from within
"set selection [db_exec 0or1row $db $full_name $sql]"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code_block "
    invoked from within
"db_with_handle db {
    set selection [db_exec 0or1row $db $full_name $sql]
    }"
    (procedure "db_string" line 7)
    invoked from within
"db_string get_package_id {*SQL*}"
    (procedure "news__url" line 3)
    invoked from within
"news__url $object_id"
    (procedure "AcsSc.FtsContentProvider.url.news" line 1)
    invoked from within
"AcsSc.FtsContentProvider.url.news 3293"
    ("uplevel" body line 1)
    invoked from within
"uplevel $func_and_args"
    (procedure "apply" line 3)
    invoked from within
"apply $proc_name $arguments"
    (procedure "acs_sc_call" line 5)
    invoked from within
"acs_sc_call FtsContentProvider url [list $object_id] $object_type"
    ("for" body line 9)
    invoked from within
"for { set __i 0 } { $__i < [expr $high - $low +1] } { incr __i } {

    set object_id [lindex $result(ids) $__i]
    set object_type [acs_object_type $objec..."
    ("uplevel" body line 91)
    invoked from within
"uplevel {
          ad_page_contract {
    @author Neophytos Demetriou <mailto:k2pts@cytanet.com.cy>
    @creation-date September 01, 2001
    @cvs-id search.tc..."
    (procedure "code::tcl::/web/openacs-4.6.2/packages/search/www/search" line 2)
    invoked from within
"code::tcl::$__adp_stub"
    invoked from within
"if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init tcl $__adp_stub
..."
    ("uplevel" body line 3)
    invoked from within
"uplevel {

    if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init t..."
    (procedure "adp_prepare" line 2)
    invoked from within
"adp_prepare "
    (procedure "template::adp_parse" line 30)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    invoked from within
"$handler"
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    $handler
      } ad_script_abort val {
    # do nothing
      }"
    invoked from within
"rp_serve_concrete_file [ad_conn file]"
    (procedure "rp_serve_abstract_file" line 60)
    invoked from within
"rp_serve_abstract_file "$root/$path""
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    rp_serve_abstract_file "$root/$path"
    set tcl_url2file([ad_conn url]) [ad_conn file]
    set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."