JQuery function stops working when trying to submit large amount of parameters
Hi,
Run CF9 on Windows 2008 R2 Server.
I have a cfm page with multiple dropdowns (some are cfselect) and dynamically generated lists of checkboxes interdependent on each other. I am using JQuery to submit data to cfc functions and to display data.
It was all working fine until we added new company with large number of records. This translated into large URL query string with a lot of parameters submitted for processing. That's when we started to have problems. I noticed when trying to directly submitting URL, if the total number of characters in URL is more than 2114 I get an error status code 302 Redirect and nothing is displayed.
I tried to play with postParametersLimit and postSizeLimit increasing to 1000.0 in neo-runtime.xml and restarting server but, this did not help.
Below is jquery function:
function populateBills(){
var plID;
if ($('#planenrolldate_id').val() == undefined)
plID = $('input[name=planenrolldate_id]').val();
else
plID = $('#planenrolldate_id').val();
var sID = $('#sponsor_id').val();
var pID = $('#plan_id').val();
var fromMonth = $('#from_month').val();
var fromYear = $('#from_year').val();
var toMonth = $('#to_month').val();
var toYear = $('#to_year').val();
$.ajax({
type:"POST",
url:"../components/billing/custompremstatus.cfc?method=GetBillsArr&planenrolldate_id=" + plID + "&sponsorid=" + sID + "&fM=" + fromMonth + "&fY=" + fromYear + "&tM=" + toMonth + "&tY=" + toYear,
dataType: "json",
success:
function(data){
$.each(data, function(index, item) {
addBillsCheckboxes(item.bill_id,item.bill_period);
}, //end the error function
error:
function(){
alert("An error has occurred while fetching bills");
} //end the error function
}); // end ajax call
} // end of function
That's exactly from the console after I submit:
fM 9
fY 2014
method GetBillsArr
planenrolldate_id[] 564
planenrolldate_id[] 561
sponsor_id 59
tM 9
tY 2014
When I check just one planenrolldate_id then it looks like this
fM 9
fY 2014
method GetBillsArr
planenrolldate_id[] 561
sponsor_id 59
tM 9
tY 2014
This it cfc part:
<cffunction name="GetBillsArr" access="remote" returnFormat="json" returnType="array">
<cfargument name="sponsor_id" type="any" required="true">
<cfargument name="planenrolldate_id" type="any" required="true">
<cfargument name="fM" type="numeric" required="true">
<cfargument name="fY" type="numeric" required="true">
<cfargument name="tM" type="numeric" required="true">
<cfargument name="tY" type="numeric" required="true">
<cfset var result=ArrayNew(1)>
<cfset var i = 0>
<cfif ARGUMENTS.planenrolldate_id EQ "" OR ARGUMENTS.sponsor_id EQ "">
<cfset LstBills = QueryNew("bill_id, bill_period", "Integer, Varchar")>
<cfelse>
<cfquery name="LstBills" ...>
SELECT bill_id,
(Convert(varchar(10),billing_start_date,103) + ' - ' + Convert(varchar(10),billing_end_date,103)) + ' [' + Convert(varchar(6),plan_id) + ']' AS bill_period
FROM ...
</cfquery>
</cfif>
<cfloop query="LstBills">
<cfset returnStruct = StructNew()>
<cfset returnStruct["bill_id"]= bill_id>
<cfset returnStruct["bill_period"] = bill_period>
<cfset ArrayAppend(result,returnStruct) />
</cfloop>
<cfreturn result>
</cffunction>
Similar Messages
-
Why do my Jquery functions stop working when adding an Edge animation to my page?
I've used Edge now for a few months on several projects and it's very useful for a designer like myself to create html5 animations as quick as Flash, but I'm noticing that everytime you add edge to a page, the jqeury it uses overwrites any others on the page and breaks other jquery based widgets. Why is this?
I've had a coder friend I work with have a look at the problem and his only solution was to put the edge animation inside an iframe, which is far from ideal.
Is there a way to use Edge and still use other jquery widgets on the page? (Basically I'm using a Nivo Slider jquery fading image box further down the page, which is breaking).
Thanksmartcol wrote:
> I really do not thing that I have done anything at all
to the
> page and can garantee no changes to the PHP script.
>
> It's hosted on some free space so there's no support
there. What might be the
> problem?
With free hosting, you get what you pay for - nothing. It's
possible
that the hosting company has changed the PHP configuration
and turned
off the display of errors. Most companies do so nowadays,
because the
display of errors is considered a security risk.
You can try adding this to the top of the PHP script:
<?php ini_set('display_errors', '1'); ?>
If that displays any error messages, post the details of the
error
message here, and someone should be able to help you.
However, without giving more details of the script and setup,
your
question is rather like saying "My car won't start. What's
wrong?" It
could be anything. To get decent help online, you need to
describe the
problem in more detail.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/ -
iphoto stopped working when trying to export pictures to facebook - iphoto page and export flip down froze open - cannot do anything with them - any idea what's wrong or what I can do to fix this?
Force Quit iPhoto (Use Force Quit under the Apple Symbol in the upper left of this page). If you continue to have problems please re-post in the iPhoto's forum, it's located at:
https://discussions.apple.com/community/ilife/iphoto -
For some unknown reason, my Apple ID Password does not work when trying to down load IBooks, Nook books, or new Apps. Everything else seems to work. Any suggestions out their???
I appreciate the info and realize that the Nook App is not related to my Apple account but this too has stopped working. My situation first started with the Nook App not down loading and then has now spread to my IBook and new app downloads. I have checked into my ITunes account and the ID and password are correct and at times when I am asked to submit my Apple password such as setting up this Apple Support Community the ID and password work. My problem seems to be just with trying to use my ID and password when wanting to download new books or apps. I can go into the IBook, Nook, and App stores and seemingly download an item but when clicking on the new book or app nothing happens and I get a message that states it can not get into the ITunes store and it wants me to either try again or cancel. This message appears usually ten minutes after I have tried to make a purchase. At other times when I attempt to download a book or app I lose the screen and the IPad goes into the opening screen. Short of redoing my Apple account or deleting an app and attempting to reload the app (but this won't work because the App store won't load new apps) I don't have a clue what to do.
-
Itunes has stopped working when trying to open store
I have gone through the uninstall/reinstall many times. Redid host file. Flush dns. Have tried many things. I noticed on one conversation on here. To go to the Action Center and click on itunes. It is saying a fault in the webkit.dll. I have no clue what that means or what I need to do to fix the problem.
I did notice that when I uninstalled the last time that when I reinstalled I no longer had Quicktime. So installed that, but still no luck
I have Norton 360 and Windows 7 64 on my laptop. We also have a desktop with the same, but the desktop is able to open the store. I am a tad confused on why mine is not. I can open itunes see the library then when I hit the itunes store it sits for awhile then it comes up with itunes has stopped working. Please if someone could help.It shows in my downloads, starts downloading, and when it gets to the end of a song, I get the message "iTunes has stopped working" and choices to close or debug, etc.
Head into your Problem Reports and Solutions control panel (or the Windows 7 equivalent) and open your Problem History. Look for iTunes Problems reports that seemed to occur at the time that you had the Store troubles.
Open the reports and have a look through them. Do they all seem to say the same thing? If so, paste the contents of a typical report into a reply here. (Fingers crossed, that may give us a heads up on the cause of the errors.) -
I have had a problem with a specific folder or two on my computer, when I open the folder I get the error message that windows explorer has stopped working. It only happens with specific folders and everything else works fine.
I did a lot of reading to figure out a fix.
I finally tried right clicking the program explorer.exe located in C:Windows and chose "run as administrator" and this fixed the problem.
Note that the error message details list an application crash of windows.exe
I thought I would post this to help others. I don't know if this is the same problem some folks describe with a continual loop of the error message, problems opening the control panel or problems upon start up. But if you have a similar problem to the one I described try this very simple fix.
CheersI don't know what OS you are running, but under Windows 7 RC build 7100 the selection was ghosted to "run as administrator".
I was able to stop the problem from happening by right clicking the folder I was having problems with, selecting properties>customize tab and changing the "Optimize this folder for:" from Videos to General Items.
I know that this particular folder was optimized for general items from the beginning as I had just folders inside which were filled with videos. When I started to move videos into this parent folder to separate them later, this parent folder switched by itself
to being optimized for Videos. I'm not positive but I think that this was the time I started to have a problem with this folder until I did what I described above.
This is my very first post, so I hope I explained things well enough to be of help to someone.
Thanks
That's fixed my problem. Stopped responding every time I opened My Videos, changed the file properties to optimized for general and now the icons aren't thumbnail big but it doesn't crash now... Thank you, it was really starting to bug me. -
Some keys and functions stop working when i switch users.
2 people use my computer and just recently when i switch to my user, the special function keys stop working (screen and keyboard brightness - not sure what other keys aren't working. spaces works and so does play/pause etc). also i can't log out using the key short cuts nor by going to the menu and selecting Log Out.
switching back to the other user, the keys still work. and if i set the brightness there when i switch back the setting remain on my side. but i can't control them. the only way to get them back is to restart the computer which i can't do from my user. when i select restart, it beach balls for a few seconds then nothing happens.Search for PRAM Reset On Mac. Unless restrictions of some kind are set on that other user, this shouldn't be happening.
-
Newly installed machine with Windows 7 and Premiere Pros CS5.5. I've googled the error and have reset the preferences and updated the sonic driver. But when I start and create a blue ray project, as it's trying to create it, it gives the error "Adobe Encore has stopped working" and crash's. Any help is extremely appreciated. Thanks
>updated the sonic driver
As far as I know, that was for Version CS4
More information needed for someone to help http://forums.adobe.com/thread/416679
Some specific information that is needed...
Brand/Model Computer (or Brand/Model Motherboard if self-built)
How much system memory you have installed, such as 2Gig or ???
Operating System version, such as Win7 64bit Pro... or whatevevr
-including your security settings, such as are YOU the Administrator
-and have you tried to RIGHT click the program Icon and then select
-the Run as Administrator option (for Windows, not sure about Mac)
Your Firewall settings and brand of anti-virus are you running
Brand/Model graphics card, sush as ATI "xxxx" or nVidia "xxxx"
-or the brand/model graphics chip if on the motherboard
-and the exact driver version for the above graphics card/chip
-and how much video memory you have on your graphics card
Brand/Model sound card, or sound "chip" name on Motherboard
-and the exact driver version for the above sound card/chip
Size(s) and configuration of your hard drive(s)... example below
-and how much FREE space is available on each drive (in Windows
-you RIGHT click the drive letter while using Windows Explorer
-and then select the Properties option to see used/free space)
Windows Indexing is BAD http://forums.adobe.com/thread/676303
While in Properties, be sure you have drive indexing set OFF
-for the drive, and for all directories, to improve performance
Some/Much of the above are available by going to the Windows
Control Panel and then the Hardware option (Win7 option name)
OR Control Panel--System--Hardware Tab--Device Manager for WinXP
And the EXACT type and size of file that is causing you problems
-for pictures, that includes the camera used and the pixel dimensions
Plus Video-Specific Information http://forums.adobe.com/thread/459220?tstart=0
Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037?tstart=0
What is a CODEC... a Primer http://forums.adobe.com/thread/546811?tstart=0
What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037?tstart=0
Report back with the codec details of your file, use the programs below
For PC http://www.headbands.com/gspot/ or http://mediainfo.sourceforge.net/en
For Mac http://mediainfo.massanti.com/
Once you know exactly what it is you are editing, report back with that information... and your project setting, and if there is a red line above the video in the timeline, which indicates a mismatch between video and project
Also be sure you have legal files
Premiere Import Formats http://help.adobe.com/en_US/premierepro/cs/using/WSd79b3ca3b623cac97fa024001235833a568-800 0.html
Premiere Export Formats http://help.adobe.com/en_US/mediaencoder/cs/using/WS725e431141e7ba651e63e3d1267818bc51-800 0.html
CS5 Encore Files & Formats http://help.adobe.com/en_US/encore/cs/using/WS5C9E1CF8-B5BC-436f-89D3-61DDC02A2C47a.html -
Elements 11 organizer has stopped working when trying to edit an album?
Has anyone run into this?
The only place I've had the problem is when trying to edit an album. After it stops working, elements 11 just shuts down.
Operating system is Windows 7 Ultimate.
Thanks...Great.. you figured that out
Just a thought, if you want to continue using Roboform as well as PSE and the two conflict.. you can Add PSE to Roboform's blacklist. That should stop the interaction between the two.
Steps to do so-
If PSE is running, close it now.
In Roboform 7, go to Options / Applications Integration.
Select Add to the Black List (the list of applications RoboForm will not attach to).
Browse to the location of the PSE executable <Organizer in your case, possibly Editor too>
Thanks
Andaleeb -
Itunes has stopped working when trying store
When in iTunes 11.0.5.5 and trying to access the iTunes Store I get a message saying that iTunes has stopped working.
I have AVG 2013 FREE anti virus guard installed and know that this is working properly.
Please help?Hi Scratche,
Thanks for visiting Apple Support Communities.
If you're still having trouble with the iTunes Store, you may find the steps in this article helpful:
Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
Best Regards,
Jeremy -
"iTunes has stopped working" when trying to download purchase
I have Windows 7. This is the first time I have downloaded on this brand new computer. I authorized this computer for iTunes and bought an album. It shows in my downloads, starts downloading, and when it gets to the end of a song, I get the message "iTunes has stopped working" and choices to close or debug, etc. I have tried this a bunch of times, and each time it says there are less songs to download, but my songs never appear in my music.
thanks for any help....It shows in my downloads, starts downloading, and when it gets to the end of a song, I get the message "iTunes has stopped working" and choices to close or debug, etc.
Head into your Problem Reports and Solutions control panel (or the Windows 7 equivalent) and open your Problem History. Look for iTunes Problems reports that seemed to occur at the time that you had the Store troubles.
Open the reports and have a look through them. Do they all seem to say the same thing? If so, paste the contents of a typical report into a reply here. (Fingers crossed, that may give us a heads up on the cause of the errors.) -
IE stops working when trying to open a PDF on the web.
I have checked the add-ons and Adobe Reader is enabled. I have the file AcroIEHelperShim.dll installed. When I try to open a PDF from a web page, IE stops working. What to do?
Thanks for your reply.
IE version 9.0.8112.16421; Adobe Reader version 10.1.3. Only in the last week IE stops responding when I try to open a .PDF file from the web – eg bus route map, catalogue etc. The messages sometimes say “error in preview handler” and sometimes “runtime error – abnormal program termination” – each time the program is terminated. The Reader opens any previous saved files OK, both downloaded from web or via email. Occasionally one from the web displays, with the error message over the top, but am unable to scroll the document or picture, enlarge it etc. I tried copying the PDF file to put on the desktop, but all that copied was the icon for the file. -
I have tried the directions on "If you can't update or restore your iOS device" page, but every time I try to restore the IPOD it crashes the program. Any suggestions on how to restore this to factory settings?
iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues or iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
Thank you for the information, but the program still crashes about 1 min into the restore process. I have removed and reloaded the entire Itunes program thinking that it was corrupted, but that has not worked either. Any other suggestions?
What is listed in the status bar in iTunes when it crashes (what iTunes doing when it crashes). Try another cable Try on another computer to help determine if you have an iPod or computer problem
Has a few errors.
iOS 6.1.5 Fixes an issue that causes FaeTime calls to fail for some users on iPod touch (4th generation). As soon as that window pops up another window pops up and states
iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
Did you Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
or
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
I have reinstalled the software 3 times.Did you
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
or
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP -
Adobe Reader stops working when trying to print
When I try to print something from Adobe Reader 9, I get a message saying that Adobe has stopped working. I un-installed the program, downloaded and re-installed it, but still get the same message. I am using a Medion PC running Vista, with 4GB memory. Any help would be much appreciated.
I have the exact same problem, with complications. I have Adobe 8, which was I think a pirated copy put on my laptop when a local technician uninstalled and reinstalled Windows XP. It worked fine until recently. Suddenly it stopped printing for me -- same message that it can't find the printer. I tried uninstalling and reinstalling. I even uninstalled and reinstalled the printer, which works fine for any other kind of document. I also tried installing Adobe 9. It said it couldn't uninstall Adobe 8 and so couldn't install. I couldn't delete Adobe 8 myself, either -- Windows message said that a certain patch was missing that it would need to proceed. So now I have found the same workaround mentioned above -- open the document in Word and print from there.
This could be a new problem in printer settings for Adobe, or the issue could lie with my copy -- which is probably pirated and which has never updated. I can't even get more than a blank page when I click on "Beyond Adobe Reader."
I'd be glad to start over with a fresh copy or a fix from Adobe, even if I had to pay for it. I would need the ability to delete the bad version 8 and an aborted version 9 so that I could start fresh and install. (Version 9 install now says that now it can't proceed because it has already half installed a version 9 -- which is, however, invisible when I look for it to get rid of it.) Help!
I am stuck. -
itunes was working fine prior to installing 11.1.3.8 on windows 8.1 now when trying to access itunes store get error message itunes has stopped working.
i have the same problem no radio stations at all bit shabby hate technolgy now adays
Maybe you are looking for
-
So my boss has tons of mac stuff, iPhone, macbook, iPad, etc and he has dozens of calendars all synchronized between them with iCloud. He needs to share them with me. I signed up for an iCloud account, but it says: "To sign in with this account, use
-
OpenAL sound effects not working .. Please Help
Hi I ported OpenAL to our platform and able to play the wav files. I wrote a sample openal application and try to produce some sound effects. Play back of audio is working but sound effects are not working. I am using jungle.wav which is mono channel
-
Missing € character when exporting from Indesign (CS4) to PDF
I think the subject line says it all. I'm not an expert user, but have not previously had this problem. I get a new iMac with CS4 reinstalled and now 'lose' the Euro character when I export my Indesign files to PDF - does anyone have any advice pleas
-
Migration from 8.1.7/ windows2000 to 10g/linux
what is the step by step procedure to take export from 8.1.7 / windows 2000 and import into 10g / centos( linux). option 1: First upgrade from 8.1.7 / windows 2000 server to 10g / windows 2000 server and then 10g / windows 2000 server to 10g/ linux.
-
Problems installing QuickTime 7 with iTunes 6 for Windows XP
I am encountering problems with the latest version of QuickTime (version 7.0.3) together with iTunes 6. Installation is fine except at the end when I receive an error message saying '1628: Failed to complete installation'. It appears that both progra