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 Configuration: More info required

Error when I upload a big file


I have changed the max size for file that can be attached to 50Mb. But if I try to upload a 43Mb file I get the following error:

Can't call method "logger" on an undefined value at D:/www/foswiki/lib/Foswiki/Store/VC/ line 352. at D:/www/foswiki/lib/Foswiki/Store/VC/ line 352

Foswiki::Store::VC::RcsLiteHandler::_process('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/ line 214

Foswiki::Store::VC::RcsLiteHandler::_ensureProcessed('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/ line 439

Foswiki::Store::VC::RcsLiteHandler::numRevisions('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/ line 290

Foswiki::Store::VC::Handler::getLatestRevisionID('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/ line 261

Foswiki::Store::VC::Store::saveAttachment('Foswiki::Store::RcsLite=HASH(0x1d41e20)', 'Foswiki::Meta=HASH(0x170bfdc)', '', 'IO::File=GLOB(0x267d7e8)', 'PeterSvendsen') called at D:/www/foswiki/lib/Foswiki/ line 2741

Foswiki::Meta::__ANON__() called at C:/Perl/site/lib/ line 415

eval {...} called at C:/Perl/site/lib/ line 407

Error::subs::try('CODE(0x267da10)', 'HASH(0x267dae8)') called at D:/www/foswiki/lib/Foswiki/ line 2747

Foswiki::Meta::attach('Foswiki::Meta=HASH(0x170bfdc)', 'name', '', 'comment', '', 'hide', '', 'createlink', '', ...) called at D:/www/foswiki/lib/Foswiki/UI/ line 193

Foswiki::UI::Upload::__ANON__() called at C:/Perl/site/lib/ line 415

eval {...} called at C:/Perl/site/lib/ line 407

Error::subs::try('CODE(0x1886d70)', 'HASH(0x267d848)') called at D:/www/foswiki/lib/Foswiki/UI/ line 213

Foswiki::UI::Upload::_upload('Foswiki=HASH(0x1d417b4)') called at D:/www/foswiki/lib/Foswiki/UI/ line 87

Foswiki::UI::Upload::upload('Foswiki=HASH(0x1d417b4)') called at D:/www/foswiki/lib/Foswiki/ line 316

Foswiki::UI::__ANON__() called at C:/Perl/site/lib/ line 415

eval {...} called at C:/Perl/site/lib/ line 407

Error::subs::try('CODE(0x1c8b1fc)', 'HASH(0x1d41550)') called at D:/www/foswiki/lib/Foswiki/ line 435

Foswiki::UI::_execute('Foswiki::Request=HASH(0x1cbcd70)', 'CODE(0x1cbca88)', 'upload', 1) called at D:/www/foswiki/lib/Foswiki/ line 277

Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1cbcd70)') called at D:/www/foswiki/lib/Foswiki/Engine/ line 37

Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x1640258)') called

-- PeterSvendsen - 14 Nov 2012

Could your CGI session be timing out in apache? Uploading really big attachments gets bogged down in RcsLite. On we've had to do some uploads on trunk which uses RcsWrap, rather than which uses RcsLite and FastCGI. Unfortunately on Windows you don't have that option.

Not a quick answer, but the eventual solution might be the PlainFileStoreContrib, which eliminates rcs altogether.

-- GeorgeClark - 14 Nov 2012

QuestionForm edit

Subject Configuration
Version Foswiki 1.1.5
Status More info required
Related Topics
Topic revision: r2 - 14 Nov 2012, GeorgeClark - This page was cached on 21 Mar 2018 - 21:06.

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