Help! Parse error

Author Message

Francesc Febrer

Sunday 08 February 2004 6:46:32 am

Hi,

I've several errors when I view the frontpage of the site.
When I do this, It appaers this:

Parse error: parse error in /home/scpsm/public_html/var/blog/cache/content/blog/full/eng-GB/2-66a477a5182fbb8cd433ec6ea618399a.php on line 51

Well, this file, at this line tell this:

<div class="logentry">

<p>
<?xml version="1.0" encoding="UTF-8"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/"
xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
<paragraph>David Kay, cap de la missió nord-americana encarregada de buscar armes de destrucció massiva a l&#8217;Iraq, ha presentat la seva dimissió i ha assegurat que no creu que existeixin els arsenals pels quals els Estats Units van començar la guerra. &#8220;No crec que existissin&#8221;, va declarar Kay qui ha afegit que &#8220;no crec que hagués cap programa de producció a gran escala als 90&#8221;. La CIA ja ha substituït Kay per l&#8217;exinspector d&#8217;armament Charles Duelfer, de 51 anys, i que també ha expressat els seus dubtes sobre que s&#8217;arribin a trobar les suposades armes.</paragraph>

Please, help me

Marco Zinn

Saturday 14 February 2004 2:56:12 am

Hm. Which PHP version do you use?
Is the character set iso-8859-1 correct for you?

Marco
http://www.hyperroad-design.com

Francesc Febrer

Saturday 14 February 2004 4:23:21 am

PHP Version is 4.3.3 and the ISO is correct (European occidental).

Joel Waltner

Friday 20 February 2004 9:01:04 am

Having the same problem, help appreciated.

here's the line in question:
<?xml version="1.0" encoding="UTF-8"?>

excerpted from:
div class="menuintro">
<?xml version="1.0" encoding="UTF-8"?>
<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/"
xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
<paragraph>
<strong>
<emphasize>Finally!!!</emphasize>
</strong>
</paragraph>
</section>
</div>

and here's the code it's generated from:
{section name=News loop=$articles_list max=3}
<tr>
<td class="menuitem">
<div class="menuname">
<a href={concat('content/view/full/',$News:item.node_id)|ezurl}>{$News:item.name|wash}</a>
</div>
<div class="menudate">
({$News:item.object.published|l10n( shortdate )})
</div>
<div class="menuintro">
{$News:item.data_map.intro.data_text}
</div>
</td>
</tr>
{/section}

using ez 3.3.1 php 4.3.3 and ezdhtml

Joel

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.