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

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
clubamigos99
Posts: 62
Joined: Mon Feb 20, 2006 4:20 pm

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

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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 \
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
clubamigos99
Posts: 62
Joined: Mon Feb 20, 2006 4:20 pm

Post 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>
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

To make it as simple as possible, in your code you should change all

Code: Select all

\"
to

Code: Select all

"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
clubamigos99
Posts: 62
Joined: Mon Feb 20, 2006 4:20 pm

Post 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.
Locked