Bug when I try to edid Expired Posts in blog

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.
6/8/2014 4:41:56 AM
Gravatar
Total Posts 22

Bug when I try to edid Expired Posts in blog

Hi Joe,

When I click to "Expired Posts (1)" link in blog I get this error (paste from currentlog.config):

2014-06-08 13:33:42,609 ERROR 141.0.9.77 - en-US - /Blog/ClosedPosts.aspx?pageid=234&mid=333 - mojoPortal.Web.Global -  Referrer(http://gnostika.ru/Blog/Manage.aspx?pageid=234&mid=333) useragent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 OPR/22.0.1471.50 (Edition Campaign 38) 
MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Parameter '?BeginDate' must be defined.
   at MySql.Data.MySqlClient.Statement.SerializeParameter(MySqlParameterCollection parameters, MySqlPacket packet, String parmName)
   at MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet)
   at MySql.Data.MySqlClient.Statement.BindParameters()
   at MySql.Data.MySqlClient.Statement.Execute()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySqlConnection connection, MySqlTransaction transaction, String commandText, MySqlParameter[] commandParameters, Boolean ExternalConn)
   at MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters)
   at mojoPortal.Data.DBBlog.GetClosed(Int32 moduleId, DateTime currentTime, Int32 pageNumber, Int32 pageSize, Int32& totalPages)
   at mojoPortal.Business.Blog.GetClosedDataSet(Int32 moduleId, Int32 pageNumber, Int32 pageSize, Int32& totalPages)
   at mojoPortal.Web.BlogUI.ClosedPostsPage.BindList()
   at mojoPortal.Web.BlogUI.ClosedPostsPage.Page_Load(Object sender, EventArgs e)
   at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I also want to paste the System Information:

mojoPortal Version 2.4.0.2 MySQL
Operating SystemMicrosoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Infov4.0.30319 Running in Full Trust
Server Time Zone Московское время (зима)
Server Local Time(GMT 4) 6/8/2014 1:38:38 PM
Greenwich Mean Time (GMT/UTC)6/8/2014 9:38:38 AM

Feature Versions  [Help]

Feature Schema Version
blog 2.6.0.7
contactform 0.0.0.6
eventcalendar 0.0.0.6
feed-manager 1.0.1.1
forums 2.2.0.1
imagegallery 0.0.0.8
kdmediaplayer 1.0.0.1
linksmodule 1.0.0.9
pollfeature-byChristianFredh 0.0.0.5
sharedfiles 1.0.0.0
surveyfeature 1.8.0.0
webstore 0.0.5.7

Thank you.

6/9/2014 9:40:10 AM
Gravatar
Total Posts 18444

Re: Bug when I try to edid Expired Posts in blog

Hi,

Thanks for the bug report. I found this bug also existed in the mysql data layer for the blog in the current 2.4.0.3 release. I have patched the mysql data layer package for version 2.4.0.3 to fix this. If you upgrade to version 2.4.0.3 using the latest packages it should solve the problem.

Thanks,

Joe

6/20/2014 12:28:25 AM
Gravatar
Total Posts 32

Re: Bug when I try to edid Expired Posts in blog

Hi Joe,

I also have an error when trying to view Expired posts in Blog Administration, although I am using MSSQL. My version is 2.4.0.3 MSSQL, ASP.NET v4.0.30319. Are you saying the latest download files rectify this error?

My System Log:

2014-06-20 14:48:26,340 ERROR 192.168.101.157 - en-AU - /Blog/ClosedPosts.aspx?pageid=21&mid=27 - mojoPortal.Web.Global -  Referrer(http://intranet2/Blog/Manage.aspx?pageid=21&mid=27) useragent Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
System.IndexOutOfRangeException: HeadlineImageUrl
   at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
   at System.Data.SqlClient.SqlDataReader.get_Item(String name)
   at mojoPortal.Business.Blog.GetClosedDataSet(Int32 moduleId, Int32 pageNumber, Int32 pageSize, Int32& totalPages)
   at mojoPortal.Web.BlogUI.ClosedPostsPage.BindList()
   at mojoPortal.Web.BlogUI.ClosedPostsPage.Page_Load(Object sender, EventArgs e)
   at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Thanks
Sandy

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