Ben, I made the updates you posted above and now am not getting any errors but it just says "processing" regardless of the length of the form. Did you experience this?
Hi Ben, sorry for the late response. When I update maxRequestLength to the value you have, I get a 500 Internal Server Error for the application. The references to jqueryui are resolved and I get no errors in firebug or chrome's developer console when I try to load the form entries, just the "processing" message. Any thoughts?
Contour Entry View - Ajax Error
I am using Contour 1.1.12 on a .net 4 web app running Umbraco 4.7.1.1.
When I view the entries for a form with 51 fields in it, it freezes because it gets an ajax error.
When I view the entries for a form with 15 fields on it, it works fine and as expected.
I believe there is an issue with the length of the querystring on the ajax requests being made.
Web.config QueryString Length settings:
Ajax Error that occurs while viewing the Entries on the 51 field form:
Can we implement a post instead?
Righto, So there are 4 references in to jqueryui.js that need to be updated when using Umbraco 4.7.1.1 and Contour 1.1.12.
Those patches will follow this post.
To update the site to use a post and therefore allow the entry viewer to work with large amounts of fields you need to make this change
/umbraco/plugins/umbracoContour/editFormEntries.aspx
1. incorrect reference to jqueryui
/umbraco/plugins/umbracoContour/editDataSource.aspx
@@ -1,4 +1,4 @@
-<%@ Page MasterPageFile="../../masterpages/umbracoPage.Master" Language="C#" AutoEventWireup="true" CodeBehind="editDataSource.aspx.cs" Inherits="Umbraco.Forms.UI.Pages.editDataSource" %>
+<%@ Page MasterPageFile="../../masterpages/umbracoPage.Master" Language="C#" AutoEventWireup="true" CodeBehind="editDataSource.aspx.cs" Inherits="Umbraco.Forms.UI.Pages.editDataSource" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
@@ -49,7 +49,7 @@
<asp:Content ID="Content" ContentPlaceHolderID="body" runat="server">
- <script type="text/javascript" src="../../../umbraco_client/jqueryui.js"></script>
+ <script type="text/javascript" src="../../../umbraco_client/ui/jqueryui.js"></script>
<script type="text/javascript" src="scripts/jquery.simplemodal-1.2.3.js"></script>
2. incorrect reference to jqueryui
/umbraco/plugins/umbracoContour/editFormEntries.aspx
@@ -281,7 +288,7 @@
<asp:Content ID="Content" ContentPlaceHolderID="body" runat="server">
- <script type="text/javascript" src="../../../umbraco_client/jqueryui.js"></script>
+ <script type="text/javascript" src="../../../umbraco_client/ui/jqueryui.js"></script>
<script type="text/javascript" src="scripts/jquery.simplemodal-1.2.3.js"></script>
<umb:UmbracoPanel ID="Panel1" runat="server" hasMenu="true" Text="Form entries">
3. incorrect reference to jqueryui
/umbraco/plugins/umbracoContour/editFormWorkflows.aspx
@@ -1,4 +1,4 @@
-<%@ Page MasterPageFile="../../masterpages/umbracoPage.Master" Language="C#" AutoEventWireup="true" CodeBehind="editFormWorkflows.aspx.cs" Inherits="Umbraco.Forms.UI.Pages.editFormWorkflows" %>
+<%@ Page MasterPageFile="../../masterpages/umbracoPage.Master" Language="C#" AutoEventWireup="true" CodeBehind="editFormWorkflows.aspx.cs" Inherits="Umbraco.Forms.UI.Pages.editFormWorkflows" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
@@ -172,7 +172,7 @@
<asp:Content ID="Content" ContentPlaceHolderID="body" runat="server">
-<script type="text/javascript" src="../../../umbraco_client/jqueryui.js"></script>
+<script type="text/javascript" src="../../../umbraco_client/ui/jqueryui.js"></script>
<script type="text/javascript" src="scripts/jquery.simplemodal-1.2.3.js"></script>
<umb:UmbracoPanel ID="Panel1" runat="server" hasMenu="false" Text="Form workflows">
4. incorrect reference to jquery ui
/usercontrols/umbracoContour/EditForm.ascx
@@ -40,7 +40,7 @@
//-->
</script>
-<script type="text/javascript" src="<%= MainPath %>../../../umbraco_client/jqueryui.js"></script>
+<script type="text/javascript" src="<%= MainPath %>../../../umbraco_client//ui/jqueryui.js"></script>
<script type="text/javascript" src="<%= MainPath %>scripts/jquery.simplemodal-1.2.3.js"></script>
Anyway, thanks for the cool project ie contour. I hope this helps!
Hi Ben,
If you change it to POST do you still need to fix all of the references to jquery.ui?
Thank you!
Amir
Ben, I made the updates you posted above and now am not getting any errors but it just says "processing" regardless of the length of the form. Did you experience this?
Hey there Amir,
I ended up changing the post back to a get to after updating the jqueryui references.
I also had to increase the maximum size of the request querystring in the web.config though because that was a problem.
The way I worked stuff out though was to fireup firefox and firebug to see the error details.
Give that a whirl.
Once you get the jqueryui stuff sorted and the error is not because the querystring is too long, give me some error info to work off.
Regards
Hi Ben, sorry for the late response. When I update maxRequestLength to the value you have, I get a 500 Internal Server Error for the application. The references to jqueryui are resolved and I get no errors in firebug or chrome's developer console when I try to load the form entries, just the "processing" message. Any thoughts?
Thanks,
Amir
is working on a reply...