Cannot configure Contact Form

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/10/2008 2:27:22 PM
Gravatar
Total Posts 21

Cannot configure Contact Form

Hello,

I am having a terrible time getting the contact us form to work a site.  It is becoming clear I should be asking for help.

Specifically, when I try to save an email address into the Feature Instance Settings I get the following:

Server Error in '/' Application
Index is less than 0 or more than or equal to the list count. Parameter name: index 1

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.
Parameter name: index
1
at System.Collections.ArrayList.get_Item (Int32 index) [0x00000]
at System.Web.UI.WebControls.ListItemCollection.get_Item (Int32 index) [0x00000]
at System.Web.UI.WebControls.CheckBoxList.LoadPostData (System.String postDataKey, System.Collections.Specialized.NameValueCollection postCollection) [0x00000]
at System.Web.UI.WebControls.CheckBoxList.System.Web.UI.IPostBackDataHandler.LoadPostData (System.String postDataKey, System.Collections.Specialized.NameValueCollection postCollection) [0x00000]
at System.Web.UI.Page.ProcessPostData (System.Collections.Specialized.NameValueCollection data, Boolean second) [0x00000]
at System.Web.UI.Page.ProcessPostData () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42

Any help?

Justin

12/11/2008 5:58:32 AM
Gravatar
Total Posts 18439

Re: Cannot configure Contact Form

Hi Justin,

So you're getting an error saving module settings in the contact form. All features use the same ModuleSettings.aspx page, does the error happen when saving settings for other features?

What version of mojoPortal and what db platform are you using?

It could be a bug in Mono, but if it is, its already fixed in Mono svn trunk, as I just tested it on my machine using pgsql and it worked.

Depending on your version of mojoPortal, it could be something already fixed there too. You might try getting mojoPortal from svn trunk using
svn checkout https://forgesvn1.novell.com/svn/mojoportal/trunk

Then build the mojoportal.mds solution in MonoDevelop. If you get any errors about unrecognized web.config sections, just comment them out in Web.config. I got these errors before but reported it and its now fixed in mono svn trunk.

You might want to look into building Mono from svn instead of using the release version.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.