piyush23424 Posted April 12, 2010 Share Posted April 12, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/198287-error-console-showing-syntax-error/ Share on other sites More sharing options...
premiso Posted April 12, 2010 Share Posted April 12, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/198287-error-console-showing-syntax-error/#findComment-1040399 Share on other sites More sharing options...
piyush23424 Posted April 12, 2010 Author Share Posted April 12, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/198287-error-console-showing-syntax-error/#findComment-1040414 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.