Contact form issue with 2.3.3.2 version

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/21/2009 7:56:54 PM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Contact form issue with 2.3.3.2 version

Issues with latest version:

1) there's big issue (occuring at this site's contact form too) with the change at contact form to show mail names instead of e-mails for the from field of the contact form. If there's only one entry (with no | pipe separator for more than one) at e-mail and at the alias/name field, then a blank dropdownlist is shown (but e-mail is sent ok, since I sent Joe a message from their form today and he replied ok). If one adds more emails and respective names with pipes, they show ok (the names/aliases).

Also should check that if the name field is left blank and the e-mail field has one or more e-mails (with pipes), the e-mails are shown (should work when only one e-mail is there too and show it).

Another thing I didn't try is what happens if you have say 3 e-mails and 2 names/aliases or the other way arround, if it fails and how. Maybe if there are more e-mails, should show the last extra ones as e-mails (since they don't have alias names). If more names/aliases are given, just ignore the extra ones and log a warning about the extra entries there (say exactly where though and log the e-mails and aliases strings) for admin to spot and fix the issue

2) just after install I see in the log the following, note that after copy/paste of files, I visited home page (instead of setup page url) and it did update by itself ok, but in between showing the update needed entry (last one) in the log, it threw an error (at Events page which is strange since I didn't visit that one)

2009-12-22 02:47:57,619 INFO mojoPortal.Web.Global - Global.asax.cs Application_End 

2009-12-22 03:31:39,737 INFO mojoPortal.Web.Global - Application Started.
2009-12-22 03:31:56,211 ERROR mojoPortal.Web.mojoBasePage - 66.249.71.194-en-US - /portal/Events/DayView.aspx?pageid=7&mid=23&date=2010-02-24T20:42:31
System.IndexOutOfRangeException: EnableComments
at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at mojoPortal.Business.PageSettings.LoadFromReader(IDataReader reader)
at mojoPortal.Business.PageSettings.GetPage(Int32 siteId, Int32 pageId)
at mojoPortal.Business.PageSettings..ctor(Int32 siteId, Int32 pageId)
at mojoPortal.Business.WebHelpers.CacheHelper.LoadCurrentPage()
at mojoPortal.Business.WebHelpers.CacheHelper.GetCurrentPage()
at mojoPortal.Web.SiteUtils.SetMasterPage(Page page, SiteSettings siteSettings, Boolean allowOverride)
at mojoPortal.Web.mojoBasePage.SetupMasterPage()
at mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-12-22 03:31:57,198 INFO mojoPortal.Web.mojoBasePage - detected need for upgrade so redirecting to setup 

12/22/2009 2:34:39 AM
Nux
Gravatar
Total Posts 183

Re: Contact form issue with 2.3.3.2 version

Hey,

don't know about the second issue, but check this thread for the first one :)

Greetings
Stef

12/22/2009 8:37:12 AM
Gravatar
Total Posts 18439

Re: Contact form issue with 2.3.3.2 version

I've updated the release packages with the fix for the contact form issue, if you download version 2.3.3.2 again the only files you need to replace are the mojoPortal.Features.UI.dll and the mojoPortal.Web.dll in the /bin folder

Regarding item 2, the event page error was perhaps logged by another visitor. The instructions are to visit /Setup/Default.aspx after uploading new version files. It does have error handling designed to assist this by redirecting when it detects certain unhandled errors it checks if it needs and upgrade and tries to redirect to the Setup page if it does. So I do not see any unexpected behavior from what you reported. It logged some errors and also logged that it was redirecting to setup.

Best,

Joe

12/22/2009 8:54:12 AM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: Contact form issue with 2.3.3.2 version

A suggestion could be to log session id too (when available) at the log entry (even better might be to also log user-agent info etc., but I guess one can tell IIS to log those and check those logs at the same time point). Logging the session id could help user untangle the error entries if multiple users access the site at the same time (I was doing the update at late hours that's why it felt strange - not sure if other user had visited the site at the same time, but you never know)

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