Pessoas,,
estou tentando implementar aqui o captcha no meu formulário, devido ao grande numero de ataques que o CATIr tem recebido..
segui um diff que baixei no openacs.org :
? acs-subsite.diff
? tcl/captcha-procs.tcl
? www/shared/captchas
Index: acs-subsite.info
===================================================================
RCS file: /cvsroot/openacs-4/packages/acs-subsite/acs-subsite.info,v
retrieving revision 1.83.2.5
diff -r1.83.2.5 acs-subsite.info
z23d22
< <requires url="acs-tcl" version="5.3.0"/>
24a24
> <requires url="acs-tcl" version="5.3.0"/>
35a36
> <parameter datatype="string" min_n_values="1" max_n_values="1" name="application" default="default" description="Name of the ETP application to use (default, faq, wiki, or create your own with the etp::define_applicaton procedure)" section_name="EditThisPage"/>
59a61
> <parameter datatype="string" min_n_values="1" max_n_values="1" name="RegistrationRedirectUrl" description="A URL to redirect to instead of showing the normal registration page. Useful if you want to replace the registration page with a custom page." section_name="user-login"/>
62d63
< <parameter datatype="string" min_n_values="1" max_n_values="1" name="RegistrationRedirectUrl" description="A URL to redirect to instead of showing the normal registration page. Useful if you want to replace the registration page with a custom page." section_name="user-login" />
70,71d70
< <parameter datatype="string" min_n_values="1" max_n_values="1" name="TmpDir" default="/tmp /var/tmp" description="What tmp directories are used on this system? Note the leading / character."/>
< <parameter datatype="string" min_n_values="1" max_n_values="1" name="application" default="default" description="Name of the ETP application to use (default, faq, wiki, or create your own with the etp::define_applicaton procedure)" section_name="EditThisPage"/>
72a72,73
> <parameter datatype="string" min_n_values="1" max_n_values="1" name="TmpDir" default="/tmp /var/tmp" description="What tmp directories are used on this system? Note the leading / character."/>
> <parameter datatype="number" min_n_values="1" max_n_values="1" name="UseImageVerification" default="0" description="Set to 1 to use captcha image on your registration form. it needs TclMagick to be installed." section_name="user-login"/>
Index: lib/user-new.tcl
===================================================================
RCS file: /cvsroot/openacs-4/packages/acs-subsite/lib/user-new.tcl,v
retrieving revision 1.14.2.1
diff -r1.14.2.1 user-new.tcl
0a1,23
> set usingCaptchas [parameter::get -parameter "UseImageVerification" -package_id [subsite::main_site_id] ]
> catch { package require TclMagick }
> set packages [ package names ]
> set isTclMagick false
> foreach pk $packages {
> if { [string equal $pk "TclMagick"] } {
> set isTclMagick true
> }
> }
>
> if {$usingCaptchas && $isTclMagick } {
>
> ad_page_contract {
> register with captchas
> } {
> {captcha_id {[captcha::create]} }
> }
>
> }
>
>
>
>
57a81,117
>
> #do this stuff is the TclMagick Library is present and the captchas parameter is active
>
> if {$usingCaptchas && $isTclMagick } {
> ns_log notice "using image verification "
> set captcha_file [lindex $captcha_id 0]
> set enc_captcha_text [lindex $captcha_id 1]
>
> ad_form -extend -name register -form {
> {captcha_id:text(hidden) {value $captcha_file } {after_html "<div class=\"form-item-wrapper\"><div class=\"form-widget\"><img src=$captcha_file ></div></div>" } }
> {captcha_text:text {label "Enter the text above"} }
> {captcha_enc:text(hidden) {value $enc_captcha_text } }
>
> }
>
>
> ad_form -extend -name register -validate {
>
> {captcha_text
> { [string equal $captcha_enc [ns_sha1 $captcha_text] ] }
> "The text must match the image above"
> }
> }
>
>
> }
> ###################################################
>
>
>
>
>
>
>
>
>
>
segui todos os passos e no final me deu esse erro.
Error in include template "/var/lib/aolserver/service0/packages/acs-subsite/lib/user-new": expected boolean value but got ""
alguem poderia me dizer o que esta acontecendo... fiz tudo como estava no diff e acabou nesse erro.
Autor: alexandre freire
1010 comentários
if {$abc} {
# do something }
Ele não vai funcionar porque a variável é nula e o if espera um boolean.
Criar o parâmetro UseImageVerification no pacote acs-subsite Se você baixar uma nova versão do OpenACS, o pacote acs-subsite já deve conter o parâmetro. Caso contrário, você precisa criá-lo na mão. Para fazer isso é bem simples. Acesso o link /acs-admin/apm
Clique sobre o pacote acs-subsite
Clique em Add New Parameter
Crie o parâmetro com o valor default false na seção login
Reinicie o serviço. Essa etapa é muito importante. Se não reiniciar o serviço o parâmetro vai travar todo o cadastro no seu portal. Agora vamos à instalação do tclmagick. Isso é um pouco mais complicado, pois no lenny o pacote está abandonado. Talvez alguem devesse conversar com o Rildo Pragana, que é o criador do Tcl Magick e está na comunidade, para perguntar sobre o pacote e descobrir o que aconteceu. Se você estiver no Debian Lenny, eu não consegui fazer ele funcionar para 64 bits de jeito nenhum, nem mesmo compilando na mão. A solução que encontrei foi adicionar os respositórios do etch no meu sources.list e instalei via APT. Para clarificar melhor, um passo a passo dos procedimentos para o Debian Lenny: Altere o arquivo /etc/apt/sources.list e adicione a seguinte linha: deb debian.pop-sc.rnp.br/debian/ etch main contrib non-free Digite o comando apt-get update
Digite apt-get install tclmagick
Vá para o diretório de instalação do seu aolserver (normalmente /usr/local/aolserver ou /usr/lib/aolserver4)
Entre no diretório lib dentro da pasta do aolserver
Crie o diretório tclmagick (mkdir tclmagick)
Crie um arquivo chamado pkgIndex.tcl e coloque o seguinte conteúdo dentro: # Hand-written package index file. set dir "/usr/lib" package ifneeded TclMagick 0.45 \ [list load "/usr/lib/TclMagick0.45/libTclMagick[info sharedlibextension]"] Reinicie o serviço e deve estar tudo funcionando. Acompanhe o log para possíveis erros na carga do tclmagick, mas o procedimento deve funcionar sem problemas. Obs.: Para que o procedimento acima funcione, você já dece ter colocado na pasta /packages/acs-subsite/tcl/ o arquivo captch-procs.tcl. Você pode obtê-lo no nosso SVN (http://svn.softwarepublico.gov.br/trac/openacs/browser/branches/spb-2.0/packages/acs-subsite/tcl/callback-procs.tcl?format=raw) ou no repositório oficial.
CONTEXT: PL/pgSQL function "acs_user__new" line 54 at SQL statement
PL/pgSQL function "acs__add_user" line 21 at assignment [07/Jan/2010:08:03:12][17835.1139476816][-conn:service0::26] Error: Problem creating a new user: Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.") ERRO: chave duplicada viola a restrição de unicidade "users_pk"
CONTEXT: PL/pgSQL function "acs_user__new" line 54 at SQL statement
PL/pgSQL function "acs__add_user" line 21 at assignment SQL: select acs__add_user(
'2813552',
'user',
now(),
null,
'200.202.168.162',
'9',
'okbenrpb@jxdazmjb.com',
'okbenrpb@jxdazmjb.com',
'http://www.playlist.com/blog/entry/12519942659',
'Ramoabtj',
'Ramoabtj',
'6B6EB7CE39CC8343C6038CE9CB49AD6DED821BFD',
'F318B3094662B501C181FB610DB8C2B160F8A9DD',
'Ramoabtj',
'f',
'needs approval'
);
while executing
"ns_pg_bind 0or1row nsdb0 { select acs__add_user(
:user_id,
'user',
now(),
..."
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
("postgresql" arm line 2)
invoked from within
"switch $driverkey {
oracle {
return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
}
..."
invoked from within
"db_exec 0or1row $db $full_statement_name $sql"
invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
# ns_log Debug "PLPGSQL: bypassed anon function"
set selection..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
# plsql calls that are simple selects bypass the plpgsql
# mechanism for creating anonymous fun..."
(procedure "db_exec_plsql" line 57)
invoked from within
"db_exec_plsql user_insert {}"
invoked from within
"set user_id [db_exec_plsql user_insert {}]"
("uplevel" body line 3)
invoked from within
"uplevel 1 $transaction_code "
[07/Jan/2010:08:03:12][17835.1139476816][-conn:service0::26] Error: auth::create_local_account: Error creating local account.
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.") ERRO: chave duplicada viola a restrição de unicidade "users_pk"
CONTEXT: PL/pgSQL function "acs_user__new" line 54 at SQL statement
PL/pgSQL function "acs__add_user" line 21 at assignment SQL: select acs__add_user(
'2813552',
'user',
now(),
null,
'200.202.168.162',
'9',
'okbenrpb@jxdazmjb.com',
'okbenrpb@jxdazmjb.com',
'http://www.playlist.com/blog/entry/12519942659',
'Ramoabtj',
'Ramoabtj',
'6B6EB7CE39CC8343C6038CE9CB49AD6DED821BFD',
'F318B3094662B501C181FB610DB8C2B160F8A9DD',
'Ramoabtj',
'f',
'needs approval'
);
while executing
"ns_pg_bind 0or1row nsdb0 { select acs__add_user(
:user_id,
'user',
now(),
..."
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
("postgresql" arm line 2)
invoked from within
"switch $driverkey {
oracle {
return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
}
..."
invoked from within
"db_exec 0or1row $db $full_statement_name $sql"
invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
# ns_log Debug "PLPGSQL: bypassed anon function"
set selection..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
# plsql calls that are simple selects bypass the plpgsql
# mechanism for creating anonymous fun..."
(procedure "db_exec_plsql" line 57)
invoked from within
"db_exec_plsql user_insert {}"
invoked from within
"set user_id [db_exec_plsql user_insert {}]"
("uplevel" body line 3)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction { set user_id [db_exec_plsql user_insert {}] # set password_question, password_answer
db_dml update_question_..."
(procedure "ad_user_new" line 32)
invoked from within
"ad_user_new $user_info(email) $user_info(first_names) $user_info(last_name) {} $user_info(secret_question) $user_info(secret_answer) $user_info..."
invoked from within
"set user_id [ad_user_new $user_info(email) $user_info(first_names) $user_info(last_name) {} $user_info(secret_question) $user_info(secret_answer..."
("uplevel" body line 4)
invoked from within
"uplevel $body "
[07/Jan/2010:08:03:12][17835.1139476816][-conn:service0::26] Error: auth::create_user: Error invoking account registration driver for authority_id = 9: Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.") ERRO: chave duplicada viola a restrição de unicidade "users_pk"
CONTEXT: PL/pgSQL function "acs_user__new" line 54 at SQL statement
PL/pgSQL function "acs__add_user" line 21 at assignment SQL: select acs__add_user(
'2813552',
'user',
now(),
null,
'200.202.168.162',
'9',
'okbenrpb@jxdazmjb.com',
'okbenrpb@jxdazmjb.com',
'http://www.playlist.com/blog/entry/12519942659',
'Ramoabtj',
'Ramoabtj',
'6B6EB7CE39CC8343C6038CE9CB49AD6DED821BFD',
'F318B3094662B501C181FB610DB8C2B160F8A9DD',
'Ramoabtj',
'f',
'needs approval'
);
while executing
"ns_pg_bind 0or1row nsdb0 { select acs__add_user(
:user_id,
'user',
now(),
..."
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
("postgresql" arm line 2)
invoked from within
"switch $driverkey {
oracle {
return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
}
..."
invoked from within
"db_exec 0or1row $db $full_statement_name $sql"
invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
# ns_log Debug "PLPGSQL: bypassed anon function"
set selection..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
# plsql calls that are simple selects bypass the plpgsql
# mechanism for creating anonymous fun..."
(procedure "db_exec_plsql" line 57)
invoked from within
"db_exec_plsql user_insert {}"
invoked from within
"set user_id [db_exec_plsql user_insert {}]"
("uplevel" body line 3)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction { set user_id [db_exec_plsql user_insert {}] # set password_question, password_answer
db_dml update_question_..."
(procedure "ad_user_new" line 32)
invoked from within
"ad_user_new $user_info(email) $user_info(first_names) $user_info(last_name) {} $user_info(secret_question) $user_info(secret_answer) $user_info..."
invoked from within
"set user_id [ad_user_new $user_info(email) $user_info(first_names) $user_info(last_name) {} $user_info(secret_question) $user_info(secret_answer..."
("uplevel" body line 4)
invoked from within
"uplevel $body "
[07/Jan/2010:08:03:12][17835.1139476816][-conn:service0::26] Error: Error in include template "/var/lib/aolserver/service0/packages/acs-subsite/lib/user-new": Transaction aborted:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.") ERRO: chave duplicada viola a restrição de unicidade "users_pk"
CONTEXT: PL/pgSQL function "acs_user__new" line 54 at SQL statement
PL/pgSQL function "acs__add_user" line 21 at assignment SQL: select acs__add_user(
'2813552',
'user',
now(),
null,
'200.202.168.162',
'9',
'okbenrpb@jxdazmjb.com',
'okbenrpb@jxdazmjb.com',
'http://www.playlist.com/blog/entry/12519942659',
'Ramoabtj',
'Ramoabtj',
'6B6EB7CE39CC8343C6038CE9CB49AD6DED821BFD',
'F318B3094662B501C181FB610DB8C2B160F8A9DD',
'Ramoabtj',
'f',
'needs approval'
);
while executing
"ns_pg_bind 0or1row nsdb0 { select acs__add_user(
:user_id,
'user',
now(),
..."
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
("postgresql" arm line 2)
invoked from within
"switch $driverkey {
oracle {
return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
}
..."
invoked from within
"db_exec 0or1row $db $full_statement_name $sql"
invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
# ns_log Debug "PLPGSQL: bypassed anon function"
set selection..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
# plsql calls that are simple selects bypass the plpgsql
# mechanism for creating anonymous fun..."
(procedure "db_exec_plsql" line 57)
invoked from within
"db_exec_plsql user_insert {}"
invoked from within
"set user_id [db_exec_plsql user_insert {}]"
("uplevel" body line 3)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction { set user_id [db_exec_plsql user_insert {}] # set password_question, password_answer
db_dml update_question_..."
(procedure "ad_user_new" line 32)
invoked from within
"ad_user_new $user_info(email) $user_info(first_names) $user_info(last_name) {} $user_info(secret_question) $user_info(secret_answer) $user_info..."
invoked from within
"set user_id [ad_user_new $user_info(email) $user_info(first_names) $user_info(last_name) {} $user_info(secret_question) $user_info(secret_answer..."
("uplevel" body line 4)
invoked from within
"uplevel $body "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction {
array set creation_info [auth::create_local_account -user_id $user_id -authority_id $authority_id -username $username -ar..."
(procedure "auth::create_user" line 32)
invoked from within
"auth::create_user -user_id $user_id -verify_password_confirm -username $username -email $email -first_names $first_names -last_name $last_name ..."
invoked from within
"array set creation_info [auth::create_user -user_id $user_id -verify_password_confirm -username $username -email $email -first_names $first_names..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {
array set creation_info [auth::create_user -user_id $user_id -verify_password_confirm -username $username -email $email ..."
("uplevel" body line 3)
invoked from within
"uplevel #$level $on_submit"
("1" arm line 592)
invoked from within
"switch $errno {
0 {
# TCL_OK
}
1 {
# TCL_E..."
(procedure "ad_form" line 612)
invoked from within
"ad_form -extend -name register -on_request {
# Populate elements from local variables } -on_submit { db_transaction {
array set crea..."
("uplevel" body line 150)
invoked from within
"uplevel {
set usingCaptchas [parameter::get -parameter "UseImageVerification" -package_id [subsite::main_site_id] -default false]
catch { package req..."
(procedure "code::tcl::/var/lib/aolserver/service0/packages/acs-subsite/..." 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 [template::util::url_to_file "/packages/acs-subsite/lib/user-new" "$__adp_stub"] [list email "[ad_quotehtml [lang::util::localize ..."
[07/Jan/2010:08:03:29][17835.1162004816][-sched:36-] Error: Ns_PgExec: result status: 7 message: ERRO: syntax error em ou próximo a "ctx_ddl" at character 1
CONTEXT: PL/pgSQL function "__exec_1696927_optimize_intermedia_index" line 2 at SQL statement [07/Jan/2010:08:03:30][17835.1162004816][-sched:36-] Error: Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
while executing
"ns_db 0or1row $db "select $function_name ()""
invoked from within
"db_exec_plpgsql $db $full_statement_name $sql $statement_name"
invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
# ns_log Debug "PLPGSQL: bypassed anon function"
set selection..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
# plsql calls that are simple selects bypass the plpgsql
# mechanism for creating anonymous fun..."
(procedure "db_exec_plsql" line 57)
invoked from within
"db_exec_plsql optimize_intermedia_index {begin
ctx_ddl.sync_index ('swi_index');
end;
}"
(procedure "search::indexer" line 16)
invoked from within
"search::indexer"
("eval" body line 1)
invoked from within
"eval [concat [list $proc] $args]"
(procedure "ad_run_scheduled_proc" line 46)
invoked from within
"ad_run_scheduled_proc {t f 30 search::indexer {} 1262861812 0 f}"
(procedure "search::indexer" line 16)
invoked from within
"search::indexer"
("eval" body line 1)
invoked from within
"eval [concat [list $proc] $args]"
(procedure "ad_run_scheduled_proc" line 46)
invoked from within
"ad_run_scheduled_proc {t f 30 search::indexer {} 1262864515 0 f}"
NOTA: Deleting symlinks...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Unscheduling item...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Unsetting live and latest revisions...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting associated revisions...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting associated item templates...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting item relationships...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting child relationships...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting parent relationships...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting associated permissions...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting keyword associations...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting associated comments...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: Deleting content item...
CONTEXT: PL/pgSQL function "content_item__delete" line 4 at perform
PL/pgSQL function "file_storage__delete_file" line 5 at return
NOTA: adicionando entrada que faltava na cláusula FROM para tabela "acs_object_id_seq"
CONTEXT: PL/pgSQL function "acs_object__new" line 17 at select into variables
PL/pgSQL function "acs_object__new" line 11 at return
PL/pgSQL function "notification__new" line 18 at assignment
[07/Jan/2010:09:04:28][18581.1162004816][-sched:30-] Notice: acs_mail_lite::deliver_mail successful
[07/Jan/2010:09:04:35][18581.1168148816][-sched:36-] Error: Ns_PgExec: result status: 7 message: ERRO: syntax error em ou próximo a "ctx_ddl" at character 1
CONTEXT: PL/pgSQL function "__exec_1696998_optimize_intermedia_index" line 2 at SQL statement [07/Jan/2010:09:04:35][18581.1168148816][-sched:36-] Error: Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
while executing
"ns_db 0or1row $db "select $function_name ()""
invoked from within
"db_exec_plpgsql $db $full_statement_name $sql $statement_name"
invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
# ns_log Debug "PLPGSQL: bypassed anon function"
set selection..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
# plsql calls that are simple selects bypass the plpgsql
# mechanism for creating anonymous fun..."
(procedure "db_exec_plsql" line 57)
invoked from within
"db_exec_plsql optimize_intermedia_index {begin
ctx_ddl.sync_index ('swi_index');
end;
}"
(procedure "search::indexer" line 16)
invoked from within
"search::indexer"
("eval" body line 1)
invoked from within
"eval [concat [list $proc] $args]"
(procedure "ad_run_scheduled_proc" line 46)
invoked from within
"ad_run_scheduled_proc {t f 30 search::indexer {} 1262864515 0 f}"
[07/Jan/2010:09:04:37][18581.1088276816][-conn:service0::1] Notice: file_add mime_type=''
[07/Jan/2010:09:05:10][18581.1162004816][-sched:36-] Warning: db_exec: longdb 5157876 nsdb0 select dbqd.search.tcl.search-procs.search::indexer.search_observer_queue_entry