On Mon, 2008-05-05 at 22:20 -0400, Joey Hess wrote: > I don't have a stable system handy, but I installed the old ikiwiki on > unstable and am editing files via the web w/o problems. > > So this is looking like a local configuration problem. Perhaps with the > editpage.tmpl. Perhaps you should try using the standard one and not > your modified version.
I did a fresh install of Debian Etch and brought it up to date with the latest security patches. Installed ikiwiki (1.33.5) apache2 (2.2.3-4+etch4) libapache2-mod-perl2 (2.0.2-2.4) subversion (1.4.2dfsg1-2) and then # mkdir /var/www/wiki # mkdir /home/wiki # cd /home/wiki # cp /usr/share/doc/ikiwiki/html/ikiwiki.setup . # vi ikiwiki.setup Set srcdir => '/home/wiki' url => 'http://wiki/wiki' cgiurl => 'http://wiki/ikiwiki.cgi' svnrepo => '/var/lib/svn/wiki' svnpath => 'trunk' Enabled BOTH wrappers as they are in the sample setup, just changing the appropiate paths, enabled httpauth and verbose logging, but left everything else untouched (hence using the default templates as packaged in Debian Etch latest security upgrade). # ikiwiki --seutp /home/wiki/ikiwiki.setup The content gets generated properly. Using good old vi to change stuff, svn commit, the hook runs and the content gets updated fine. Enabled Apache's basic authentication and tried to use ikiwiki.cgi to edit. It shows the edit window, allows me to edit and preview as many times as I want, but as soon as I press "Save", it goes to a blank page (no header, no content) and I get [Tue May 06 11:06:23 2008] [error] [client 172.18.100.200] Undefined subroutine &IkiWiki::gettext called at /usr/share/perl5/IkiWiki/CGI.pm line 615., referer: http://wiki/wiki/ikiwiki.cgi?page=index&do=edit [Tue May 06 11:06:23 2008] [error] [client 172.18.100.200] Premature end of script headers: ikiwiki.cgi, referer: http://wiki/wiki/ikiwiki.cgi?page=index&do=edit in the Apache logs. There is a gettext() routine being called that it's nowhere to be found in IkiWiki's code (missing module or dependency?). Checking line 615 on the mentioned file shows that is the one that says 'Your session has expired', and the default templates I'm using do have the FIELD-SID var in there. I repeated the debugging technique of printing SID and Session ID, and again their values are different. I don't think it's a local configuration problem. -- Prof. Ernesto Hernández-Novich - MYS-220C Geek by nature, Linux by choice, Debian of course. If you can't aptitude it, it isn't useful or doesn't exist. GPG Key Fingerprint = 438C 49A2 A8C7 E7D7 1500 C507 96D6 A3D6 2F4C 85E3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]