Tags:
create new tag
view all tags

SID-00088: Can't locate object method using UploadToTWikiAddOn

Status: Answered Answered TWiki version: 4.0.5 Perl version: 5.6.0
Category: UploadToTWikiAddOn Server OS: RH 7.2 Last update: 16 years ago

Hi,

Sorry if this is something obvious - I type:

./uploadtotwiki.pl -l SteveJones /u/stevej/hal.log http://cadweb.bri.st.com/twiki/bin/view/Main/SteveJones

And I get:

Can't locate object method "requests_redirectable" via package "UploadToTWiki::UserAgent" at ./uploadtotwiki.pl line 81.

I do have LWP installed, and I've tried modifying the first line of the addon to point to this using -I

Any help is appreciated.

Steve.

-- SteveJonesST - 06 Feb 2009

Discussion and Answer

Your TWiki site probably uses template login and redirects to a login screen. I believe this add-on works only with Apache login. It would be cool if you could extend this add-on for template login.

-- PeterThoeny - 06 Feb 2009

Hi Peter. No, we are using apache login - LoginManager = TWiki::Client::ApacheLogin, and apache pops up its own login dialog box for users' username and password details, checked against our corporate LDAP server.

Any clues?

-- SteveJonesST - 10 Feb 2009

The message Can't locate object method requests_redirectable is an indication that your TWiki tries to redirect when uploadtotwiki.pl calls TWiki. The upload script does not handle redirects. You either need to enhance the upload script to manage redirects, or find out and eliminate the redirect in your TWiki.

-- PeterThoeny - 10 Feb 2009

Peter, where would I look for such a redirect? Would this be in configure, or in my httpd.conf or somewhere else? Sorry if this is a dumb question.

-- SteveJonesST - 12 Feb 2009

-- SteveJonesST - 12 Feb 2009

httpd.conf is a good start. Watch the URL bar when manually attaching a file, or sniff the http traffic.

-- PeterThoeny - 12 Feb 2009

      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 Can't locate object method using UploadToTWikiAddOn
SupportCategory UploadToTWikiAddOn
TWiki version 4.0.5
Server OS RH 7.2
Web server apache 1.3
Perl version 5.6.0
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2009-02-12 - PeterThoeny
 
  • 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.