← Back to team overview

fenics team mailing list archive

Re: [Fenics-apps] Uploading movies to FEniCS wiki

 

Quoting Anders Logg <logg@xxxxxxxxx>:

> On Wed, Sep 17, 2008 at 06:45:15PM +0200, Kristian Oelgaard wrote:
> > Quoting Anders Logg <logg@xxxxxxxxx>:
> > 
> > > On Wed, Sep 17, 2008 at 05:39:25PM +0200, Anders Logg wrote:
> > > > On Tue, Sep 16, 2008 at 02:54:07PM +0200, Harish Narayanan wrote:
> > > > > Kristian Oelgaard wrote:
> > > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > I was trying to upload a movie to the FEniCS wiki page, but I got
> the
> > > message
> > > > > > that the size of the file was too big (file is 7+ Mb). What are
> the
> > > limitations
> > > > > > and what should the format be?
> > > > > > 
> > > > > > I worked around it by putting the file in:
> > > > > > 
> > > > > >
> > >
> >
>
fenics-apps@xxxxxxxxxx:/var/www/www.fenics.org/pub/software/fenics-apps/fenics-plasticity/fenics-plasticity-beam.avi
> > > > > > 
> > > > > > and linking to it from the page:
> > > > > > 
> > > > > > http://www.fenics.org/wiki/FEniCS_Plasticity
> > > > > > 
> > > > > > where the result can be seen.
> > > > > > 
> > > > > > Now, for future reference what should the procedure be?
> > > > > 
> > > > > 
> > > > > There is a limit on how large a file the server's PHP installation
> will
> > > > > allow uploaded (can be changed by something like upload_max_filesize
> in
> > > > > php.ini) and on top of that, MediaWiki imposes an artificial limit
> on
> > > > > the size of files uploaded ($wgUploadSizeWarning, $wgMaxUploadSize
> in
> > > > > LocalSettings.php).
> > > > > 
> > > > > I see two possible approaches for the future:
> > > > > 
> > > > > 1. Have someone with write access to the server change these
> variables
> > > > > to be large enough. (Also, someone with read access to those
> settings
> > > > > files can tell you what the limits currently are.)
> > > > > 2. Have people upload movies to their own servers and just link to
> them
> > > > > from the Wiki.
> > > > > 
> > > > > Harish
> > > > 
> > > > I think the current is ok, so my suggestion would be that for larger
> > > > files, one needs to post a link (URL) to the maintainers (on the
> > > > mailing list) and then you can just upload it to the server since you
> > > > have write access.
> > > 
> > > I think the current *limit* is ok, so my suggestion would be that for
> larger
> > > files, one needs to post a link (URL) to the maintainers (on the
> > > mailing list) and then you can just upload it to the server since you
> > > have write access.
> > > 
> > 
> > OK, so just out of curiosity: what is the current limit?
> > 
> > Kristian
> 
> In php.ini:
> 
>   upload_max_filesize = 2M
> 
> I couldn't find any additional restriction in LocalSettings.php.

OK, thanks.

Kristian
 
> -- 
> Anders
> 




References