phpWiki Problem
Posted: Wed Jan 04, 2006 10:22 am
Hi. I just set up a phpWiki for something I'm doing and it is all working fine. That is, with the exception of the WantedPages page/plugin. If I supply it with a page= parameter then it'll fetch the broken links from that page as it should, however if I don't supply the parameter (the default way it is used on the WantedPages page and the way it is used in the OSFAQ) then it dies with this error:
My assumption currently is that not supplying the parameter means it is trying to fetch invalid data from the database, but I don't see why when it works on all the other phpWiki based Wikis I can find.
Does anyone have any thoughts on this?
Code: Select all
Fatal Error:
lib\WikiDB\backend\PearDB.php (In template 'body' < 'html'):1024: Error: WikiDB_backend_PearDB_mysql: fatal database error
DB Error: no such field
(SELECT page.pagename,linked.pagename as wantedfrom FROM link,page as linked LEFT JOIN page ON(link.linkto=page.id) LEFT JOIN nonempty ON(link.linkto=nonempty.id) WHERE ISNULL(nonempty.id) AND linked.id=link.linkfrom AND linked.pagename NOT IN ('PgsrcTranslation','InterWikiMap') LIMIT 0, 300 [nativecode=1054 ** Unknown column 'link.linkto' in 'on clause'])
Does anyone have any thoughts on this?