From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: xml statement in html and apache error Date: Thu, 07 Apr 2011 05:36:50 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=45095 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7g17-0003Sv-PG for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 23:36:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7g16-0006fh-Gl for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 23:36:21 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:59382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7g16-0006fb-6Z for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 23:36:20 -0400 Received: by fxm18 with SMTP id 18so1746275fxm.0 for ; Wed, 06 Apr 2011 20:36:18 -0700 (PDT) Received: from shamrock by asus1015pem with local (Exim 4.72) (envelope-from ) id 1Q7g1d-0007j8-Ck for emacs-orgmode@gnu.org; Thu, 07 Apr 2011 05:36:53 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode mailing list I cant really give too many details or suggestions as to why it failed, but the default xml string at the top of export to html files was causing apache to fail. ,---- | Parse error: syntax error, unexpected T_STRING in | /home/shamrock/common-files/webs/richardriley.net/projects/emacs/index.html | on line 1 `---- I simply removed the html xml declaration, ,---- | org-export-html-xml-declaration is a variable defined in `org-html.el'. | Its value is | (("php" . "")) `---- reexported my private little web, reloaded apache and all was well. Which was cool considering I hadnt exported it from the org data for all of about 2 years! Far from thought out, almost certainly not "correct" I am sure, but got my web back working. Possibly someone else can comment on cause/effect. regards r.