PDA

View Full Version : Error message when trying to publish Contact page



jimchicago
05-22-2009, 03:30 PM
I've published numerous 'Contact' pages in BV and never had this problem (at least, not that I remember). The page displays just fine in preview mode, and SEEMS to publish OK, but then I go to the URL where the page should be and it's nothing but a blank page with the message:

Parse error: syntax error, unexpected T_STRING in /home/vtrsgwu/public_html/littlepeoplescountry/contact.php on line 15

Can anyone tell me what to do to fix this? At first I had accidentally published the page as a .html, but then I went back to the BV file and in Page Properties changed the file extension to .php. But still I'm getting the error message above. Thanks.

jimchicago
05-22-2009, 05:49 PM
Problem solved. All I had to do was go into Form Properties and delete the apostrophe I had that was in the text I had typed into the "Subject" field. As soon as I did, and re-published the page, the page looks just fine on the web.

Amazing what one little stray character can do!