Wednesday, June 20, 2007

Trac (Rails): Cannot uplaod attachment - size more than xxx kb

If you get this error when trying to attach a large file to a trac wiki page, simply edit the trac.ini file (located at /conf/trac.ini to contain the following:



[attachment]
max_size = 5242880



That's it. No need to restart the server etc. It should take effect as soon as you save trac.ini.

This page is powered by Blogger. Isn't yours?