From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: [OT] Issue with exported html on webserver Date: Sun, 25 Mar 2012 23:21:33 +0200 Message-ID: <0389a966-9227-4999-b3ee-818994e00801@email.android.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBut5-0000uz-N3 for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 17:22:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBut3-0004MM-OR for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 17:22:07 -0400 Received: from b1.hitrost.net ([91.185.211.67]:50619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBut3-0004CF-I4 for emacs-orgmode@gnu.org; Sun, 25 Mar 2012 17:22:05 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: suvayu ali , org-mode mailing list Hi See if this explains it: http://www.000webhost.com/forum/web-design-ht= ml/25365-xhtml-not-recognised-parse-error-syntax-error-unexpected-t_string-= line-1-a.html Yours, Christian suvayu ali w= rote: >Hi, > >I labelled this OT since I am having the problem with only o= ne >web server. Since I am not well versed with html, I was hoping the good= >people of this list can help. > >Now to my issue. When I export any org f= ile to html and open it in my >browser, everything works well. But when I p= ut it on my institute's >public_html/ directory, I see a blank page. I aske= d for help at the IT >help desk, they tracked down the problem to the very = first tag in the >html file. > > > >This generates the following error in the Apache logs: > >PHP Par= se error: syntax error, unexpected T_STRING in >/user/sali/public_html/bug= .html on line 1 > >Removing the line renders the page properly. > >For an e= xample, look in the following directory. > > >= >+ bug.html renders correctly (the first line has been removed) >+ fails-b= ug.html shows a blank page (this is as org exports it) > >This is rather pe= rplexing, since I have successfully used html exported >by org before on ot= her webservers (e.g. the public_html directory in my >previous university).= Can someone help me find out what is the issue >here? > >Thanks a bunch. >= >-- >Suvayu > >Open source is the future. It sets us free. --- Sent fro= m mobile. Please excuse my brevity.