Jump to:

4952 Posts in 14257 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Firefox and IE install

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2746 Views
  • hmiller73
    Avatar
    Community Member
    4 Posts

    Firefox and IE install Link to this post

    I have tried to install this a million times when installed Wamp it asked if I wanted to use firefox. This is my default browser. When I got to the install screen of silverstripe that went well. then when it went through the install process I got this error.

    XML Parsing Error: not well-formed
    Location: http://localhost/silverstripe/
    Line Number 45, Column 75:               <div id="SilverStripeNavigatorMessage" title='Note: this message won't be shown to your visitors'>Published Site</div>
    -------------------------------------------------------------------------------------------------------------^

    I am able to view http://localhost/silverstripe/ in Internet Explorer, but once I get into the CMS site I am not able to view any of the icons located within the menu bar. If I hover over them they say what the are.

    I need help fixing this please. I have one week to complete a project for my college course and I have to use this program to complete the final assignment.

    This is the source code from firefox on the page I get an error.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
       <head>
          <base href="http://localhost/silverstripe/" />
          <link rel="stylesheet" type="text/css" href="tutorial/css/layout.css" />
          <link rel="stylesheet" type="text/css" href="tutorial/css/typography.css" />
          <link rel="stylesheet" type="text/css" href="tutorial/css/form.css" />
       <link rel="stylesheet" type="text/css" href="http://localhost/silverstripe/themes/tutorial/css/layout.css?m=1233475780" />
    <link rel="stylesheet" type="text/css" href="http://localhost/silverstripe/themes/tutorial/css/typography.css?m=1233475780" />
    <link rel="stylesheet" type="text/css" href="http://localhost/silverstripe/themes/tutorial/css/form.css?m=1233475780" />

    <link rel="stylesheet" type="text/css" href="http://localhost/silverstripe/sapphire/css/SilverStripeNavigator.css?m=1233195036" />
    </head>
       <body>
          <div id="Main">
             <div id="Header">
                <h1>&#160;</h1>
             </div>
             <div id="ContentContainer">
                <div id="Content" class="typography">
                   <p>Welcome to SilverStripe! This is the default homepage. You can edit this page by opening <a href="admin/">the CMS</a>. You can now access the <a href="http://doc.silverstripe.com">developer documentation</a>, or begin <a href="http://doc.silverstripe.com/doku.php?id=tutorials">the tutorials.</a></p>

                   
                </div>
             </div>
             <div id="Footer">
                <span>Visit <a href="http://www.silverstripe.com" title="Visit www.silverstripe.com">www.silverstripe.com</a>; to download the CMS</span>
             </div>
          </div>
                      <div id="SilverStripeNavigator">

                   <div class="holder">
                   <div id="logInStatus">
                      Not logged in - <a href='Security/login'>Login</a>
                   </div>

                   <div id="switchView" class="bottomTabs">
                      <div class="blank">View Page in: </div>
                      <a href="admin/show/1" target="cms">CMS</a>

                      <a href="/silverstripe/?stage=Stage" target="site" style="left : -1px;">Draft Site</a>
                      <div class="blank" style="width:1em;"> </div>
                      <a class="current">Published Site</a>
                      
                   </div>
                   </div>
                </div>
                   <div id="SilverStripeNavigatorMessage" title='Note: this message won't be shown to your visitors'>Published Site</div>

       <script type="text/javascript" src="http://localhost/silverstripe/jsparty/behaviour.js?m=1228253400"></script><script type="text/javascript" src="http://localhost/silverstripe/jsparty/prototype.js?m=1226464322"></script><script type="text/javascript" src="http://localhost/silverstripe/sapphire/javascript/i18n.js?m=1225286438"></script><script type="text/javascript" src="http://localhost/silverstripe/sapphire/javascript/lang/en_US.js?m=1229303948"></script><script type="text/javascript">//<![CDATA[
                Behaviour.register({
                   '#switchView a' : {
                      onclick : function() {
                         var w = window.open(this.href,windowName(this.target));
                         w.focus();
                         return false;
                      }
                   }
                });

                function windowName(suffix) {
                   var base = document.getElementsByTagName('base')[0].href.replace('http://','').replace(/\//g,'_').replace(/\./g,'_');
                   return base + suffix;
                }
                window.name = windowName('site');

    //]]></script></body>
    </html>

    Thanks

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Firefox and IE install Link to this post

    The XML error looks to be a syntax error in the theme you are using, I have just committed a fix for this. In the mean time though you can get it to work by removing the $SilverStripeNavigator from the theme you are using. It will be in /themes/themeyouareusing/templates/Page.ss

  • hmiller73
    Avatar
    Community Member
    4 Posts

    Re: Firefox and IE install Link to this post

    Currently I have the browser set to use IE because of that error. Is there a way in wamp to change it back to use Firefox as the default browser?

    That did fix the error in firefox, but I am still not able to view the tool icons within IE

    thanks for the help

  • NCEA Economics
    Avatar
    Community Member
    3 Posts

    Re: Firefox and IE install Link to this post

    Hey,

    I have the same problem only when I check under then

    /themes/themeyouareusing/templates/Page.ss

    I cant see the "$SilverStripeNavigator" file.

    Have I done/doing somethign wrong?

  • NCEA Economics
    Avatar
    Community Member
    3 Posts

    Re: Firefox and IE install Link to this post

    Below is everything in there, cant see the navigator anywhere.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" >

    <head>
          <% base_tag %>
          <title>$Title &raquo; Your Site Name</title>
          $MetaTags(false)
          <link rel="shortcut icon" href="/favicon.ico" />
          
          <% require themedCSS(layout) %>
          <% require themedCSS(typography) %>
          <% require themedCSS(form) %>
          
          <!--[if IE 6]>
             <style type="text/css">
              @import url(themes/blackcandy/css/ie6.css);
             </style>
          <![endif]-->
          
          <!--[if IE 7]>
             <style type="text/css">
              @import url(themes/blackcandy/css/ie7.css);
             </style>
          <![endif]-->
       </head>
    <body>
    <div id="BgContainer">
       <div id="Container">
          <div id="Header">
             $SearchForm
              <h1>Your Site Name</h1>
           <p>your site&#39;s tagline here</p>
          </div>
          
          <div id="Navigation">
             <% include Navigation %>
           </div>
           
           <div class="clear"><!-- --></div>
          
          <div id="Layout">
           $Layout
          </div>
          
        <div class="clear"><!-- --></div>
       </div>
       <div id="Footer">
          <% include Footer %>
       </div>
    </div>

    </body>
    </html>

  • hmiller73
    Avatar
    Community Member
    4 Posts

    Re: Firefox and IE install Link to this post

    I had trouble finding that too. Here is the location where I found the file. C:\wamp\www\silverstripe\themes\tutorial\templates/page.ss

    2746 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.