Request Error

nsoracle.c:3904:ora_tcl_command: error in `OCIStmtExecute ()': ORA-00936: missing expression

SQL: select k.main_id
                                   from main_and_article k
                                  where k.article_id = 3779510 !>>>!index.html
    while executing
"ns_ora 0or1row nsdb0 {select k.main_id
                                   from main_and_article k
                                  where k.article_id..."
    ("uplevel" body line 1)
    invoked from within
"uplevel 2 [list ns_ora $type $db $sql] $args"
    invoked from within
"db_exec 0or1row $db $statement_name $sql"
    invoked from within
"set selection [db_exec 0or1row $db $statement_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 $statement_name $sql]
    }"
    (procedure "db_string" line 4)
    invoked from within
"db_string get_main {select k.main_id
                                   from main_and_article k
                                  where k.article_id =..."
    ("eval" body line 1)
    invoked from within
"eval $script"
    invoked from within
"ns_cache eval util_memoize $script {
		list $current_time [eval $script]
	    }"
    (procedure "util_memoize" line 19)
    invoked from within
"util_memoize [list db_string get_main "select k.main_id
                                   from main_and_article k
                                  w..."
    invoked from within
"set main_id [util_memoize [list db_string get_main "select k.main_id
                                   from main_and_article k
                      ..."
    ("uplevel" body line 74)
    invoked from within
"uplevel {
    	  ad_page_contract {
  Displays an article.
  @author colin_mitchell@wgbh.org
  @cvs-id $Id: article.tcl,v 1.11 2008/11/18 18:34:27 nsa..."
    (procedure "code::tcl::/web/wgbh/www/wgbh/article" 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 3)
    invoked from within
"adp_prepare "
    (procedure "template::adp_parse" line 31)
    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 $file"
    invoked from within
"if ![catch {
	set file $tcl_url2file([ad_conn url])
	set path_info $tcl_url2path_info([ad_conn url])
      } errmsg] {
	ad_conn -set file $file
	ad_co..."
    invoked from within
"if [rp_performance_mode] {
      global tcl_url2file tcl_url2path_info
      if ![catch {
	set file $tcl_url2file([ad_conn url])
	set path_info $tcl_u..."

webmaster@wgbh.org