SID-00719: writePageHeader error when report runs
The plugin calls the writePageHeader function from Twiki (which is deprecated since 2007), does not find it, and returns:
" Can't locate object method "writePageHeader" via package "TWiki" "
Is there a patch to apply to the plugin to circumvent the deprecated function, since otherwise the plugin is non-functional;
--
StefanosKouzof - 2010-01-15
Discussion and Answer
I found it. You should replace in
WorkflowReportsContrib.pm in line 39
$twiki->writePageHeader();
with
$twiki->generateHTTPHHeaders();
case solved!
--
StefanosKouzof - 2010-01-15
I meant replace it with:
print $twiki->generateHTTPHHeaders();
in ../twiki/lib/TWIKI/Contrib/WorkflowReportsContrib.pm
--
StefanosKouzof - 2010-01-15
Thanks for reporting back. I put a note in
WorkflowReportsContribDev and notified the developer via e-mail.
--
PeterThoeny - 2010-01-15
HI,
I have the same problems but I have no
WorkflowReportsContrib.pm in .. / twiki / lib / TWiki / Contrib.
what should I do?
--
SipanArarat - 2011-04-09
The same error might be produced by another plugin that is using undocumented TWiki internal functions. Check the Apache error log, it tells you the offending file and line.
--
PeterThoeny - 2011-04-09
Resul of Apache error log:
Can't locate object method "writePageHeader" via package "TWiki" at /var/www/wiki5.1/lib/TWiki/LoginManager/MethadonLogin.pm line 260.
in this line ist : $twiki->writePageHeader( $query );
--
SipanArarat - 2011-04-12
Resul of Apache error log:
Can't locate object method "writePageHeader" via package "TWiki" at /var/www/wiki5.1/lib/TWiki/LoginManager/MethadonLogin.pm line 260.
in this line ist : $twiki->writePageHeader( $query );
--
SipanArarat - 2011-04-12
This must be some homegrown code, MethadonLogin does not exist on twiki.org's plugins repository.
--
PeterThoeny - 2011-04-12
thenks for answering...
--
SipanArarat - 2011-04-14
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.