[Mediawiki-l] Import failed: Loss of session data
Jan Steinman
Jan at Bytesmiths.com
Tue Oct 27 18:11:30 UTC 2009
> From: Angela <beesley at gmail.com>
>
> On Tue, Oct 27, 2009 at 2:02 AM, =James Birkholz= <james at birchy.com>
> wrote:
>>
>> I'm trying to import a lot of pages (Special:Import)
>> but I keep getting this error:
>> "Import failed: Loss of session data"
>
> How much are you trying to import? I get this if I try to import a
> file larger than 10MB, though it used to be 2MB and might still be in
> some places. Try a smaller file and see if it still happens.
You may need to tweak some parameters in /etc/php.ini, such as these
that I've changed to avoid this problem:
max_execution_time = 300 ; Maximum execution time of each script,
in seconds
max_input_time = 60 ; Maximum amount of time each script may spend
parsing request data
memory_limit = 128M ; Maximum amount of memory a script may
consume (128MB)
file_uploads = On
upload_max_filesize = 80M
Hope that's helpful. Good luck!
:::: We're in a giant car heading toward a brick wall at a hundred
miles an hour, arguing over who has the best seat. -- David Suzuki ::::
:::: Jan Steinman http://www.VeggieVanGogh.com ::::
More information about the MediaWiki-l
mailing list