On Tue, 2008-05-06 at 13:32 -0400, Joey Hess wrote: > Ernesto Hernández-Novich wrote: > ... > You don't mention creating the svn repo and checking the source in, but I > assume you did.
Sure thing. > I've replicated this setup according to your instructions in a stable > chroot, and editing works fine. Only potential difference I can imagine > is that you said you enabled httpauth. I'm registering and logging in > the regular way, since I don't have http authentication set up (but I > did enable it, for what it's worth). (Also, you installed > libapache2-mod-perl2, so I did also, but AFAIK ikiwiki cannot use it.) > > If you're using http auth, my guess is that is the problem somehow. Indeed. If I downgrade to 1.33.3 everything works fine again, so I figure the problem has to do with the newly added code for session management in 1.33.4 and/or 1.33.5 Regarding mod_perl, it could be used to enhance ikiwiki's performance, but I haven't configured it to do so. I mentioned just because I always install it. I purged it and tried without, but got the same erroneous behavior. > > 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?). > > This is in fact a bug introduced in 1.33.5, but it is unrelated to whatever is > making editing fail in the first place. Agreed. I was just mentioning it for completeness. > > I repeated the debugging technique of printing SID and Session ID, and > > again their values are different. > > I edited /usr/share/perl5/IkiWiki/CGI.pm and added this line after line > 613: > > print STDERR "Content-Type: text/html\n\nDebug: sid = $sid ; session id: > ".$session->id."\n"; > > Now if I save a page, it prints in /var/log/apache2/error.log: > > Debug: sid = 1b22ac10538cbdb4fc01ec29d87e207d ; session id: > 1b22ac10538cbdb4fc01ec29d87e207d > > Same ids.. Same change here, different IDs... [Tue May 06 13:59:55 2008] [error] [client 172.18.100.200] Content-Type: text/html, referer: http://wiki/wiki/ikiwiki.cgi?page=index&do=edit [Tue May 06 13:59:55 2008] [error] [client 172.18.100.200] , referer: http://wiki/wiki/ikiwiki.cgi?page=index&do=edit [Tue May 06 13:59:55 2008] [error] [client 172.18.100.200] Debug: sid = 12274c12ec8deb148d8629ffa6d77611 ; session id: ece12dbcb60ec4fba25ab57603d64a18, referer: http://vigilante.unesr.edu.ve/wiki/ikiwiki.cgi?page=index&do=edit -- 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]