| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 13/11/2009 13:26:13
|
UteF
Newbie
Joined: 13/11/2009 13:16:43
Messages: 3
Location: Berlin
Offline
|
Hi,
I've upgraded recently to 2.9.7.1. Now I tried to upload a PDF document but it wouldn't work. When I tried to upload another PDF of smaller size (<1MB) it worked, but when I tried to upload another PDF of similar size (1,5MB) it wouldn't work either. Does anyone have an idea?
Thanks,
Ute
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 15/11/2009 01:51:13
|
astik
Expert
Joined: 11/11/2009 11:41:32
Messages: 99
Location: France
Offline
|
Any stacktrace into your log ?
Assets are stored into database. Maybe there is a maximum size param set for your database.
With mysql, you can change this param with : mysql --max_allowed_packet=32M (http://dev.mysql.com/doc/refman/5.0/fr/packet-too-large.html).
Or maybe it's the application server that sets a maximum.
For tomcat, check the maxPostSize param into server.xml : http://www.casabacdemo.com/forum/posts/list/262.page and http://www.websina.com/bugzero/faq/exception-tomcat-connector.html
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/11/2009 08:50:43
|
jaric
Admin
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 02/11/2009 10:09:03
Messages: 107
Location: Uppsala
Offline
|
I think astek is on the right track here, but for completeness I just want to add that assets can be stored on disk too, depending on the setting "Store assets on disk (not in database as default)" in "Webserver settings".
|
Peter Jaric
Division for IT and Procurement
Uppsala University
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/11/2009 09:24:36
|
astik
Expert
Joined: 11/11/2009 11:41:32
Messages: 99
Location: France
Offline
|
jaric wrote:the setting "Store assets on disk (not in database as default)" in "Webserver settings".
Sweet !
I didn't have realized there was such parameter. Storage into database is a drawback for some of my clients, I definetly have to check it out =P
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/11/2009 11:53:41
|
David
User
Joined: 10/11/2009 17:51:18
Messages: 25
Location: Université Lille 1, France
Offline
|
There is also a max size to check on asset keys in Administration -> ContentTypeDefinitions (but it's only for specific contents, shouldn't matter if your problem is global).
jaric wrote:I think astek is on the right track here, but for completeness I just want to add that assets can be stored on disk too, depending on the setting "Store assets on disk (not in database as default)" in "Webserver settings".
Is this feature not experimental anymore ?
This message was edited 1 time. Last update was at 16/11/2009 11:55:06
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/11/2009 12:22:40
|
jaric
Admin
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 02/11/2009 10:09:03
Messages: 107
Location: Uppsala
Offline
|
David wrote:Is this feature not experimental anymore ?
Actually I am not sure, but I also didn't know it was experimental previously...
We (Uppsala University) are using it anyway. I think it was Bogeblad himself that set it up in the beginning. That is just a guess though, since I wasn't working with IG at that time.
|
Peter Jaric
Division for IT and Procurement
Uppsala University
|
|
|
 |
|
|