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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Cryptic error during skin installationCryptic error during skin installation
Previous
 
Next
New Post
12/3/2010 7:38 PM
 
I've created a simple skin, consisting of an html file, and xml file, and a css file.  I zipped it and tried to do an installation with the Instalation Wizard but got an error that doesn't help me much to locate the problem:

ExceptionSystem.IndexOutOfRangeException: Index was outside the bounds of the array. at DotNetNuke.UI.Skins.SkinFileProcessor.ObjectParser.ObjectMatchHandler(Match m) at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat) at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at DotNetNuke.UI.Skins.SkinFileProcessor.ObjectParser.Parse(String& Source) at DotNetNuke.UI.Skins.SkinFileProcessor.ProcessFile(String FileName, SkinParser ParseOption) at DotNetNuke.Services.Installer.Installers.SkinInstaller.Install()

I can't even tell what file is causing the problem.

Thanks for any suggestions.

Steve
 
New Post
12/3/2010 8:02 PM
 
most likely there is a spelling issue or you missed proper case for a token in your skin file

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/3/2010 8:46 PM
 
Got it! 

The problem was that the HTML file contained an <object> ... <embed>   <object> to include a video with the skin.  This is a small video, similar to a rotating globe, in the upper right corner that serves as a type of logo, so it seemed appropriate to place it in the skin.  But DotNetNuke won't parse the skin with it there. 

I don't understand why DNN would care about it. Even if I remove the runat="server" for the containing  div I get the same error.  I can place images with <img> tags in the html.  Why won't DNN let me place <object> tags and video?

Thanks for any thoughts.

Steve
 
 
New Post
12/4/2010 3:35 AM
 
DNN 5 allows to use an object tag for skins as well, omitting the need for XML file (read here: http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/1829/Skinning-Enhancements.aspx), please make sure, the object tag is formed well and properly close all tags.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/4/2010 4:28 AM
 
I've looked at the object and embed tags a dozen times but I'll post it here in case some sees something I don't:

                         <div id="ScanPane" class="ScanPane" >
            <img id="scanImg" src="images/scan1a.png" alt="pet1.png" />
           
<object
               standby="Loading Microsoft Windows Media Player components..."
               codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
               classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
               type="application/x-mplayer2"
               width="320">
               <param name="URL" value="/Portals/_default/Skins/PET/video/Foam3.wmv" />
               <param name="fileName" value="/Portals/_default/Skins/PET/video/Foam3.wmv" />
               <param name="animationatStart" value="true" />
               <param name="transparentatStart" value="true" />
               <param name="autoStart" value="true" />
               <param name="showControls" value="false" />
               <param name="loop" value="true" />
               <param name="PLAYCOUNT" value="40" />
               <embed
                   width="320"
                   loop="true"
                   showcontrols="false"
                   autostart="true"
                   transparentatstart="true"
                   animationatstart="true"
                   filename="/Portals/_default/Skins/PET/video/Foam3.wmv"
                   type="application/x-mplayer2">
              </embed>
            </object>  
           </div>


Thanks,
Steve
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Cryptic error during skin installationCryptic error during skin installation


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