Forums / Install & configuration / Help! Parse error

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

eZ debug

Timing: Jan 31 2025 00:41:06
Script start
Timing: Jan 31 2025 00:41:06
Module start 'content'
Timing: Jan 31 2025 00:41:06
Module end 'content'
Timing: Jan 31 2025 00:41:06
Script end

Main resources:

Total runtime0.2854 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0129 587.9297370.2969
Module start 'content' 0.01290.0297 958.22661,005.5313
Module end 'content' 0.04260.2426 1,963.75783,895.4141
Script end 0.2853  5,859.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00541.8908200.0003
Check MTime0.00150.5186200.0001
Mysql Total
Database connection0.00160.544210.0016
Mysqli_queries0.140549.22411410.0010
Looping result0.00150.52121390.0000
Template Total0.241984.810.2419
Template load0.00110.395910.0011
Template processing0.240784.355910.2407
Override
Cache load0.00050.190610.0005
Sytem overhead
Fetch class attribute can translate value0.00190.648610.0019
XML
Image XML parsing0.00030.095010.0003
General
dbfile0.030410.6541200.0015
String conversion0.00000.004230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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