This is again the incorrect error message. Please do us all a favor and practice on a simple page. Please try to use the correct api for OpenACS applications. I'm sure no one here, even the experts, started on such a complicated page before understanding how the various parts worked, and how to debug the basics. We all assume you have a properly loaded data model, but right now that might not be a good thing to assume.
Please tell us, before moving on:
- What version of AOLserver are you using?
- What version of OpenACS are your using?
- What documentation are you using?
- Do you have any pages that are working?
- Does the query you are trying work from psql?