[dokuwiki] Re: Recent changes broken

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 07 Oct 2006 11:59:57 +0100

Guy Brand wrote:

  hi,


Upgrading an old DW install to -current this morning I noticed that the "Recent changes" page is empty. Testing on several other wikis upgraded too shows the same problem: ?do=recent returns an empty page. If I edit a page after the upgrade, then it gets again listed when requesting do=recent, but old changelogs information never shows up.

  The upgrade was done safely:

    - install a virgin copy of dokuwiki sources from repository ;
    - remove default data/ dir and cp -pr data from the old wiki (thus
      keeping permissions, changelogs, Attic, etc) ;
    - copy over local.php, users.auth.php, acl.auth.php to new wiki

  Tracing back, the problem is related to the commit of Ben's patch
  "scalable changelog redesign" on Aug 30. If I revert to a copy of
  dokuwiki before that commit, all "recent changes" are shown. This
  problem thus also affects RC1.

  If someone could confirm that, I'd file a bug.

Guy,

Try doing a do=check and seeing what message it gives about the change log. Ben's patch changed the change log system and included a plugin to perform the conversion from the old monolithic changes.log to the new per page.changes with a recent changes cache. Its possible the plugin isn't activating and performing the conversion.

Also check the admin/plugin page to see if the "importoldchangelog" plugin is present and what its status is. If its worked correctly, it should be present but disabled. It disables itself after its completed the conversion.

Possibly due to your method of updating the plugin believed it had done its stuff and disabled itself while the wiki had no data and no changes. In which case you should be able to enable the plugin and have it work its magic on the next page visit.

Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: