4571 Posts in 1382 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2493 Views |
-
Firefox and IE install

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" 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> </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
-
Re: Firefox and IE install

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
-
Re: Firefox and IE install

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
-
Re: Firefox and IE install

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?
-
Re: Firefox and IE install

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" lang="en" ><head>
<% base_tag %>
<title>$Title » 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'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> -
Re: Firefox and IE install

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
| 2493 Views | ||
|
Page:
1
|
Go to Top |


