Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

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

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

Firefox and IE install


Reply


6 Posts   2895 Views

Avatar
hmiller73

Community Member, 4 Posts

25 February 2009 at 1:09pm

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" xml: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

Avatar
Willr

Forum Moderator, 5513 Posts

25 February 2009 at 3:15pm

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

Avatar
hmiller73

Community Member, 4 Posts

25 February 2009 at 3:27pm

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

Avatar
NCEA Economics

Community Member, 3 Posts

25 February 2009 at 9:36pm

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?

Avatar
NCEA Economics

Community Member, 3 Posts

25 February 2009 at 10:03pm

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" xml: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>

Avatar
hmiller73

Community Member, 4 Posts

26 February 2009 at 4:26am

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