Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# davidep85 5/16/2007 3:46 PM
Hi, I'm using Cuyahoga for an university project.
I have some problem..

1) When I create a forum and try to access to my profile, I receive this error:

#42S22Unknown column 'forumuser0_.occupation' in 'field list'
Analisi dello stack:


[MySqlException: #42S22Unknown column 'forumuser0_.occupation' in 'field list']
MySql.Data.MySqlClient.PacketReader.CheckForError() +91
MySql.Data.MySqlClient.PacketReader.ReadHeader() +229
MySql.Data.MySqlClient.PacketReader.OpenPacket() +119
MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) +17
MySql.Data.MySqlClient.CommandResult.ReadNextResult(Boolean isFirst) +71
MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume) +125
MySql.Data.MySqlClient.MySqlCommand.GetNextResultSet(MySqlDataReader reader) +318
MySql.Data.MySqlClient.MySqlDataReader.NextResult() +103
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +140
MySql.Data.MySqlClient.MySqlCommand.System.Data.IDbCommand.ExecuteReader() +6
NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) +73
NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) +175
NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Object optionalObject, Object optionalId, Object[] optionalCollectionKeys, Boolean returnProxies) +243
NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Object optionalObject, Object optionalId, Object[] optionalCollectionKeys, Boolean returnProxies) +65
NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet querySpaces, IType[] resultTypes) +222
NHibernate.Hql.QueryTranslator.List(ISessionImplementor session, QueryParameters queryParameters) +64
NHibernate.Impl.SessionImpl.Find(String query, QueryParameters parameters) +200

[ADOException: Could not execute query]
NHibernate.Impl.SessionImpl.Find(String query, QueryParameters parameters) +255
NHibernate.Impl.SessionImpl.Find(String query, Object value, IType type) +115
Castle.Facilities.NHibernateIntegration.SessionDelegate.Find(String query, Object value, IType type) +45
Cuyahoga.Modules.Forum.ForumModule.GetForumUserByUserId(Int32 tId) +85

[Exception: Unable to get user by id]
Cuyahoga.Modules.Forum.ForumModule.GetForumUserByUserId(Int32 tId) +191
Cuyahoga.Modules.Forum.ForumProfile.Page_Load(Object sender, EventArgs e) +89
System.Web.UI.Control.OnLoad(EventArgs e) +99
Cuyahoga.Modules.Forum.Web.UI.BaseForumControl.OnLoad(EventArgs e) +68
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

2) The function remember on this computer in the login sections doesn't work!!

Can you help me? If I found other errors, I will contact you!
Sorry for my english but I'm italian!!
Thank you, see you soon!

# mgaerber 5/17/2007 6:16 AM
What version (cuyahoga + forum) are you using?

See here for a similar post about the forum: http://www.cuyahoga-project.org/home/forum.aspx?g=posts&t=609



# davidep85 5/17/2007 6:32 AM
the one included in the last package of cuyahoga!
can someone help me to install yet another forum on cuyahoga? thank you!
# martijnb 5/21/2007 7:57 AM
In this thread you can find more information about integrating YAF in Cuyahoga (including a YAF patch). Note that this is for the 0.9.9 version of YAF, but the steps should be more or less the same for the current version.

We also still have to upgrade this site to .NET 2.0 and that requires a new YAF version. I'll document the steps needed when we migrate.