Package: usemod-wiki
Version: 1.0.5-3
Severity: grave
Tags: upstream patch
Justification: renders package unusable

Dear Maintainer,

I upgraded my system to Jessie (Debian 8.0) and now my wiki is no more
working :-(

I get this error as an HTML page:
« Software error:

Undefined subroutine CGI::startform
 at /usr/lib/cgi-bin/wiki.pl line 1503.

For help, please send mail to the webmaster (webmaster@localhost), giving this 
error message and the time and date of the error. »


Line 1503 of /usr/lib/cgi-bin/wiki.pl is:

sub GetFormStart {
  return $q->startform("POST", "$ScriptName",
                       "application/x-www-form-urlencoded");
}

The problem is similar to #767960 and is very easy to fix.
I hope the problem will be fixed in the next update of stable.

Proposed patch:
--- wiki.pl     2015-05-04 15:29:26.000000000 +0200
+++ /usr/lib/cgi-bin/wiki.pl    2015-05-04 15:43:16.781540995 +0200
@@ -1471,7 +1471,7 @@
     $result .= '<br><b>' . T('Config file error:') . '</b> '
                . $ConfigError . '<br>';
   }
-  $result .= $q->endform;
+  $result .= $q->end_form;
   if ($FooterNote ne '') {
     $result .= T($FooterNote);
   }
@@ -1500,7 +1500,7 @@
 }
 
 sub GetFormStart {
-  return $q->startform("POST", "$ScriptName",
+  return $q->start_form("POST", "$ScriptName",
                        "application/x-www-form-urlencoded");
 }
 



-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages usemod-wiki depends on:
ii  apache2 [httpd]              2.4.10-10
ii  apache2-mpm-prefork [httpd]  2.4.10-10
ii  perl                         5.20.2-3

Versions of packages usemod-wiki recommends:
ii  apache2 [httpd]              2.4.10-10
ii  apache2-mpm-prefork [httpd]  2.4.10-10

Versions of packages usemod-wiki suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.84-8


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to