[Archon-L] problems with digital library upload for larger files
Chris Prom
prom at uiuc.edu
Fri Feb 16 14:28:51 MST 2007
David,
Chris Rishel (the lead programmer) can comment more on this next
week, he is out now, so I will attempt to address it as best I
can.
You are possibly running into a PHP configuration issue here, but
the error message makes me wonder if there is an additional
problem.
PHP has a max_upload_filesize variable which is set in the
php.ini file. For our implementation, it is set to 2MB, which is
the default. But some server admininstrators decrease it.
If you don't have access to the php.ini file, or can't convince
the server administrator to up the value, you may be able to
solve this problem yourself by putting a file named .htaccess in
the archon folder, with the following text included:
php_value upload_max_filesize 3M
Or whatever MB you want it increased to. However, using
.htaccess will only work if you are using apache as the
webserver.
Thanks,
Chris
--
Christopher J. Prom
Assistant University Archivist
University of Illinois Archives
19 Library
1408 W. Gregory Dr.
Urbana, IL 61801
phone: 217.333.0798
fax: 217.333.2868
e-mail: prom at uiuc.edu
web: http://web.library.uiuc.edu/ahx
On Thu, 15 Feb 2007, David Dwiggins wrote:
>
> Hello,
>
> We've just installed a copy of Archon and are experimenting with it for
> use in our college archives. The thing I'm most interested in right now
> is the ability to store digital files.
>
> I've tried to upload several images. Small images (such as a 6k GIF or a
> 24 k JPG) seem to upload fine. But when I try to upload a larger file
> (such as a 1.25 MB JPG), I get errors such as the following:
>
> Could not store File: File extension jpg is not defined in the file
> types manager, and only defined file types may be added.
>
> in the upper frame. (I also recall a different error when I tried it
> last week shortly after the original installation, but I can't duplicate
> it now, and don't recall exactly what it said.) I have, of course,
> checked, and JPG is defined in the file types manager.
>
> At one point during one of the uploads, I also saw something along the
> lines of "MySQL Server has gone away" flash in the lower frame, but it
> went away immediately as the frame refreshed.
>
> Most of the other Archon functions I've tried seem to work.
>
> Given the apparent correlation with the size of the file, I suspect that
> this may be a bogus error message, and wonder if the problem might have
> something to do with the configuration of the server or PHP. Just
> wondering if this rings a bell...
>
> Thanks in advance for any help...
>
> -David
>
> --
>
> David Dwiggins
> Dean’s Fellow for Technology Support
> Graduate School of Library and Information Science
> Simmons College
> 300 The Fenway, Boston, MA 02115-5898
> 617-521-2871 / dwiggins at simmons.edu
>
>
> _______________________________________________
> Archon mailing list
> Archon at archon.org
> http://archon.org/mailman/listinfo/archon_archon.org
>
More information about the Archon
mailing list