Forum OpenACS Q&A: education module

Collapse
Posted by Claudio Cerasoli on
when i go to /admin/education i have this result in the aolserver log:

....
[21/Jan/2001:14:40:06][947.7172][-conn2-] Notice: Querying 'select
ad_group_member_p(1, system_administrator_group_id()) from dual;'
[21/Jan/2001:14:40:06][947.7172][-conn2-] Notice: dbinit:
sql(localhost::assotel): 'select ad_group_member_p(1,
system_administrator_group_id()) from dual'
[21/Jan/2001:14:40:06][947.7172][-conn2-] Notice: URL:
/admin/education/
[21/Jan/2001:14:40:06][947.7172][-conn2-] Error: Ns_PgExec: result
status: 7 message: ERROR:  Relation 'edu_departments' does not exist

[21/Jan/2001:14:40:06][947.7172][-conn2-] Error: dbinit:
error(localhost::assotel,ERROR:  Relation 'edu_departments' does not
exist
): 'select department_name, department_id from edu_departments order
by lower(department_name)'
[21/Jan/2001:14:40:06][947.7172][-conn2-] 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 department_name, department_id from
edu_departments order by lower(department_name)""
    invoked from within
"set selection [ns_db select $db "select department_name,
department_id from edu_departments order by
lower(department_name)"]..."
    (file "/web/server1/www/admin/education/index.tcl" line 30)
    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 cns13 {}"
....

can you help me?

Collapse
Posted by Dan Wickstrom on
The education module is no longer loaded by default.  You need to uncomment it in load-data-model.sql.