Check that the variable package_id is not already in use on the page you are editing. If already declared you need not call ad_conn to get the value. Also check that you have not left grouping characters unterminated such as quotes and brackets. If still no luck please post the tcl page surrounded by
< pre>page here< / pre> tags
.
Regards
Richard