New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Installation of Foswiki: Asked

Version Control System preventing editing

-- MichaelN - 04 Sep 2015 Hi, Version Control System is not allowing me to make any edits to topics.

The topic is the "WebHome" that is found in Var/www/Foswiki-2.0.0/data/Main

What I had done is make a copy of the WebHome file and it is still called "webhome"... the original I changed to another name.

I then made edits using a text editor to the copy and saved it.

Now when I try to make changes to that topic Version Control is preventing me from making any changes. here is the error message i get:

Error saving topic During save of Main an error was found by the version control system.

PlainFile: failed to create file /var/www/Foswiki-2.0.0/data/Main/WebHome.txt: Permission denied at /var/www/Foswiki-2.0.0/lib/Foswiki/Store/ line 1372. at /usr/share/perl/5.14/CGI/ line 379
failed to create file /var/www/Foswiki-2.0.0/data/...') called at /usr/share/perl/5.14/CGI/ line 468
failed to create file /var/www/Foswiki-2.0.0/data/...') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Store/ line 1372 Foswiki::Store::PlainFile::_saveFile('/var/www/Foswiki-2.0.0/data/Main/WebHome.txt', '%META:TOPICINFO{author="AlecNgo" comment="" date="1441400071"...') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Store/ line 506 Foswiki::Store::PlainFile::saveTopic('Foswiki::Store::PlainFile=HASH(0x26a96c8)', 'Foswiki::Meta=HASH(0x2d946e8)', 'AlecNgo', 'HASH(0x1b7b8f0)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/ line 2135 Foswiki::Meta::__ANON__() called at /usr/share/perl5/ line 416 eval {...} called at /usr/share/perl5/ line 408 Error::subs::try('CODE(0x3016c88)', 'HASH(0x3015f80)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/ line 2152 Foswiki::Meta::saveAs('Foswiki::Meta=HASH(0x2d946e8)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/ line 1999 Foswiki::Meta::__ANON__() called at /usr/share/perl5/ line 416 eval {...} called at /usr/share/perl5/ line 408 Error::subs::try('CODE(0x30357d0)', 'HASH(0x305b110)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/ line 2003 Foswiki::Meta::save('Foswiki::Meta=HASH(0x2d946e8)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/UI/ line 672 Foswiki::UI::Save::__ANON__() called at /usr/share/perl5/ line 416 eval {...} called at /usr/share/perl5/ line 408 Error::subs::try('CODE(0x2dd5398)', 'HASH(0x30356c8)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/UI/ line 685 Foswiki::UI::Save::save('Foswiki=HASH(0x205d810)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/ line 374 Foswiki::UI::__ANON__() called at /usr/share/perl5/ line 416 eval {...} called at /usr/share/perl5/ line 408 Error::subs::try('CODE(0x13aca10)', 'HASH(0x205d2d0)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/ line 500 Foswiki::UI::_execute('Foswiki::Request=HASH(0x1ff5430)', 'CODE(0x2063230)', 'save', 1) called at /var/www/Foswiki-2.0.0/lib/Foswiki/ line 326 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1ff5430)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Engine/ line 99 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x1967df0)') called


QuestionForm edit

Subject Installation of Foswiki
Status Asked
Related Topics
Topic revision: r1 - 04 Sep 2015, MichaelN - This page was cached on 18 Aug 2018 - 12:30.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy