Error adding content to child site

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.
1/9/2009 8:23:06 AM
Gravatar
Total Posts 18439

Re: Error adding content to child site

Try commenting out the web.config reference to 1.0 version and see if it helps or not.

Best,

Joe

1/9/2009 8:38:05 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

Same error. So, probably a mono bug, but I cannot find anything related to this on https://bugzilla.novell.com

1/9/2009 8:51:49 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

And if I remove from GAC System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, I get

Parser Error

Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.

Parser Error Message: Type not found.

Source Error:

Line 20: <asp:SiteMapDataSource ID="PageMapDataSource" runat="server" ShowStartingNode="false" />
Line 21: <asp:SiteMapDataSource ID="ChildPageSiteMapData" runat="server" ShowStartingNode="false" />
Line 22: <asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server" />
Line 23: <div id="wrapwebsite">
Line 24: <div id="wrapheader">

Source File: /var/www/html/mojoportal/App_MasterPages/layout.Master Line: 22

Is System.Web.Extensions, Version=1.0.61025.0 still referenced somewhere else?

1/9/2009 9:02:01 AM
Gravatar
Total Posts 18439

Re: Error adding content to child site

It turns out the references in my MonoDevelop solution were using the 1.0 version and needed to be updated. I'll have a new Mono package available later today.

Best,

Joe

1/9/2009 10:29:30 AM
Gravatar
Total Posts 18439

Re: Error adding content to child site

I just replaced the mono release package with a new one. Can you download the new one and give it a try.

Best,

Joe

1/9/2009 11:20:03 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

Great , it works. I can even add content to child site, but I'm still getting a blank page when visiting http://my-domain/myfolder. I'll do more test later.

1/9/2009 3:07:33 PM
Gravatar
Total Posts 38

Re: Error adding content to child site

Uhm, it seemed to add content to child, indeed an error was generated when clicking on the right arrow to add feature:

ERROR mojoPortal.Web.mojoBasePage - 192.168.74.1-it-IT - /mojoportal/Admin/SiteSettings.aspx?SiteID=2
System.NullReferenceException: Object reference not set to an instance of an object
at mojoPortal.Web.AdminUI.SiteSettingsPage.btnAddFeature_Click (System.Object sender, System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
ERROR mojoPortal.Web.Global - 192.168.74.1-it-IT - /mojoportal/Admin/SiteSettings.aspx?SiteID=2
System.NullReferenceException: Object reference not set to an instance of an object
at mojoPortal.Web.AdminUI.SiteSettingsPage.btnAddFeature_Click (System.Object sender, System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]

If I select "Blog" and right arrow, nothing happens and refreshing page, I can see "Blog" in selected features. But currentlog.config reports that error (and I keep seeing blank page on http://my-domain/myfolder).

Regards,

LB

1/12/2009 7:21:12 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

Could this be a mojoPortal bug, or maybe it depends from something else?

1/12/2009 7:35:43 AM
Gravatar
Total Posts 18439

Re: Error adding content to child site

This doesn't happen on Windows so I think it must be a Mono bug.

Best,

Joe

1/13/2009 3:58:39 AM
Gravatar
Total Posts 38

Re: Error adding content to child site

Ok, indeed this issue seems to happen even when adding new content to existing page on the master site, however contents are actually added and available. Maybe somthing related to mono's ajax management.

Anyway, mojoPortal seems to not process requests to child site: even if I go to http://localhost/somefolder/Default.aspx or create an empty text file named Default.aspx and go to http://somehost/somefolder, I always get a blank page. How could I verify if mojoPortal correctly processes these requests and, in case, make it processes them rightly?

Thanks,

LB

1/13/2009 7:14:40 AM
Gravatar
Total Posts 18439

Re: Error adding content to child site

I am pretty sure this is also a Mono bug as it works on Windows. I've seen a few cases lately when testing mono where I get thread abort exceptrions and see a blank page, and this is even using the latest mono from svn. I know there was a bug fixed recently in Mono where the url-rewriter wasn't working correctly because on IIS it was re-writing to ~/Default.aspx but on Mono it was seeing just /Default.aspx and this was causing problems for virtual directory sites like localhost/mojo because it was not resolving the path correctly. This could be also causing the problem you are seeing.

I'll try testing the latest Mono again today, if I can get past the thread abort exceptions I was having I will be able to fnd out if the same errors are being logged when adding features to child sites.

Best,

Joe

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