Page 1 of 1

Style sheet not recognised when upgrading to v1.2 of mboard

Posted: Wed May 17, 2006 7:25 am
by clubamigos99
Script URL: http://www.club-amigos.co.uk/mboard/mboard.php
Version of script: 1.2
Version of PHP: 4
Hosting company: 34sp
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

I have tried to upgrade to v1.2 of the mboard but for some reason my style sheet cannot be seen. I have checked the coding of mboard.php and looks fine to me. I have ftp'd files as per instructions.
Any help would really really be appreciated. As l have tried everything l can think of.

Posted: Wed May 17, 2006 1:14 pm
by Klemen
Your HTML code in the head is wrong, you have all the quotes espaced:
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3c.org/TR/1999/REC-html401- ... /loose.dtd\">
<html>
<head>
<title></title>
<meta content=\"text/html; charset=iso-8859-1\">
<link href="http://club-amigos.co.uk/amigos_style.css" rel=\"stylesheet\" type=\"text/css\">
Note all " are escaped with a \

Posted: Wed May 17, 2006 1:24 pm
by clubamigos99
Klemen Stirn wrote:Your HTML code in the head is wrong, you have all the quotes espaced:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401- ... /loose.dtd">
<html>
<head>
<title></title>
<meta content="text/html; charset=iso-8859-1">
<link href="http://club-amigos.co.uk/amigos_style.css" rel="stylesheet" type="text/css">
Note all " are escaped with a \
================================

I have made these relevant changes but still no luck?
See below for the changes l have made:
I am a bit unclear what you mean by "All " are escaped with a a \ quote" - please can you expalin in more details, is what l have done below correct?

echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401- ... /loose.dtd">
<html>
<head>
<title>'.$settings['mboard_title'].'</title>
<meta content="text/html; charset=iso-8859-1">
<link href="http://club-amigos.co.uk/amigos_style.css" rel="stylesheet" type="text/css">
<link href="http://club-amigos.co.uk/mboard/style.css" rel="stylesheet" type="text/css" />
<script language="Javascript" src="javascript.js" type="text/javascript"><!--
//-->
</script>
</head>
<body>

Posted: Wed May 17, 2006 1:26 pm
by Klemen
To make it as simple as possible, in your code you should change all

Code: Select all

\"
to

Code: Select all

"

Posted: Wed May 17, 2006 1:32 pm
by clubamigos99
Klemen Stirn wrote:To make it as simple as possible, in your code you should change all

Code: Select all

"
to

Code: Select all

"
===========================


Thanks for that, this fault has now been resolved.