MySql5 Gallery problems

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.
3/11/2006 10:37:54 AM
Gravatar
Total Posts 1

MySql5 Gallery problems

I have installed the MS Sql binaries (and then added the MySql data provider), MySql, running on IIS.

Everything seems to be working fine so far except for the Galeries.

I add a picture and it uploads fine (three little files in three directories), but when Mojo tries to display the page w/ images, I get the following:

Exception Details: System.IndexOutOfRangeException: Could not find specified column in results

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[IndexOutOfRangeException: Could not find specified column in results]
MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name) +237
MySql.Data.MySqlClient.MySqlDataReader.get_Item(String name) +37
mojoPortal.Data.dbPortal.Gallery_GetThumbsByPage(Int32 ModuleID, Int32 PageNumber, Int32 ThumbsPerPage) +1833
mojoPortal.Business.Gallery.GetThumbsByPage(Int32 pageNumber, Int32 thumbsPerPage) +15
mojoPortal.Web.GalleryControl.Page_Load(Object sender, EventArgs e) +1766
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.AddedControl(Control control, Int32 index) +2065605
System.Web.UI.ControlCollection.Add(Control child) +146
mojoPortal.Web.CachedSiteModuleControl.CreateChildControls() +192
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +41
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


I have checked the database and the mp_galleryimages looks correct (verified from the create table sql).

Any ideas?  Thanks.

  Craig A.
3/11/2006 10:41:41 AM
Gravatar
Total Posts 18439

Re: MySql5 Gallery problems

Hi Craig,

Sorry, thats a bug in the MySQL data layer in the 2.0 release.
Its fixed in svn and will be fixed in the next release which will hopefully be next sunday.

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