This question about Configuration: More info required
Error when I upload a big file
Hi,
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/RcsLiteHandler.pm line 352.
at D:/www/foswiki/lib/Foswiki/Store/VC/RcsLiteHandler.pm line 352
Foswiki::Store::VC::RcsLiteHandler::_process('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/RcsLiteHandler.pm line 214
Foswiki::Store::VC::RcsLiteHandler::_ensureProcessed('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/RcsLiteHandler.pm line 439
Foswiki::Store::VC::RcsLiteHandler::numRevisions('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/Handler.pm line 290
Foswiki::Store::VC::Handler::getLatestRevisionID('Foswiki::Store::VC::RcsLiteHandler=HASH(0x267db60)') called at D:/www/foswiki/lib/Foswiki/Store/VC/Store.pm line 261
Foswiki::Store::VC::Store::saveAttachment('Foswiki::Store::RcsLite=HASH(0x1d41e20)', 'Foswiki::Meta=HASH(0x170bfdc)', 'FilPilote_Release.zip',
'IO::File=GLOB(0x267d7e8)', 'PeterSvendsen') called at D:/www/foswiki/lib/Foswiki/Meta.pm line 2741
Foswiki::Meta::__ANON__() called at C:/Perl/site/lib/Error.pm line 415
eval {...} called at C:/Perl/site/lib/Error.pm line 407
Error::subs::try('CODE(0x267da10)', 'HASH(0x267dae8)') called at D:/www/foswiki/lib/Foswiki/Meta.pm line 2747
Foswiki::Meta::attach('Foswiki::Meta=HASH(0x170bfdc)', 'name', 'FilPilote_Release.zip', 'comment', '', 'hide', '', 'createlink', '', ...) called at D:/www/foswiki/lib/Foswiki/UI/Upload.pm line 193
Foswiki::UI::Upload::__ANON__() called at C:/Perl/site/lib/Error.pm line 415
eval {...} called at C:/Perl/site/lib/Error.pm line 407
Error::subs::try('CODE(0x1886d70)', 'HASH(0x267d848)') called at D:/www/foswiki/lib/Foswiki/UI/Upload.pm line 213
Foswiki::UI::Upload::_upload('Foswiki=HASH(0x1d417b4)') called at D:/www/foswiki/lib/Foswiki/UI/Upload.pm line 87
Foswiki::UI::Upload::upload('Foswiki=HASH(0x1d417b4)') called at D:/www/foswiki/lib/Foswiki/UI.pm line 316
Foswiki::UI::__ANON__() called at C:/Perl/site/lib/Error.pm line 415
eval {...} called at C:/Perl/site/lib/Error.pm line 407
Error::subs::try('CODE(0x1c8b1fc)', 'HASH(0x1d41550)') called at D:/www/foswiki/lib/Foswiki/UI.pm line 435
Foswiki::UI::_execute('Foswiki::Request=HASH(0x1cbcd70)', 'CODE(0x1cbca88)', 'upload', 1) called at D:/www/foswiki/lib/Foswiki/UI.pm line 277
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1cbcd70)') called at D:/www/foswiki/lib/Foswiki/Engine/CGI.pm 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 Foswiki.org we've had to do some uploads on trunk which uses
RcsWrap, rather than foswiki.org 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