Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skinning Upload ErrorSkinning Upload Error
Previous
 
Next
New Post
11/7/2008 2:06 AM
 

I have tried this several times and cannot see what I am doing wrong compared to others. I have a very simple template I am trying to insert will someone tell me what I am doing wrong?

 

THis is my index.html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" type="text/css" href="skin.css" />
</head>
<body><div id="ControlPanel" runat="server" />
 <div class="site_container"> 
 <div class="header">
  <div id="TopPane" class="TopPane" runat="server" visible="false">&nbsp;</div>
  <div class="mainNav">[NAV]</div>
 </div>
 <div class="left_pic"><img src="images/leftPic.jpg" /></div>
 <div class="main_content">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td valign="top" id="ContentPane" class="ContentPane" runat="server" visible="false">
    </td>
   </tr>
  </table>
 </div>
 <div><img src="images/bottom.jpg" /></div>
 <div class="copyright">[COPYRIGHT]</div>
 <div class="bottomNav">[LINKS]</div>
 </div>
<div style="clear: both; height: 2px;"></div>
[STYLES]
</body>
</html>

This is my CSS:

/* My Styles */
html { height: 100%;}
body {
 font-family: "Trebuchet MS", Arial;
 background-color: #000;
 color:#FFF;
 height: 100%;
 margin: 0px;
 padding: 0px;
}

.site_container { width: 814px; margin:auto; padding: 15px 0px 0px; }

/*Header Styles */
.header {
 width: 814px;
 height: 88px;
 background-image:url(images/header.jpg); background-repeat: no-repeat;
}

.TopPane { margin: 20px 20px 0px 280px; text-align:center;}
.mainNav { margin: 15px 45px 0px 300px; text-align: center; font-size: 13px; font-weight: bold;}
.mainNav a { color: #FFF; text-decoration: none;}
.mainNav a:hover { color: #000;}

/* Main Body */
.left_pic { width: 242px; float: left;}
.main_content { width: 542px; height:377px; float: left; padding: 15px;}

/* Bottom Styles */
.copyright { width: 400px; float: left; font-size: 10px; font-family: Arial;}
.bottomNav { width: 414px; float: left; font-size: 10px; font-family: Arial; text-align: right;}
.bottomNav a { color: #FFF; text-decoration: none;}

I upload this and it displays teh thumbnail then I click to apply it and I get this error:

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.CreateValidID(String strID) at DotNetNuke.UI.Skins.Controls.Styles.AddStyleSheet() at DotNetNuke.UI.Skins.Controls.Styles.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

I just don't knwo what I am doing wrong thanks for the help?

Thanks
Jeff

 
New Post
11/7/2008 2:45 AM
 

Nevermind I solved it.

 
New Post
3/23/2009 7:00 PM
 

How did you solve it?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skinning Upload ErrorSkinning Upload Error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out