SID-00088: Can't locate object method using UploadToTWikiAddOn
| Status: |
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
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.