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.

Comments:
Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the SBTVD, I hope you enjoy. The address is http://sbtvd.blogspot.com. A hug.http://sbtvd.blogspot.com/
 
Post a Comment



<< Home

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