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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Hi Joe,
I encounterd a problem with the blog-feature.
I just updated my mojoPortal to version 2.4.0.2 and wanted to edit some blogposts. When I click on "Administration" on my blog-modul my site hangs and I get the following message in system-log:
2014-03-21 09:19:31,947 ERROR 78.54.115.97 - de-DE - /Blog/Manage.aspx?pageid=3&mid=181 - mojoPortal.Web.Global - Referrer
(https://www.x.de/aktuelles.aspx) useragent Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16 Npgsql.NpgsqlException: Spalte »currenttime« existiert nicht Severity: FEHLER Code: 42703 bei Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() bei Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() bei Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() bei Npgsql.ForwardsOnlyDataReader.NextResult() bei Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command,
NotificationThreadBlock threadBlock, Boolean synchOnReadError) bei Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) bei Npgsql.NpgsqlCommand.ExecuteScalar() bei mojoPortal.Data.NpgsqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, NpgsqlParameter
[] commandParameters) bei mojoPortal.Data.DBBlog.GetCountOfDrafts(Int32 moduleId, Guid userGuid, DateTime currentTime) bei mojoPortal.Web.BlogUI.ManagePage.LoadSettings() bei mojoPortal.Web.BlogUI.ManagePage.Page_Load(Object sender, EventArgs e) bei mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
System details: Windows Server 2008 R2 Standard / IIS 7 PostgreSQL 9.0.4 64-bit mojoportal-2-4-0-2-pgsql-net40-deploymentfiles (downloaded 2014-03-06) .net 4.0
Hi,
Thanks for the bug report. I've just patched the 2.4.0.2 release with the fix for this bug in the pgsql data layer for the blog. If you download it again and just replace the /bin/mojoPortal.Features.Data.dll it should fix the problem.
Hope that helps,
Joe
thanks for your quick response.
It fixed the error I described earlier but now I get the same error again when being in "Blog Administration" and clicking on "Drafts (4)". All other links on "Blog Administration" seem to work as expected. I don't know if "Expired Posts (0)" really work because there are none.
2014-03-21 16:52:30,331 ERROR 78.54.115.97 - de-DE - /Blog/Drafts.aspx?pageid=3&mid=181 - mojoPortal.Web.Global - Referrer(https://www.x.de/Blog/Manage.aspx?pageid=3&mid=181) useragent Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16 Npgsql.NpgsqlException: Spalte »currenttime« existiert nicht Severity: FEHLER Code: 42703 bei Npgsql.NpgsqlState.<ProcessBackendResponses_Ver_3>d__a.MoveNext() bei Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() bei Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() bei Npgsql.ForwardsOnlyDataReader.NextResult() bei Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) bei Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) bei Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) bei mojoPortal.Data.NpgsqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters) bei mojoPortal.Data.DBBlog.GetPageOfDrafts(Int32 moduleId, Guid userGuid, DateTime currentTime, Int32 pageNumber, Int32 pageSize, Int32& totalPages) bei mojoPortal.Web.BlogUI.BlogDraftsPage.PopulateControls() bei mojoPortal.Web.BlogUI.BlogDraftsPage.Page_Load(Object sender, EventArgs e) bei mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Hi Markus,
Ok, this was a similar copy/paste typo bug, it is now also patched, if you download and replace the same file again it should fix this one.
Thanks,
I thought so. Everything is working fine now. Thanks.
Enjoy your beer and have a nice weekend.
Greetings from Hamburg, Germany
Glad I could be of help. Thanks for the beer!
Cheers,