Forum OpenACS Q&A: Re: Error using __new function

Collapse
Posted by Simon Carstensen on
Having specified the typecasts properly when calling na_subscription__new , I now get an error from acs_object__new:
[11/Jan/2003:21:14:57][25375.24581][-conn3-] Error: Ns_PgExec: result status: 7 message: ERROR:  Function 'acs_object__new(int4, varchar, timestamptz, int4, varchar, varchar)' does not exist
        Unable to identify a function that satisfies the given argument types
        You may need to add explicit typecasts
When specifying typecasts for this function (which shouldn't be necessary, browsing the code of other packages), I get this error:
[11/Jan/2003:21:13:57][25375.24581][-conn3-] Error: Ns_PgExec: result status: 7 message: ERROR:  parser: parse  error at or near "$2"

/Simon