00640: Broken page "Page not found"

Summary: Broken page "Page not found"
Created: 2006-01-11 12:59
Status: Closed - fixed in 2.1.beta21
Category: Bug
From: Mateusz
Priority: 4
Version: newest

Description: When the page with the "PageNotFound" message shows, for a group you specify which is nonexistent, links on the page are broken. A simple example: http://www.pmwiki.org/wiki/Foobar

Don't know if it's the local site's bug or something in the engine, as I don't have time to check it. But I'm interested in the outcome (will be grateful for an e-mail or at least a mesg on my page here), as it's possible it's the reason why also my Cookbook.WPCategories recipe breaks on one fellow's site :)


It is caused by a missing PageVariable definition for $UrlPage. Till Pm gets around to redesign the way "Page Not Found" is handled (which he said he is about to do) you could define the missing Page variable in config.php:

      $FmtPV['$UrlPage'] = '$GLOBALS["UrlPage"]';

which will mend this bug. - HansB