Missing file and question about Postgresql.

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.
9/4/2007 1:42:51 PM
Gravatar
Total Posts 16

Missing file and question about Postgresql.

I could not start Mojoportal:

Could not find a part of the path 'D:\Work\Mojo\web\Data\Sites\1\GalleryImages\test.config'.

I am using mojoportal 2.2.3.6 on Windows with IIS, cause I do not see 2.2.3.7 with postgresql? Is it 2.2.3.7 with postgresql coming?

9/4/2007 1:58:03 PM
Gravatar
Total Posts 18439

Re: Missing file and question about Postgresql.

Hi,

mojoportal-2-2-3-7-pgsqlreleasefiles.zip is listed when I look.

Are you still not seeing it or were you expecting it named different?

Joe

9/4/2007 2:06:49 PM
Gravatar
Total Posts 16

Re: Missing file and question about Postgresql.

I am sorry. My fault. Now I see that there two postgresfiles, not one.

I will start everyting from the beginning.

My last error was from 2.2.3.6 was:

Probing system...
File system permissions ok.

The system cannot connect to the pgsql database. Please check your connection string.


Npgsql.NpgsqlException: password authentication failed for user "postgres" Severity: FATAL Code: 28000 at Npgsql.NpgsqlConnector.CheckErrors() at Npgsql.NpgsqlConnector.Open() at Npgsql.NpgsqlConnectorPool.GetNonPooledConnector(NpgsqlConnection Connection) at Npgsql.NpgsqlConnectorPool.RequestConnector(NpgsqlConnection Connection) at Npgsql.NpgsqlConnection.Open() at mojoPortal.Data.dbPortal.DatabaseHelper_GetConnectionError(String overrideConnectionString)

Why 'postgres' and not 'mojouser'?

9/4/2007 2:25:40 PM
Gravatar
Total Posts 18439

Re: Missing file and question about Postgresql.

Is there a user.config file? If so it will use the connection string from there instead of the one from Web.config. I don't think I inlcuded a user.config file in the release so it should use the connection string from Web.config, but I would look and make sure.

Joe

9/4/2007 3:26:42 PM
Gravatar
Total Posts 16

Re: Missing file and question about Postgresql.

I started mojoportal with Postgressql and I am quite happy !!!

I am an ASP.NET developer, had worked on a CMS project once, Mono and Postgesql fan.

How do I add a forum? I added a forum from the Content manager, but how do I add a link to it under the home page? This is what I am trying to figure out.

9/4/2007 3:38:04 PM
Gravatar
Total Posts 18439

Re: Missing file and question about Postgresql.

The Menu is driven by the pages so if you want a menu item for Forums create a new page and name it Forums. Then in Content Manager you can Publish the instance of forums on the page.

Note that you can also create feature instances without ever going in to Content Manager. Click the pencil icon on the page you are on to add new feature instances to the page. So you could have just created a new page and then added a new forum to it, but now that you have a forum instance created you might as well just use it, so publish it on the page from Content Manager.

Click around on the icons and I think you'll be up to speed soon.

Glad to have you using mojoPortal!

Cheers,

Joe

9/4/2007 4:06:33 PM
Gravatar
Total Posts 16

Re: Missing file and question about Postgresql.

I simply tried to edit the content of the homepage and got this error:

[NullReferenceException: Object reference not set to an instance of an object.]
mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize() +214
mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor() +71

[TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception.]
mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers() +0
mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e) +217
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

Is this related to the Lucene index? The error is permanent.

9/4/2007 4:14:26 PM
Gravatar
Total Posts 18439

Re: Missing file and question about Postgresql.

Did you include all the files under Setup/indexbuilderconfig folder?

Can you review the error log and see if any other clues? You can see the log under Admin Menu > System Logs or directly in the text file web/Data/currentlog.config

Joe

9/4/2007 4:18:43 PM
Gravatar
Total Posts 18439

Re: Missing file and question about Postgresql.

first recycle the application by typing a space in web.config then save, then try doing a search on something first so it builds the search index, then see if the error goes away.

Thanks,

Joe

9/4/2007 4:33:04 PM
Gravatar
Total Posts 16

Re: Missing file and question about Postgresql.

10x! It worked.

I am glad that the db encoding and site configuration is handling international characters just fine.

9/4/2007 4:40:50 PM
Gravatar
Total Posts 16

Re: Missing file and question about Postgresql.

These are the two errors. I have both of them multiple times: a few times the first one and then a few times the second.

 

2007-09-04 23:41:24,828 [2496] ERROR mojoPortal.Web.Global [(null)] - System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Npgsql.NpgsqlException:
syntax error at or near ":"
Severity: ERROR
Code: 42601
at Npgsql.NpgsqlConnector.CheckErrors()
at Npgsql.NpgsqlCommand.ExecuteCommand()
at Npgsql.NpgsqlCommand.ExecuteScalar()
at mojoPortal.Data.NpgsqlHelper.ExecuteScalar(NpgsqlConnection connection, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters)
at mojoPortal.Data.NpgsqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters)
at mojoPortal.Data.dbPortal.Module_PageModuleUpdate(Int32 moduleID, Int32 pageID, String paneName, Int32 moduleOrder, DateTime publishBeginDate, DateTime publishEndDate)
at mojoPortal.Data.dbPortal.Module_Publish(Int32 moduleID, Int32 pageID, String paneName, Int32 moduleOrder, DateTime publishBeginDate, DateTime publishEndDate)
at mojoPortal.Business.Module.Publish(Int32 moduleID, Int32 pageID, String paneName, Int32 moduleOrder, DateTime publishBeginDate, DateTime publishEndDate)
at mojoPortal.Web.AdminUI.ContentManagerPage.grdPages_RowUpdating(Object sender, GridViewUpdateEventArgs e)
at System.Web.UI.WebControls.GridView.OnRowUpdating(GridViewUpdateEventArgs e)
at System.Web.UI.WebControls.GridView.HandleUpdate(GridViewRow row, Int32 rowIndex, Boolean causesValidation)
at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup)
at System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.admin_contentmanager_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


2007-09-04 23:44:22,921 [1808] INFO mojoPortal.Business.WebHelpers.IndexHelper [(null)] - IndexHelper.RebuildPageIndex - Home


2007-09-04 23:44:22,921 [1808] ERROR mojoPortal.Business.WebHelpers.IndexHelper [(null)] - IndexHelper.RebuildPageIndexAsyncCallback
System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildPageIndex(PageSettings pageSettings)
at mojoPortal.Business.WebHelpers.IndexHelper.RebuildPageIndexAsyncCallback(Object PageSettingsObject)
2007-09-04 23:50:03,312 [3744] ERROR mojoPortal.Web.Global [(null)] - System.TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize()
at mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor()
--- End of inner exception stack trace ---
at mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers()
at mojoPortal.Web.ContentUI.EditHtml.btnUpdate_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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