[Archon-L] problems with digital library upload for larger files

Chris Prom prom at uiuc.edu
Sun Feb 18 16:48:29 MST 2007


---------- Forwarded message ----------
Date: Sat, 17 Feb 2007 13:33:56 -0500
From: Jason Fowler <jfowler at sbts.edu>
To: Chris Prom <prom at uiuc.edu>
Subject: RE: [Archon-L] problems with digital library upload for larger
    files

I also had to change the longblob settings in my MySQL server to get this to work on my installation, if I remember correctly. I kept getting "packet too large" errors. I think I discovered the answer to the problem through looking at my log files.

The following article has some information on the problem, if it happens to crop up.

http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html


-----Original Message-----
From: archon-bounces at archon.org on behalf of Chris Prom
Sent: Fri 2/16/2007 4:28 PM
To: David Dwiggins
Cc: archon at archon.org
Subject: Re: [Archon-L] problems with digital library upload for larger files

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