Tags:
create new tag
, view all tags

Question

With Cairo (last beta release) and AmbarSkin, SavemultiCgiScript (as ambarsave) breaks the URL and doesn't render web path. Message is "this topic does not exist yet" and bin/view//TestTopic occurs. I would appreciate any help.

Environment

TWiki version: TWikiBetaRelease2004x05x07
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, AmbarSkin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- BenoitFauvel - 22 Jun 2004

Answer

I have also been working on getting SavemultiCgiScript to work with latest beta (in my case, in conjunction with DandruffSkin). I was experiencing simiar problems as you describe with loss of the web path. In my usual non-Perl literate manner, I did a fair amount of trail and error messing around with the code. What finally worked for me was reversing a diff that MartinCleaver mentioned in SavemultiCgiScript on 12 April 2004. The key part of the change he listed was around line 170 as follows:

-        TWiki::redirect( $query, &TWiki::getViewUrl( $webName, $topic ) );
+        TWiki::redirect( $query, &TWiki::getViewUrl( "", $topic ) );

I put $webName back into that line and, lo and behold, it's working again. I don't know why nor whether it might break something else. But since no one else as responded to your question, I thought I'd pass this along for what it's worth.

Good luck!

-- LynnwoodBrown - 22 Jun 2004

All my greetings Lynnwood for your quick answer! It works fine after I replaced the line 176 by:

+        TWiki::redirect( $query, &TWiki::getViewUrl( $webName, $topic ) );
But I didn't investigate further when preview + save and save running both.

-- BenoitFauvel - 22 Jun 2004

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-06-22 - BenoitFauvel
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.