Syntax error

7 posts by 2 authors in: Forums > CMS Builder
Last Post: February 17, 2008   (RSS)

Re: [Vaisoco] Syntax error

By Dave - February 17, 2008

That is strange. Do you know what version of PHP you're using? You can use this tag to find out:

<?php echo 'Current PHP version: ' . phpversion(); ?>

Does removing that first line (that prints the xml tag) make a difference?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Syntax error

By Vaisoco - February 17, 2008

Current PHP version: 4.4.8

Re: [Vaisoco] Syntax error

By Dave - February 17, 2008

It's very strange, the only code that I see there in the first 3 lines is the bit that prints the xml tag:

<?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.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Syntax error

By Vaisoco - February 17, 2008 - edited: February 17, 2008

Thankyou Dave.

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

I also notice that when adding a field to a "Custom" section, the field doesn't show up in the list. Its actually necessary to come out of that section editor and go back in again.

Re: [Vaisoco] Syntax error

By Dave - February 17, 2008

It seemed to be working when I logged in and created a test field.

Which browser are you using? We develop and test with recent IE and Firefox. Can you check with either of those?
Dave Edis - Senior Developer
interactivetools.com