X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/817260fc2a52e343bf657601fb74f6b7ac52625b..d343748126ba933cb565cd218d83d98c7b9ccaff:/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn diff --git a/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn b/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn index 065ba8bc3..3b630c537 100644 --- a/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn +++ b/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn @@ -54,3 +54,29 @@ Where is my mistake? > the new page, or the old link back on page Foo that you clicked on before > to create Bar? It would also be good to see the URL you're at in step 5. > --[[Joey]] + +>> It was Edit link on new Bar page, of course. The URL in step 5 was +>> http://my.host.com/wiki/ikiwiki.cgi?page=bar&do=edit. + +>> I've forget to add in my previous post that $pagesources{$page} +>> (cgi_editpage subroutine of /usr/share/perl5/IkiWiki/CGI.pm file) +>> doesn't exist in step 5. It exists after rebuilding all ikiwiki +>> pages by hand. + +>> BTW, where does ikiwiki store information about rendered pages? +>> Is it `/my/ikiwiki/src/dir/.ikiwiki/` directory? + +>> --Pawel + +>>> Well, the missing %pagesources value explains the symptom for sure. +>>> ikiwiki stores its state in .ikiwiki/index, and that should include +>>> info about the new page you've created, including the source file for +>>> it, which is where the data in %pagesources comes from. +>>> +>>> It sounds to me like somehow, when you commit a change to svn by +>>> saving the page, it rebuilds the wiki, but does not update the index +>>> file. Maybe it's crashing before it can save the index file. Or maybe +>>> it's possibly be misconfigured, and updating a different index file in +>>> a different copy of the source? You should be able to figure out what's +>>> going on my looking at how the index file changes (or not) when you +>>> create the new page. --[[Joey]]