Forum OpenACS Q&A: Re: Problems defining procs

Collapse
Posted by Brian Fenton on
Break it down into manageable chunks. Can you get a basic proc working that just writes to the error log (using ns_log)? I presume you are bouncing AOLserver or watching the library file that contains your proc. Are you developing in an existing OpenACS package or did you create your own? If you still can't get it working, I would take an existing working OpenACS library file, add your proc, watch the file and see what happens. How are you calling the proc? Also check in the api-doc - your proc should appear there if you defined it with ad_proc.

Hope this gives you some ideas,
Brian