Multisite installation sometimes goes to default site not specified 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.
9/10/2013 6:25:17 PM
Gravatar
Total Posts 112

Multisite installation sometimes goes to default site not specified site.

One sub-site in my multiple site installation sometimes goes to the default sub-site instead of the specified sub-site. Other sub-sites never have this problem.

I've spent some time looking through the forums and have found nothing like this posted. I wonder what I might have messed up on my installation.

Any insight you have is very much appreciated,
DaleEMoore@gMail.Com

 

9/10/2013 6:26:06 PM
Gravatar
Total Posts 112

Re: Multisite installation sometimes goes to default site not specified site.

SYSTEM INFORMATION

mojoPortal Version2.3.6.2 MSSQL
Operating SystemMicrosoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Infov4.0.21006 Running in Full Trust
Server Time ZoneCentral Daylight Time
Server Local Time(GMT -5) 9/10/2013 6:25:38 PM
Greenwich Mean Time (GMT/UTC)9/10/2013 11:25:38 PM

9/11/2013 2:47:58 PM
Gravatar
Total Posts 18439

Re: Multisite installation sometimes goes to default site not specified site.

haven't seen this problem. Only suggestions I can think of is look in the database in mp_SiteHosts or mp_SiteFolders depending on what kind of child sites you are using and make sure none of the host or folder mappings are in there more than once with different site ids.

9/12/2013 10:35:34 AM
Gravatar
Total Posts 112

Re: Multisite installation sometimes goes to default site not specified site.

SELECT HostName, COUNT(*) AS HowMany 
FROM mp_SiteHosts 
GROUP BY HostName 
HAVING COUNT(*)>1


There are no records returned.

 

There are some domain and www.domain duplicates, is my assumption that these are different appropriate?

9/12/2013 12:27:41 PM
Gravatar
Total Posts 18439

Re: Multisite installation sometimes goes to default site not specified site.

yep, that should be fine so I have no idea why it would return the wrong site. each request it looks up the site id based on the host name, if it is not found then it returns the first siteid which is the default site so any unmapped host names should resolve to the default site but any that are mapped should return the correct site id.

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