Request-URI Too Long

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Request-URI Too Long

Postby dspaan » Mon Sep 07, 2015 3:56 am

I'm getting this error when i want to do an export calls report of about 300 ingroups. Every client in our system has their own ingroup and i simply want a total export of all calls on a day. It's not many calls but the query is too long.

I googled it and found out that i have to set limitrequestline directive to a higher value.

https://confluence.atlassian.com/displa ... rge'+Error

I tried to change this ins /etc/apache2/httpd.conf and in php.ini like this:

LimitRequestLine 100000
LimitRequestFieldSize 18094

But i still get the error. Does anyone have a workaround for this?

On stackoverflow they say the query should be POST instead of GET:
http://stackoverflow.com/questions/2891 ... long-error
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1374
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Request-URI Too Long

Postby mflorell » Mon Sep 07, 2015 8:00 pm

You can change the GET in the code to a POST if you want. We have done that in a few of the reports, but not all of them.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Request-URI Too Long

Postby ZibiX » Sun Jun 09, 2019 3:11 pm

Hi.

One of mine clients have the same problem with Agent Tine Report. Vocibox 6.0.4 SVN 3047.

I have switched from GET to POST in AST_agent_time_detail.php:
from echo "<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>";
to echo "<FORM ACTION=\"$PHP_SELF\" METHOD=POST name=vicidial_report id=vicidial_report>";

It is working OK for the report but DOWNLOAD button still have the same Request-URI Too Long error.

What can I change to make this work form DOWNLOAD button in the reports tab?
ZibiX
 
Posts: 107
Joined: Wed Jul 03, 2013 5:36 am
Location: Poland

Re: Request-URI Too Long

Postby williamconley » Sun Jun 09, 2019 3:27 pm

Download isn't as simple, but can still be done. You have to change the "link" to a "button" and then change the URL values to a group of hidden inputs in a form with that "button" inside the form. Then the button will have the same values as the link would, but "post" instead of "get". All the reports I've seen capture all values whether GET or POST, so it should still work the same unless that report hasn't been maintained.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Request-URI Too Long

Postby ZibiX » Sun Jun 09, 2019 3:33 pm

Thank you williamconley for fast answer. Can you provide an example of that button?
ZibiX
 
Posts: 107
Joined: Wed Jul 03, 2013 5:36 am
Location: Poland

Re: Request-URI Too Long

Postby williamconley » Sun Jun 09, 2019 3:47 pm

HTML has thousands of tutorials online, as does PHP form submission. And I'm working on an install at the moment. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 83 guests