Hosting Multiple Sites

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
3/19/2009 8:41:57 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

I cannot fixed for my version 2-2-8-6?

I must found a solution in this version..

Valik

3/19/2009 9:14:40 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

If you have the 2.2.8.6 source code you can copy the newest version of Web/Components/UrlReWriter.cs to get the bug fix and then produce your own build.

Other than that the only way to get bug fixes is upgrading.

3/20/2009 7:13:45 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

I work directly with mojoPortal-2-2-8-6-mssqlreleasefiles

Can here to do something?

I have the source code and I open the .cs file but what to do with this?

Valik

3/23/2009 4:14:14 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

Hi,

 When I use IE7 browser give me js errors .One of this is on this line

$('div.yui-navset').each(function(n){var myTabs = new YAHOO.widget.TabView(this.id);}) and tell me "Syntax error"
I look in web.config and line <add key="CombineJavaScript" value="false"/> look like here.

Another is "null is null or not a object" and go to the same line like the first error

Can help me anyone?

3/23/2009 7:38:06 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

Hi,

The YUI scripts and the jQuery scripts are loaded form the internet using the google CDN (Content Delivery Network). So if your machine is not connected to the internet you may get script errors because it can't load the scripts. Its possible (but not trivial) to download the needed scripts and then host them from within the mojoportal site, but it takes some configuration and understanding of mojoPortal. 

That combine javscript was something I experimented with but it did not work well, it should be left as false. The scripts are not combined, they are loaded from the google cdn.

Hope it helps,

Joe

3/23/2009 7:50:16 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

But for firefox is not appear this js errors and i have connection to internet!!

But CDN (Content Delivery Network) how obtain it? Is a service or what?

Thanks,Valik

3/23/2009 7:55:15 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

I don't get this error in IE 7. Sometimes if you have script debugging enabled in IE you may get some errors that you would not get with standard settings.

Google CDN just means google hosts the js files and we load them from a google url.

Hope it helps,

Joe 

3/23/2009 7:59:10 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

You are right Joe I have enabled script debugging in my browser!

When disabled it works!

For the future your recomadation is to work with debugging disabled? If I need debug a js files created by just ignored this error?

Valik

3/23/2009 8:07:52 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

Yes, I think sometimes the IE debugger shows errors that don't happen normally. A while back I was using Microsoft Gatineu (their answer to google analytics) and even the script for tracking using the MS service was causing erros with the IE debugger enabled. I leave it disabled but enable it if I need to use it then disable it again after. If I see errors unrelated to what I'm debugging I ignore them.

3/24/2009 4:31:14 AM
Gravatar
Total Posts 98

Re: Hosting Multiple Sites

Hi Joe,

You can tel me please why it is happens:

If i want to edit a url for a page. Per example i have a page named Product,but I don't know when i saved the first time it put the url Default.aspx?PageId=5; and I want that the url be named product.aspx.But when I try to edit the page the url is not applyed,but it changed in database.I don't have other page named Product.

Valik 

 

3/24/2009 11:26:31 AM
Gravatar
Total Posts 18439

Re: Hosting Multiple Sites

It won't allow duplicate urls. If it won't let you use the url you want then you may need to look in Administration Menu > Advanced Tools > Url Manager and find if another page is usingthe url or if it is orphaned somehow then delete it so you can use it again. You may also want to look under Advanced Tools > 301 Redirect Manager to make sure its not redirecting.

Hope it helps,

Joe 

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