Tags:
create new tag
view all tags

Question

Hi,

I've installed the AttachContentPlugin - but get the following error when saving the PatternSkinColorSettings file.

Any suggestions appreciated.

"Error saving topic During save of TWiki.PatternSkinColorSettings an error was found by the version control system. Please notify your TWiki administrator.

RCS: failed to create AttachContentPlugin work area: No such file or directory

Go back in your browser and save your changes locally. "

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache
Perl version: 5.8.8
Client OS: XP SP2
Web Browser: Firefox
Categories: Plugins

-- KirbyJames - 31 Jan 2007

Answer

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.

Probable cause: The twiki/pub/_work_areas directory is not writable by your webserver user (nobody or www-run or the like.)

-- PeterThoeny - 01 Feb 2007

Peter, Thanks for the suggestion

On my site

PUBURLPATH is /twiki/pub and MAINWEB is Main so

Set USERCOLORSURL = %PUBURLPATH%/%MAINWEB%/TWikiPreferences/theme-colors.css

expands to Set USERCOLORSURL = /twiki/pub/Main/TWikiPreferences/theme-colors.css

there was no /twiki/pub/Main/TWikiPreferences directory, I've created one but it still fails in the same way.

What controls where theme-colors.css is written? are such files always written to the same directory?

Is the above directory the correct one for theme-colors.css ? - should it be overwritting /TWikiPreferences/PatternSkin/colours.css

Shoud I modify AttachContentPluggin to produce some debugging information?

Thanks Kirby

-- KirbyJames - 02 Feb 2007

Using AttachContentPlugin the created attachment is saved to to pub directory of the topic the AttachContentPlugin tag is in, so in pub/Yourdir/YourTopic.

It doesn't matter which topic you choose - but to evade problems when upgrading you better choose a topic in Main, for instance pub/Main/TWikiPreferences. That means you need to copy the section of TWiki/PatternSkinColorSettings to Main/TWikiPreferences.

Once your color CSS attachment is created you point TWIKICOLORSURL (or USERCOLORSURL if you want to use that color set for all users) to that file.

-- ArthurClemens - 02 Feb 2007

Arthur, Thanks for the suggestion. I've moved the topic to Main/TWikiPreferences - but I still get the "RCS: failed to create AttachContentPlugin work area: No such file or directory" error. I've added some debuggin entries into AttachContentPlugin.pm and it is clear that the plugin 'fails at TWiki::Func::getWorkArea - how do I find out where this is? Thanks Kirby

-- KirbyJames - 02 Feb 2007

Please create the twiki/pub/_work_areas directory; make sure it is writable by your webserver user.

-- PeterThoeny - 02 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-03-02 - 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.