Hosting company messed up - now skins won't work!

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
6/2/2010 11:56:54 AM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Hosting company messed up - now skins won't work!

Hi Joe(s)

Joe D, you are already kindly helping on this :)

Ok, here's what happened:

- The hosting CP was set up with "www.domain.co.uk" as opposed to "domain.co.uk" and letting the www. alias sort itself out their end.

- So, we ended up with the site being installed in a folder at www.www.domain.co.uk, where i did all the work and put all the content in.

- They then found out and moved all the files to the non www version (domain.co.uk) folder on the basis that the connection string would be the same and the content would remain in the database

- The content does still get retrieved, however the skins just don't work. I've uploaded the skins and controls to a test site and it works fine. So, it seems their movement of the files from the www folder to the non www folder has caused a mess up.

Could there be a reference somewhere to the old folder, either in the database or the config? Or does the site get a Unique ID in the database stopping it from working properly?

Last resort is to fully reinstall and redo all content - not an amazing option! :0)

Thanks, as ever.

Mark

6/2/2010 12:12:51 PM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Hosting company messed up - now skins won't work!

Mr Joe D has kindly advised and helped fix this, thanks Joe!

6/2/2010 12:18:11 PM
Gravatar
Total Posts 18439

Re: Hosting company messed up - now skins won't work!

Hi Mark,

I'm not sure I really understand the question.

From my point of view www.domain.co.uk, domain.co.uk, and www.www.domain.co.uk are all host names representing root web sites, so when you say they installed it in a folder it makes no sense to me as no folder is reflected in any of those urls. Therefore I guess you mean they moved it to a different root site folder.

Moving the files from one root web site to another should not be a problem as long as file permissions are correct in the new location.

Skins and content are 2 different things, you do no need to do anything with the content, you just need to diagnose the skin problem. Maybe they didn't copy all the files correctly under /Data/Sites/1/skins

The way to trouble shoot it is check the files and also view the source of the rendered page, grab the url for the skin css, paste it into the browser url bar and find out if the css is delivered or an error is happening. Also review the mojo error log for clues. If there are not read permissions on the skin files in the new location or if the files are missing it could cause this.

See also notes about moving a mojoportal site from one server to another, the same issues apply if moving from one web site on a server to another.

Hope it helps,

Joe

6/2/2010 1:04:38 PM
Gravatar
Total Posts 160
mojoPortal Community Expert
Designer of over 25 unique and custom mojoPortal sites with DMSQD and sister company, The Design Loft - www.dmsqd.com

Re: Hosting company messed up - now skins won't work!

Hi Joe, yeah you're right - they moved from one root folder to another. The skins are all in place, and we thought it was fixed but sadly that seems now not to be the case.

Joe D thought it was his control looking for the Page Name in two different .Net caches (hope i have that right) so the hosts restarted IIS to make it reset, which didn't work.

All skins files are in the right place and to check i've uploaded the exact files to a test site which works with no issue.

The skin has 3 variants with the main skin being in Data/skins/skin-name and the variants for page theming being in Data/Sites/1/skins/skin-name. Joe D authored this so he can certainly advise if my explanation is correct - still a learning curve for me.

The thing that baffles me is that it worked fine before, they simply took the content of one root folder and dropped them into another - which is when the problems started.

Could it be anything to do with the files in /Data/systemfiles and from /Data/Sites/[SiteID]/systemfiles?

Thanks as ever.

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