Tags:
create new tag
view all tags

SID-00719: writePageHeader error when report runs

Status: Answered Answered TWiki version: 4.3.2 Perl version: 5.8.8
Category: WorkflowReportsContrib Server OS: CentOS 5.5 Last update: 15 years ago

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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title writePageHeader error when report runs
SupportCategory WorkflowReportsContrib
TWiki version 4.3.2
Server OS CentOS 5.5
Web server Apache 2.2.3
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2011-04-14 - SipanArarat
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.