Syntax error
7 posts by 2 authors in: Forums > CMS Builder
Last Post: February 17, 2008 (RSS)
By Vaisoco - February 17, 2008
You can see at http://www.first4studio.com/indus/staffBios.php I get an error.
I have pasted the first few lines of the page and as you can see it is identical to the coding produced by the application. I am a little confised.
<?php echo "<?xml version='1.0'?>\n"; ?>
<!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">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<style type="text/css">
body { font-family: arial; }
.instructions { border: 3px solid #000; background-color: #EEE; padding: 10px; text-align: left; margin: 25px}
</style>
</head>
Re: [Vaisoco] Syntax error
By Dave - February 17, 2008
<?php echo 'Current PHP version: ' . phpversion(); ?>
Does removing that first line (that prints the xml tag) make a difference?
interactivetools.com
Re: [Vaisoco] Syntax error
By Dave - February 17, 2008
<?php echo "<?xml version='1.0'?>\n"; ?>
Does removing that first line (that prints the xml tag) make a difference?
I tested this on my local version of PHP 4 but couldn't reproduce yet. See if removing that line makes a difference (then we'll know the cause). If not, you could always send us login details (dave@interactivetools.com) and we can login and track it down for you.
Let me know if removing that lines makes a difference, and how we can best help get this resolved for you.
interactivetools.com
Re: [Dave] Syntax error
By Vaisoco - February 17, 2008 - edited: February 17, 2008
Your suggestion seemed to do the trick.
However I have just created another page http://www.first4studio.com/indus/offersPage.php
I removed the first line again but this time the error remains.
Please do take a look.
The files are in public_html/first4studio/indus~
My sincere thanks
Re: [Vaisoco] Syntax error
By Vaisoco - February 17, 2008 - edited: February 17, 2008
Re: [Vaisoco] Syntax error
By Dave - February 17, 2008
Which browser are you using? We develop and test with recent IE and Firefox. Can you check with either of those?
interactivetools.com