Forum OpenACS Q&A: News package problem

Collapse
Posted by Christof Spitz on
Ok, I try to understand this beast slowly. Here is another problem: I just mounted News, and it shows the preview of a news item, but when I confirm, this comes up. Any idea?
TIA, Christof

(OpenACS 5.2.0 / .LRN 2.2.0)

Server Error

There was a server error processing your request. We apologize.

Take me back where I was (before the error)

Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")

ERROR:  -20000: This items content type news is not registered to this folder -100
CONTEXT:  PL/pgSQL function "news__new" line 54 at assignment

SQL:

    select news__new(
        null,              -- p_item_id
        null,              -- p_locale
        '2006-1-12', -- p_publish_date
        'Testbody',      -- p_text
        null,              -- p_nls_language
        'Test',    -- p_title
        'text/plain',        -- p_mime_type
        '2458',        -- p_package_id
        '2006-1-26', -- p_archive_date
        '496',    -- p_approval_user
        '2006-01-12',    -- p_approval_date
        '85.176.69.139',      -- p_approval_ip
        null,              -- p_relation_tag
        '85.176.69.139',      -- p_creation_ip
        '496',          -- p_creation_user
        't',    -- p_is_live_p
        'Testlead'      -- p_lead
    );

Collapse
2: Re: News package problem (response to 1)
Posted by Iuri Sampaio on
have you tryed to check if the tables of the news-pkg were created?
it seems to me it's a problem on the tables