Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
tarrinho Offline
New Member
 
Posts: 4
Join Date: Apr 2007
Problem upload files larger than 128kb - 24-04-2007, 07:16 PM

Hi,

I have a kayako instaled in https://servicos.multicert.com. (client side)

When I try to upload files bigger than 128kb, I get this error:

413 - Request Entity Too Large

The requested resource
/suporte/staff/index.php
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.


It works fine with files less than 128kbytes.

Thanks,
Pedro Tarrinho
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,734
Join Date: Jun 2005
Location: Cumbria, UK
24-04-2007, 09:19 PM

Dear Pedro,

Can you put the following code into a php file and upload it to the same directory as Kayako.

Code:
<?php
phpinfo();
?>
Once you have done this, can you let me have the URL of the file and I will take a look at your PHP setup which should help find out why that error is occurring. It could be your PHP upload limit is set as 128kb but I doubt it due to that being such a small file size (it is usually set at 2MB+).

Best Regards,
Craig Brass


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
bear Offline
Community Moderator
 
Posts: 709
Join Date: Jan 2005
24-04-2007, 09:26 PM

Maybe it's just the Kayako settings on attachment file sizes. I'd check that first, myself.
AdminCP->tickets->attachment types.

Moved to proper forum

Last edited by bear; 24-04-2007 at 09:30 PM.
   
Reply With Quote
  (#4) Old
craigbrass Offline
Senior Member
 
Posts: 5,734
Join Date: Jun 2005
Location: Cumbria, UK
24-04-2007, 09:32 PM

I wouldn't of thought the attachment setting would cause a PHP based error though. A PHP based error maybe...


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger

Last edited by craigbrass; 25-04-2007 at 10:12 AM.
   
Reply With Quote
  (#5) Old
bear Offline
Community Moderator
 
Posts: 709
Join Date: Jan 2005
24-04-2007, 09:40 PM

Possibly. Seemed awfully small to me for being a PHP error, and I seem to recall from the last Kayako I configured that the default settings are around that amount...I think.
   
Reply With Quote
  (#6) Old
craigbrass Offline
Senior Member
 
Posts: 5,734
Join Date: Jun 2005
Location: Cumbria, UK
24-04-2007, 09:53 PM

Actually, wait. Thats a HTTP error. Could be something beyond PHP causing this issue (ie Apache or which ever web server is being used)...


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#7) Old
Sheep Offline
Member
 
Sheep's Avatar
 
Posts: 352
Join Date: Feb 2007
Location: Lyon, France
25-04-2007, 09:08 AM

Seems to be a classic php.ini configuration limit ... but the size is strangely small.
Create a .htaccess file in the kayako root directory with the following content
Code:
php_value upload_max_filesize 5000000
php_value post_max_size 5000000
5MB should be enougth

(First post - Greetings everyone)


Antoine "Sheep" BERMON
-- Lurking around there --

Last edited by Sheep; 25-04-2007 at 10:02 AM.
   
Reply With Quote
  (#8) Old
tarrinho Offline
New Member
 
Posts: 4
Join Date: Apr 2007
Apache configuration problem? - 26-04-2007, 11:59 AM

Craig Brass,

the file was created and its accessible here:
https://servicos.multicert.com/suporte/phpinfo.php

But I don't belive its a php problem.

I've just remove the following configuration from the apache(2.0.52)
server:
<Location /suporte/staff>
SSLOptions +StdEnvVars +ExportCertData +CompatEnvVars
SSLVerifyClient require
SSLVerifyDepth 2
AllowOverride All
</Location>

And it worked fine.I mean, I was able to upload a file with size 6.7 Mb.

The error I get from the apache logs is:
request body exceeds maximum size for SSL buffer, referer:
https://servicos.multicert.com/supor...&_a=insertfile
could not buffer message body to allow SSL renegotiation to proceed,
referer:
https://servicos.multicert.com/supor...&_a=insertfile


The problem is that this is a secure server and its required to use personal id certificates.


Thanks for the help.
Hugs,
Tarrinho
   
Reply With Quote
  (#9) Old
tarrinho Offline
New Member
 
Posts: 4
Join Date: Apr 2007
Apache - recompiled - 16-05-2007, 02:04 PM

Hi,

Problem resolved.

http://issues.apache.org/bugzilla/sh...gi?id=39243#c7


Thanks for your help!

Hugs,
Tarrinho
   
Reply With Quote
  (#10) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,419
Join Date: Jan 2006
Location: United Kingdom
16-05-2007, 02:16 PM

Hi Tarrinho,

Glad you have it sorted and thanks for posting that.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
  • This is not an official support forum - submit a support ticket.
   
Reply With Quote
Reply

Tags
128kb, files, larger, upload

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46