no skins?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/18/2008 9:10:39 AM
Gravatar
Total Posts 69

no skins?

Hi, I've uploaded my new mojo site and it seems to be working but there are no skins.

There's a list of skins in the Admin -> Site Settings but changing them makes no difference.

See here -> http://stylefile.designatedhosting.com/

any ideas?

8/18/2008 9:27:15 AM
Gravatar
Total Posts 18439

Re: no skins?

Something is very strange about your installation. Are you using url forwarding or something like that? Or did you modify the skin files?

When I make a browser request for your main style file:

http://stylefile.designatedhosting.com/Data/Sites/1/skins/andreasviklund-02/style.css

I see this:

@import url('../../../../../../web/Data/Sites/1/skins/andreasviklund-02/stylelayout.css');
@import url('../../../../../../web/Data/Sites/1/skins/andreasviklund-02/stylecolors.css');
@import url('../../../../../../web/Data/Sites/1/skins/andreasviklund-02/styleimages.css');
@import url('../../../../../../web/Data/Sites/1/skins/andreasviklund-02/styleborders.css');
@import url('../../../../../../web/Data/Sites/1/skins/andreasviklund-02/style-gridview.css');
 

It should not have all those ../../

Thats why its not styling.

If you request my main style sheet:

http://www.mojoportal.com/Data/Sites/1/skins/mojosite-brightside/style.css

You will see it should look like this:

@import url('stylelayout.css');
@import url('stylecolors.css');
@import url('styleimages.css');
@import url('styleborders.css');
@import url('style-gridview.css');
 

Using @import the path is relative to the css file that is doing the importing so ../ is not needed.

Hope it helps,

Joe

8/18/2008 9:42:19 AM
Gravatar
Total Posts 69

Re: no skins?

My web host uses www for the web root folder rather than web

I put the site into Dreamweaver and changed the folder to www and then let it update all the links, unfortunately DW crashed mid-update and then had to re-do it. It looks like it's tried to update these files with the ../ each time.

thanks for the input, looks like I'll haveto start afresh.

8/18/2008 9:44:29 AM
Gravatar
Total Posts 18439

Re: no skins?

Why are you doing all that? Just put the files in the www folder, there is no requirement for a folder named web, the requirement is that the files live in the root folder of the web site.

Hope it helps,

Joe

12/12/2008 11:40:53 AM
Gravatar
Total Posts 41

Re: no skins?

 

I'm having the same issue. I've set up three test machines with Mojo on them. One Server 2003 (32bit) box is fine but I have a Vista 64bit Ultimate box at home that will not show any theme or css. I installed in on my Vista machine at work (also Ultimate 64bit) and I get the same problem. I've published my work machine temporarily so anyone can have a look.  http://mojotest.bulldogsolutions.ca

Any help would be appreciated.
Rob

 

 

12/12/2008 11:51:35 AM
Gravatar
Total Posts 18439

Re: no skins?

Vista has IIS 7, in IIS 7 you should configure the app pool for the mojoPortal site as "Classic" as opposed to the default "Integrated"

Hope it helps,

Joe

12/12/2008 11:55:36 AM
Gravatar
Total Posts 41

Re: no skins?

 

Yes that worked!!  Thanks!!


 

6/17/2010 12:52:14 AM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: no skins?

I have this same problem.  I read all the instructions, about copying the skins dir into sites/1/skins, and putting in a space in the web.config file and saving it, and after I did that, the site wouldn't work at all.  So I deleted it, thinking that DNS-propagation and instant-alias from my host were screwing up the works.  Well, now I've reinstalled it, and I have the exact same problem, even though my nameservers are now resolved and I don't have to use the instant-alias anymore.  But when I look at the web.config, I'm not really surprised that re-saving it didn't work -- the thing is basically blank -- the connection string is just default, none of my actual connection info is shown there -- how can that be, when the site is running?  Where is it getting the connection info from?  Where is the actual db and connection info actually stored?

This is important to me, because I am a TOTAL ASP.NET-noob, connection strings wig me out completely, and I'd really like to see how the site has actually written that info which I entered when I installed the program (using the Microsoft Web App Gallery installer).

Needless to say, I'd also really like to have some kind of theme or template or skin, instead of plain unformatted text.

 

I've installed MojoPortal v2.3.4.3; when I look at the tab in "myLittleAdmin" that says "server info" it shows this:

Version             10.0.2531.0

Product level    SP1

Edition             Enterprise Edition (64-bit)

Resource version  10.00.2531

Resource last update time  Mar 29 2009 12:30PM

CLR version     v2.0.50727

Language         English (United States)

Platform           NT x64

 

I have no real idea what any of it means.  I know the thing is MS server hosting; ASP.NET 2.x, or 3.5; I can't keep straight if it's supposed to be called 2.whatever or 3.5 or what either figure signifies.  It's a MS SQL 2008 database.

I sure hope you can help me; from the stuff on this website, I had thought this CMS might be easier for a asp.net-noob to deal with than DNN, but if I can't even get a theme/skin to display, then I guess it really isn't.

Thx,

Andria

Version             10.0.2531.0

Product level    SP1

Edition                         Enterprise Edition (64-bit)

Resource version  10.00.2531

Resource last update time  Mar 29 2009 12:30PM

CLR version     v2.0.50727

Language         English (United States)

Platform           NT x64

6/17/2010 6:45:32 AM
Gravatar
Total Posts 18439

Re: no skins?

Hi Andria,

The Web.config file should not be empty, there should be lots of settings in there, so I wonder if you are looking at the right Web.config, it should be in the root folder of the web site.

Now the part about a default connection string in Web.config is ok. The deal with that is that anything listed in the <appSettings section of Web.config including the connection strings, we can override in a user.config file. So if you see a user.config file in the root, likely the real connection string is there. The idea of the user.config is that you can keep appSettings there that you have changed from their default values and by keeping them there they will not be overwritten if you later upgrade to a newer version of mojoPortal and get a new Web.config. It only works for appSettings section though, so if you customize other sections of Web.config you still need to add your modifications to the new Web.config on upgrades.

The main thing to know about user.config is that ASP.NET does not automatically detect changes to that file like it does to Web.config, so if you make a change to user.config you still need to touch Web.config to make it load the settings again.

Ok, hopefully that answered the Web.config confusion, moving on to the skins issue. When you first visited the /Setup/Default.aspx page it should have copied the skins from the library at /Data/skins into the site specific directory at /Data/Sites/1/skins, but sometimes it may time out and not get all the files and skins may not work. Copying the folders from /Data/skins to /Data/Sites/1/skins manually typically solves the problem, but you say you tried that and it did not solve it for you. What I would do next is view the source of the page on your home page and near the top look for the url for the css, it will be like ...csshandler.ashx?..., copy the whole url and paste it into the browser navigation bar in a new tab. If it is working correctly it should show some css, but if an error is happening it may give a clue to the problem that will help solve it. If the site has a public url that you could post I'd be glad to take a look for you.

Hope it helps,

Joe

6/17/2010 3:14:59 PM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: no skins?

No, still no style.  I did everything you said; everything said in the FAQ post; fixed the connection string to reflect my own info in web.config and re-uploaded it; cleared cache, cookies, and practically stood up on the clear cache button in firefox, still nothing.

When I check the source now, the source is showing the theme I selected -- the topmost portion of the page looks like this:

<!DOCTYPE html>
<html>
<head id="ctl01_Head1"><title>
	CrypticSites.NET - Home
</title>
<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/ui-darkness/jquery.ui.all.css' />
<link rel='stylesheet' type='text/css' href='http://mojo.crypticsites.net/csshandler.ashx?skin=dcarter-orangesunset&amp;s=1&amp;v=2.3.4.3' />
<!--[if IE]>
<script defer="defer" src="http://mojo.crypticsites.net/ClientScript/html5.js" type="text/javascript"></script>

<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://mojo.crypticsites.net/Data/Sites/1/skins/dcarter-orangesunset/IESpecific.css" type="text/css" id="IEMenuCSS" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="http://mojo.crypticsites.net/Data/Sites/1/skins/dcarter-orangesunset/IE7Specific.css" type="text/css" id="IE7MenuCSS" />
<![endif]-->

 

But, when I put in that url -- http://mojo.crypticsites.net/csshandler.ashx?skin=dcarter-orangesunset&amp;s=1&amp;v=2.3.4.3 -- I get a big ol server error!  So, just out of curiosity, I went and looked into the site's root dir, and that file, csshandler.ashx, is not present -- it's just not there.  So, now what?  I thought of copying it from the ZIP file I downloaded the other day of Mojo, but I think the one I downloaded the other day is 2.3.4.4, and I didn't know what, if any, difference the different version number would make.

The site is at http://mojo.crypticsites.net/ -- it's all still completely default, since if I can't make it look good, to me the site isn't even started yet.

So, I just have no idea what to do with this thing.  *sigh*

Thx! (and thanks very much for overlooking my tantrum the other day, this thing is frustrating me beyond comprehension or civility, but I'm starting to get a tiny glimmer -- TINY! -- of how this ASP.NET stuff works),

Andria

 

 

 

6/17/2010 3:26:18 PM
Gravatar
Total Posts 18439

Re: no skins?

Hi,

On the other thread here, I replied this morning and told you there is an error happening when I tried your css handler url. We need to find out what the the error is to solve it, as I said in the other thread by checking the mojoportal error log.

I do have a guess about the error but the error detail would make it easier. My guess is your host is missing a configuration for .ashx extensions to be handled by ASP.NET, I've seen this occasionally on some hosting. With the correct configuration it does not require an actual file named csshandler.ashx. However, you could try creating an empty text file named csshanlder.ashx and put it in the root of your site, it is possible that will solve it even with the incorrect configuration.

If that does not help please check the mojoportal error log as mentioned on the other thread, look near the bottom for an error related to csshandler.

Hope it helps,

Joe

6/17/2010 3:29:14 PM
Gravatar
Total Posts 18439

Re: no skins?

oops typo, I meant try creating a text file named csshandler.ashx

6/17/2010 3:30:56 PM
Gravatar
Total Posts 18439

Re: no skins?

can you download the error file /Data/currentlog.config and email it to me at joe dot audette at g mail dotcom?

6/17/2010 3:36:14 PM
Gravatar
Total Posts 18439

Re: no skins?

oh, and don't try to upgrade to a newer version of mojoPortal until this issue is resolved. This is definitely a configuration issue not a bug and upgrading before solving this will just add complexity to the issue.

Best,

Joe

6/17/2010 3:43:40 PM
Gravatar
Total Posts 18439

Re: no skins?

Also, I just thought of an easy workaround, really we want to solve the actual issue because the css handler does some important helpful work by combining and minifying all our css into one request. So ultimately I want to help you fix that, but I just thought of an immediate workaround that should solve it by disabling the css handler, it will just load each css file separately without minifying.

Look for these in Web.config:

<add key="CombineCSS" value="true"/>
<add key="MinifyCSS" value="true"/>

change them to false

that should make the css show up and at least restore a good feeling ;-), then we can follow up with checking the error and try to fix the real problem with configuration 

Best,

Joe

6/17/2010 4:10:14 PM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: no skins?

YES!  That worked! (removing that "minify" business)

I may just keep it that way.

But in any case, I made the empty text file called csshandler.ashx, uploaded it, and still no style -- so the error pertaining to it, after I did that, says this:

2010-06-17 13:51:23,611 ERROR mojoPortal.Web.Global - 68.191.243.33-en-US - /csshandler.ashx?skin=dcarter-orangesunset&s=1&v=2.3.4.3
System.Web.HttpException: The page must have a <%@ webhandler class="MyNamespace.MyClass" ... %> directive.
   at System.Web.UI.SimpleWebHandlerParser.ParseString(String text)
   at System.Web.UI.SimpleWebHandlerParser.ParseReader()

 

And just as with that other server stuff, I have no idea whatever what that means -- all that %@ stuff is entirely new and unfamiliar to someone who's limited herself to Linux/php/MySQL for 10 years -- MySQL errors, even php errors (those dreaded parse errors from missing/misplaced semi-colons!), I can usually kinda puzzle out, but this... ARGH!  All new territory to me!

But at least now I have the means to make the site look ok, while I try and set it up.  I became really interested in Mojo because of how easy it is to use Artisteer templates -- I use that program a lot, for Joomla templates and lately for DNN, and it's a really great way to build a design visually before you have to get into the code of it.  Mojo has so much good stuff built in, I thought it seemed a much better choice for an asp.net-noob than DNN, which isn't terribly intuitive for new users, but having to get into all this just to get a template loaded -- well, I've managed to add to my miniscule knowledge of asp.net stuff, at any rate.  ;-)  (those web.config things seem a bit less scary everytime I have to get into one of those files!)

Since this seems to be more about server config than anything else, you may want to know that I'm on MochaHosting; they have a new control panel they're trying out as an alternative to Plesk (BLEAH!), so it's possible that they just don't have it fully configured yet, I suppose (I got a new set of nameservers when I switched to it, so it's apparently a whole new setup, with the new control panel).  The new control panel is called "DotNetPanel" and it includes the Microsoft Web App Gallery -- which is how I got Mojo installed, since I was unable to get it installed manually, with my almost-nonexistent ASP.NET skills.

Thx!

Andria

6/18/2010 6:32:33 AM
Gravatar
Total Posts 18439

Re: no skins?

Hi Andria,

Glad it is working for you. I did some testing here and I think you can fix the csshandler. It doesn't work with an empty text file, but if you paste this in there it should work:

<%@ WebHandler Language="C#" Class="mojoPortal.Web.UI.CssHandler" %>

and then you can re-enable the combine and minify business.

I'm going to include the file in the next release of mojoPortal as I think this issue must come up in some percentage of hosting situations and including this file should avoid the issue.

I'm glad to hear about how you found mojoPortal and why you decided to try it. it Is very good to know that more and more web hosts are integrating the Web App Gallery, I'm pretty sure it is a new feature in DotNetPanel so there may still be a few glitches with it, but long term that should help mojoPortal get a lot of exposure so I'm glad to know that web hosts are beginning to roll that out.

I'm sure you'll be an ASP.NET pro in no time, there may be a few struggles to conquer on the way but I'm sure there were also struggles under the lamp stack, its just that you conquered those long ago. I know I've only been playing around on linux for a few years myself and am still no guru yet but I struggled with it more in the beginning. Its like anything else once you've become acquainted with the common issues and solutions it gets much easier.

Best,

Joe

6/18/2010 10:54:52 PM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: no skins?

Well, that was cool; that snippet of code into csshandler.ashx did work; I put it in, and changed back those settings in web.config, refreshed, and hey, I've still got style! ;-)

Speaking of which, I've been working all last night and today on the skin, which is an adaptation of my basic design/colors for all my "CrypticSites" -- if you'd care to visit http://mojo.crypticsites.net/ again; I'm rather proud of it (love that Artisteer -- some of the design effects you can get with it are just sensational, even if I do have to optimize some of the graphics it produces). I finally figured out how to stop having a duplicated top menu, by removing the "nav" div code from the layout.master -- that seemed the only way to go ahead and keep the mojo-supplied menu at the top, and not have a dupe'ed home link just below (or in one of the Artisteer skins, the mojo menu was actually superimposed over the artisteer graphic menu).  I think I wound up using artisteer-24verticalmenu2, then removed the "nav" divs from that master page.

One thing I can't figure out (among so many!), and that is why that vertical menu is on the left, because in my design, it's a right sidebar, not left, but I can't seem to figure out how to get it over to the other side.  I watched the video about the hierarchy, but that didn't contain the info I need.

So I'm off to explore some more, and see what I can see. :-D

thx!

Andria

 

6/19/2010 6:48:27 AM
Gravatar
Total Posts 18439

Re: no skins?

Hi Andria,

I like that design! Nice work!

You can move the menu to the right side. In your layout.master file look for <asp:Panel ID="divLeft", just inside this panel is where you have the <portal:SiteMenu, you want to cut that and paste it inside the <asp:Panel ID="divRight". 

Hope that helps,

Joe

 

 

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