Move HostNames from "disappeared" sub-site?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/19/2012 10:02:16 AM
Gravatar
Total Posts 112

Move HostNames from "disappeared" sub-site?

I want to move HostNames from one sub-site to another, but; the sub-site has disappeared from main-site administration and "SELECT * FROM mp_SiteHosts" does not show the HostNames. "SELECT * FROM mp_Sites" does not show that sub-site either.

I've been running:

mojoPortal Version 2.3.6.2 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v4.0.21006 Running in Full Trust
Server Time Zone Central Daylight Time
Server Local Time (GMT -5) 3/19/2012 9:31:26 AM
Greenwich Mean Time (GMT/UTC) 3/19/2012 2:31:26 PM

for many months without problems and have accumulated about 40 sub-sites on this one
main-site. The sub-sites are for friends, families, churches, schools, or civic
organizations and mojoPortal wonderfully meets their needs. Though today I'm
concerned because I think a large block of sub-sites are gone.

I had setup sub-site http://cancergenome.mooreworks.net, added features, wrote
some blogs, pointed some HostNames at it like SAGenome.Org and all looked fine.
I turned it over to a user whom fiddled with skins then reported this error.

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.

which produced these System Log entries (2 log entries for each error user error)

2012-03-19 08:58:17,814 ERROR mojoPortal.Web.mojoBasePage - 70.125.134.190-en-US - /cms/
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.UI.SiteMenu.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2012-03-19 08:58:17,814 ERROR mojoPortal.Web.Global - 70.125.134.190-en-US - /cms/
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.UI.SiteMenu.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I figured their Skin was bad, but; at main-site administration that sub-site
does not exist anymore. I re-created it with the same site title
and get the same error.

I created CancerGenome1.MooreWorks.Org, turned it over to the user and it's
running fine.

I point the host names at CancerGenome1 but they still get the same error.

I have about 40 folders under Data/Sites, but;
"SELECT * FROM mp_Sites" my SiteID only goes up to 26.

http://sobersa.org is SiteID 30 and it works fine, but it's not in mp_Sites.
http://scrub.mooreworks.net/ is SiteID 31 and it works fine, but it's not in mp_sites.

How can I point these HostNames at the new sub-site?

Should I restore from backup because
"SELECT * FROM mp_Sites" my SiteID only goes up to 26 while Data/Sites has 40 site folders?

3/19/2012 8:29:12 PM
Gravatar
Total Posts 112

Re: Move HostNames from "disappeared" sub-site?

Thanks to any and all whom spent their valuable time reading my issue description and wondered how they could help. I appreciate your consideration!

And now it's time for me to consume some crow. I was looking at an SQL server that had gone partially out of commission several months ago. The live environment was much less confusing. All is fine now.

These are not the droids you are looking for,
Dale 

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