Forum OpenACS Q&A: adding an edit-this-page to a subsite


Novice OpenACS user here again.  😊

I added a subsite to my site, and then tried adding an edit-this-page section to it.  The add seems to go fine, but then when I go TO the new page, I get the following error:

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

ERROR:  -20000: Could not find a root folder for item ID 0. Either the item does not exist or its parent value is corrupted.
CONTEXT:  PL/pgSQL function "content_item__new" line 57 at assignment
PL/pgSQL function "content_folder__new" line 34 at assignment
PL/pgSQL function "content_folder__new" line 7 at return

[etc., etc.]

Anyone seen this before?  Any idea what I'm doing wrong?  I've seen numerous posts about this error occuring when DELETING a page, but not for when adding a new one!


Posted by Ben Koot on
Hi Trevis,

Havn't seen it before, but these things hapen. Go to developers admin, and unmount and delete the ETP instance. Than add an ETP instance again but make sure you use a diferent name for the module. With a bit of luck that should solve the problem.

Good luck