Forum OpenACS Q&A: Re: invalid command name "template::adp_parse" w/ OpenACS 3.2.5

index.tcl: same error

ns_paran: yes ... and on a whim, since you pointed it out,I tried to hard code it as just index.adp, but makes no difference

# grep directory nsd.tcl
set directoryfile          index.adp,index.tcl,index.html,index.htm
    ns_param  DirectoryFile      $directoryfile
    #ns_param  directoryadp    $pageroot/dirlist.adp ;# Choose one or the other
    #ns_param  directoryproc    _ns_dirlist          ;#  ...but not both!
    #ns_param  directorylisting  fancy                ;# Can be simple or fancy

PostgreSQL 7.2.4 and AOLServer 3.4.2

Re: 3.2.5 vs 4.x ... its what the client developed their site under

As its not my site, not much I can offer to 'peruse' ... the index.tcl file, though, has just one line in it:

source "[ns_info pageroot]/orgs/lists.tcl"

and that file has about as much in it:

set disciplines {
    Dance
    Film/Video/Photography
    "History/Social Studies"
    Music
    "Architecture/Historical Site"
    Science/Technology/Environment
    Theater/Puppetry/Mime
    "Visual Arts"
    "Arts Education"
    Multi-Disciplinary
    Writing/Literature/Folklore
}

set boroughs {
    Manhattan
    Brooklyn
    Queens
    "Staten Island"
    Bronx
    Citywide
}

Marc i don't know if it makes a difference but in your ns_param you have DirectoryFile where as normally i write it directory file i.e.

ns_param        directoryfile      "index.tcl,index.adp,index.html, index.htm"

Not sure if this will make a difference but could be worth looking into

Darren

At least for AOLserver 3.x, the config file parameter names are not case senstive, so it makes no difference.