[Logo] Infoglue - Official Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Can't upload PDF  XML
Forum Index » Miscellaneous
Author Message
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
[WWW]
astik

Expert
[Avatar]
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
[WWW]
jaric

Admin
[Avatar]

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
[WWW]
astik

Expert
[Avatar]
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
[WWW]
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

jaric

Admin
[Avatar]

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
[WWW]
 
Forum Index » Miscellaneous
Go to:   
Powered by JForum 2.1.8 © JForum Team