Jump to content

ERROR CONSOLE : showing syntax error


piyush23424

Recommended Posts

Hi,

 

i  am getting an error whenever i check my error console. The error is

Error: syntax error

Source File: search.model.php

Line: 2

Source Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

i changed the above line many times but again i am getting the same problem.

Please help me.

Vikram singh

Link to comment
https://forums.phpfreaks.com/topic/198287-error-console-showing-syntax-error/
Share on other sites

http://www.w3.org/TR/xhtml1/

 

You may do well to read up on the standards for the doctoype. If that is not of much help, well provide us with the first 10 lines of your html file so we can see that your are indeed not doing any funky stuff.

http://www.w3.org/TR/xhtml1/

 

You may do well to read up on the standards for the doctoype. If that is not of much help, well provide us with the first 10 lines of your html file so we can see that your are indeed not doing any funky stuff.

 

Here are the first few line of the code please have a look,,,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="joomla, Joomla" />
  <meta name="description" content="Joomla! - the dynamic portal engine and content management system" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>Rabat Tourism</title>

  <link href="/templates/youtravel/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <link rel="stylesheet" href="http://rabat-tourisme.org/components/com_csobi/css/demo.css" type

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.