Extension:Page Forms/Fixing the "No form page was found" error

After clicking on the "edit with form" tab for a page, you may see, instead of a form, the message "Error: No form page was found at ". The " " string should be a link: if, when you click on it, you actually get to a form, then what you have encountered is a bug in the current release of Semantic MediaWiki 1.0. There is a two-part fix to this bug. The first part is a code change: in the file "/includes/SMW_Factbox.php" within the SMW extension directory, you should comment out lines 304 and 305 of the file, so the code that before looked like:

$title = SMWFactbox::$semdata->getSubject; if ($processSemantics) { smwfGetStore->updateData(SMWFactbox::$semdata, SMWFactbox::$m_new); } elseif (!SMWFactbox::$m_new) { smwfGetStore->deleteSubject($title); }

Now reads:

$title = SMWFactbox::$semdata->getSubject; if ($processSemantics) { smwfGetStore->updateData(SMWFactbox::$semdata, SMWFactbox::$m_new); //		} elseif (!SMWFactbox::$m_new) { //			smwfGetStore->deleteSubject($title); }

This will prevent the problem from re-occurring for any forms; however, it will not solve the problem for forms that already have this "No form page was found" behavior. For that, you should find every category that has a "Has default form" property pointing to this form's page, and re-save its page (you should first make a small change to that category page, or else the system won't actually re-save it). That should fix any existing problems you see.