Plain-text skin

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/29/2009 9:50:04 AM
Gravatar
Total Posts 11

Plain-text skin

Hi Joe,

I have a problem with the skin. My Mojo 2.2.9.5 worked Ok, but my hoster had some problems and my site was down. They solved the problem but I had to set file persmissions for Data directory again. Now, this site is up but I have the problem with skin. I can change the skin on Admin page but I am always getting plain-text page( and some buttons and logos that belongs to skin). On Setup page I can see that file permissins are ok.

How could I solve this? Thanks

3/29/2009 10:01:16 AM
Gravatar
Total Posts 18439

Re: Plain-text skin

Probably the permission thing prevented it from copying all the skin files to the new site during setup.

I would try copy all the files from /Data/skins to /Data/Sites/1/skins (assuming 1 is the siteid), this way if there aremissing files in the skins its will restore them.

Hope it helps,

Joe 

3/29/2009 10:56:35 AM
Gravatar
Total Posts 11

Re: Plain-text skin

I did it, no success. Maybe it was expected because no file on the server was deleted (I hope at least).

Is there any settings in database that could cause the problem? What does the setup procedure do exactly?

Thanks

3/29/2009 11:07:58 AM
Gravatar
Total Posts 18439

Re: Plain-text skin

It might help to recycle the app pool after you copied the files.

The next step to diagnose it is to view the rendered source of the page, get the full url to the  ...csshandler.ashx?... and paste it in a new browser tab. Do you see css or do you get an error?

Hope it helps,

Joe 

3/29/2009 11:21:37 AM
Gravatar
Total Posts 11

Re: Plain-text skin

I am getting an error for that url.

3/29/2009 11:27:06 AM
Gravatar
Total Posts 18439

Re: Plain-text skin

Ok, what is th error? Is it logging a stack trace in the mojoportal log at /Data/currentlog.config? or Administration Menu > System Log

Newest errors are at the bottom so ignore all the errors except that. 

3/29/2009 11:42:07 AM
Gravatar
Total Posts 11

Re: Plain-text skin

The file '/Data/Sites/1/skins/dcarter-bluespring/csshandler.ashx' does not exist.

I don't see any .ashx file in skin folders.

3/29/2009 5:02:17 PM
Gravatar
Total Posts 18439

Re: Plain-text skin

I think you must have tried to keep your old Web.config file instead of using the one that is included with mojoportal 2.2.9.6 or even 2.2.9.5.

Its true there is no file for csshandler.ashx but it does not need to exist because its declared as a handler in Web.config so any request for csshandler.ashx will be handled by the handler, but the handler declaration must be missing from your Web.config

Hope it helps,

Joe 

3/29/2009 7:54:18 PM
Gravatar
Total Posts 11

Re: Plain-text skin

Mojo 2.2.9.5 is new instalation (and only one), so there is no other web.config.

At the end, I have upgraded to 2.2.9.6 (copy files and run setup). It works Ok now. I still can't conclude what was wrong.

Joe, thank you very much for your quick help.

4/2/2009 6:17:38 AM
Gravatar
Total Posts 11

Re: Plain-text skin

Hi Joe,

please, have you some idea, coud it be some bug or...? Couple days ago I did what I described above but today my Mojo 2.2.9.6 (now) site suddenly started to work without skin again!?

Thanks

4/2/2009 6:41:27 AM
Gravatar
Total Posts 18439

Re: Plain-text skin

I would try recycle the app and clear the browser cache. If that fails to solve it follow the same diagnostic steps as before, maybe your host "restored" something and lost files for you. 

Hope it helps,

Joe

4/4/2009 6:53:34 AM
Gravatar
Total Posts 11

Re: Plain-text skin

Hi Joe,

I solved this. It seems that restore routine of my hoster adds/changes something in my web.config file. When I put my old (backup) version of web.config, skin started to work fine. All is working ok except one item: Administratin->Site settings. When I click on this link I am getting this error from system log:

2009-04-04 06:24:26,017 ERROR mojoPortal.Web.Global - xxxxxxx-en-US - /Admin/SiteSettings.aspx
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.SiteSettingsPage.PopulateControls()
at mojoPortal.Web.AdminUI.SiteSettingsPage.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

Any idea?

Thanks

 

 

4/4/2009 11:54:27 AM
Gravatar
Total Posts 18439

Re: Plain-text skin

No idea, best guess is some other stuff besides Web.config also got "restored" to the wrong version. 

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