Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 88688 invoked from network); 5 Nov 2010 15:44:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 15:44:57 -0000 Received: (qmail 59230 invoked by uid 500); 5 Nov 2010 15:45:26 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 59125 invoked by uid 500); 5 Nov 2010 15:45:25 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 59116 invoked by uid 99); 5 Nov 2010 15:45:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:45:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.203.219.181] (HELO mail4.conversis.de) (213.203.219.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:45:17 +0000 Received: from [192.168.2.101] (dslb-188-100-211-007.pools.arcor-ip.net [188.100.211.7]) by mail4.conversis.de (Postfix) with ESMTP id 408E42420005 for ; Fri, 5 Nov 2010 16:44:56 +0100 (CET) Message-ID: <4CD42678.3010306@conversis.de> Date: Fri, 05 Nov 2010 16:44:56 +0100 From: Dennis Jacobfeuerborn User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101019 Remi/fc11 Thunderbird/3.1.5 MIME-Version: 1.0 To: users@httpd.apache.org References: <003d01cb7cef$60172a70$20457f50$@scoden.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Certain Pages being served are erroring... On 11/05/2010 03:34 PM, Tom Evans wrote: > On Fri, Nov 5, 2010 at 1:43 PM, Scott Shippee wrote: >> I maintain a series of web sites for the fraternal organizations I belong to >> and recently we published a set of web pages to out server for one of the >> sites and we are getting: >> >> >> >> Parse error: syntax error, unexpected T_STRING in >> /home/harmony9/www/harmonylodge9/Doric_Masonic_Center.html on line 1 >> >> >> >> I have traced it to the first line which is: >> >> >> >> >> >> >> >> Which if removed allows the page to work, HOWEVER, according to the >> standards, this line should be there any ideas? >> >> >> >> I have PHP& MySQL installed as well >> >> >> >> Scott > > That is a PHP error message. You have configured Apache to serve HTML > as PHP scripts, and XML prologs are not valid in PHP (google PHP XML > prolog). XML is fine in a php file as long as you disable short_open_tags in php.ini. Regards, Dennis --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org