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.

eZ debug

Timing: Jan 18 2025 19:05:19
Script start
Timing: Jan 18 2025 19:05:19
Module start 'layout'
Timing: Jan 18 2025 19:05:19
Module start 'content'
Timing: Jan 18 2025 19:05:19
Module end 'content'
Timing: Jan 18 2025 19:05:19
Script end

Main resources:

Total runtime0.0209 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.0469152.6250
Module start 'layout' 0.00700.0047 741.671939.4453
Module start 'content' 0.01170.0067 781.117293.3359
Module end 'content' 0.01840.0024 874.453134.3047
Script end 0.0209  908.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003014.3392140.0002
Check MTime0.00125.8087140.0001
Mysql Total
Database connection0.00167.816110.0016
Mysqli_queries0.003918.466930.0013
Looping result0.00000.086710.0000
Template Total0.00209.410.0020
Template load0.00125.854410.0012
Template processing0.00073.546910.0007
Override
Cache load0.00094.332010.0009
General
dbfile0.00209.452680.0002
String conversion0.00000.046840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs