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, ...error uploading attribute fileerror uploading attribute file
Previous
 
Next
New Post
3/7/2007 2:35 PM
 
 

I am getting this error in red when i upload my skin, but i can't figure out what the issue is - and it doesn't tell me what's causing the error.

 

Here's part of the parse log:

Begin processing file: skin.htm

  • Substituting: <table width="940" height="85" border="0" align="center" cellpadding="0" cellspacing="0" background="header.jpg">
    With: <table width="940" height="85" border="0" align="center" cellpadding="0" cellspacing="0" background="<%= SkinPath %>header.jpg">
  • Substituting: <table width="940" height="38" border="0" align="center" cellpadding="0" cellspacing="0" background="bgrnd_mnav.jpg">
    With: <table width="940" height="38" border="0" align="center" cellpadding="0" cellspacing="0" background="<%= SkinPath %>bgrnd_mnav.jpg">
  • Processing token: [SEARCH]
  • Token is skin object: Admin/Skins/Search.ascx
  • Formatting control statement: <dnn:SEARCH runat="server" id="dnnSEARCH" />
  • Processing token: [SOLPARTMENU]
  • Token is skin object: Admin/Skins/SolPartMenu.ascx
  • Formatting control statement: <dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" />
  • Processing token: [CONTENTPANE]
  • Token is content pane: CONTENTPANE
  • Formatting control statement: <div runat="server" id="ContentPane">
  • Processing token: [CONTENTPANE:1]
  • Token is content pane: CONTENTPANE
  • Formatting control statement: <div runat="server" id="ContentPane">
  • Processing token: [CONTENTPANE:2]
  • Token is content pane: CONTENTPANE
  • Formatting control statement: <div runat="server" id="ContentPane">
  • Processing token: [CONTENTPANE:4]
  • Token is content pane: CONTENTPANE
  • Formatting control statement: <div runat="server" id="ContentPane">
  • Formatting control directive: <%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
  • Formatting registration directive: <%@ Register TagPrefix="dnn" TagName="SEARCH" Src="~/Admin/Skins/Search.ascx" %>
  • Formatting registration directive: <%@ Register TagPrefix="dnn" TagName="SOLPARTMENU" Src="~/Admin/Skins/SolPartMenu.ascx" %>
  • Error loading attribute file: E:\inetpub\sites\PS2Public\Portals\0\Skins\Ps2Public\Ps2Public/skin/skin.htm
  • Writing file: skin.ascx
    End processing file: skin.htm



    Here's the htm code:
  • <table width="940" height="85" border="0" align="center" cellpadding="0" cellspacing="0" background="header.jpg">
     <tr>
      <td><span class="none">ProjectSolve</span><table width="100%" border="0" cellspacing="0" cellpadding="8">
       <tr>
        <td width="68%">&nbsp;</td>
        <td width="32%">[SEARCH]</td>
        </tr>
       
      </table></td>
     </tr>
    </table>
    <table width="940" height="38" border="0" align="center" cellpadding="0" cellspacing="0" background="bgrnd_mnav.jpg">
     <tr>
      <td>[SOLPARTMENU]</td>
     </tr>
    </table>
    <table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
      <td width="738" class="white"><br />
       <table width="712" border="0" align="center" cellpadding="0" cellspacing="0">
       <tr>
        <td width="735">[CONTENTPANE]</td>
       </tr>
      </table>
        <br />
      <br /></td>
      <td width="204" class="white">
       <table width="191" border="0" cellspacing="0" cellpadding="0">
       <tr>
        <td>[CONTENTPANE:1]</td>
       </tr>
      </table></td>
     </tr>
    </table>
    <table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
      <td width="470" class="white"><br />
        <table width="444" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
          <td width="735">[CONTENTPANE:2]</td>
         </tr>
        </table>
       <br />
        <br /></td>
      <td width="470" class="white"><table width="444" border="0" align="center" cellpadding="0" cellspacing="0">
       <tr>
        <td>[CONTENTPANE:4]</td>
       </tr>
      </table></td>
     </tr>
    </table>

    I've looked through the forums without finding help. Any suggestions? Thanks!!

  •  
    New Post
    3/8/2007 11:57 PM
     
    Suggest looking at your skin.xml file for errors.  You can right-click the filename and open in Internet Explorer... IE does a good job of pointing out exactly where an error occurs in an xml file.
     
    New Post
    3/9/2007 12:44 AM
     
    For the [SOLPARTMENU] token u need define an XML file that define the attribute values for the menu.

    Please check in your package that you have this file in your package.

    Now for the skins defined with file extension .ascx does not need to define that xml file. because you can define the attributes values in the control definition.

    Please make sure that you have the XML file attached with [SOLPARTMENU] and it is also included in the zip package of skin.

    "Knowledge Sharing Matters!"
     
    New Post
    3/9/2007 12:25 PM
     

    I thought perhaps it was my XML file since it said "attribute file" but it was referenceing the htm, so i wasn't sure.

    Your IE suggestion worked great. It was a minor error - I'll have to use that trick in the future.

     

    Thanks!

     
    Previous
     
    Next
    HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...error uploading attribute fileerror uploading attribute file


    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