Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

PHP Issue


What_A_Legend's Avatar
...Legend?
0 0

Right I been working on somthing latly and all of a sudden theres an error and after looking at it for a bt I can't for the love of God work out what the issue is, Proabally simple hopefully some one else can see it.

Heres the code

<?php 
SESSION_START();
include("includes/config.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title><?php include ("includes/title.php");?>- Powered By EasyBlog</title>
	<link rel="shortcut icon" href="../favicon.ico">
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<meta http-equiv="Content-Language" content="en-us" />
	<meta http-equiv="imagetoolbar" content="no" />
	<meta name="MSSmartTagsPreventParsing" content="true" />
	<meta name="description" content="Open Source blog, coded by Wayne Shears also known as What_A_Legend on the internet" />
	<meta name="keywords" content="Blog,Open Source, Feeware, Hot, Amazing, Wordpress, Eblogger" />
	<meta name="author" content="Wayne Shears, What_A_Legend (www.whatlegend.com)" />
	<style type="text/css" media="all">@import "css/BlueBlog/images/style.css";</style>
</head>

And heres the error message

markupParse error: syntax error, unexpected '<' in C:\xampp\htdocs\Dev - Open Source Project\index.php on line 18

Any idea's any one?


ghost's Avatar
0 0

I'm not completely sure about this but I believe the ';' character in this line:

markup...style.css";</style>

is supposed to end the line, so therefore when the computer reads the semicolon it tries to stop. However you have added something extra and it produces an error. So if my theory is correct then just try putting the closing 'style' tag on the next line. Hope this helps, however I may be wrong. Howie


ghost's Avatar
0 0

The code works perfectly fine for me. You must have a bodged installation. I thought it could be support support for ASP tags of short tags that's causing the error, but I turned those on and there's still nothing. Try installing WAMP manually. I wrote an unconfirmed guide myself here.


BIBER's Avatar
Banned
0 0

markup <style type="text/css" media="all">@import "css/BlueBlog/images/style.css";</style> Maybe it should look like this markup <style type="text/css" media="all">@import "css/BlueBlog/images/style.css"> </style>

….style.css">

EDIT LOL shit i didnt see it well,forget this :) EDIT