Parse error: syntax error, unexpected $end

Author Message

Dana Bessey

Sunday 16 December 2007 1:50:00 pm

Newbie,
Just uploaded eZpub pointed to index.php
Get this error
Parse error: syntax error, unexpected $end

Line# seems to point to the final section

-----------------------------------------------------------
eZDebug::addTimingPoint( "End" );

$out = ob_get_clean();
echo trim( $out );

eZDB::checkTransactionCounter();

eZDisplayResult( $templateResult );

eZExecution::cleanup();
eZExecution::setCleanExit();

?>

Kristof Coomans

Monday 17 December 2007 12:30:09 am

Hi Dana, welcome to the eZ Community!

Which version of eZ Publish are you trying to install and on which version of PHP?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Dana Bessey

Monday 17 December 2007 10:57:29 am

PHP 5 supported and eZ Publish 4.0 on a linux host atbhost.com

Thanks
Dana

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 10:58:06
Script start
Timing: Jan 18 2025 10:58:06
Module start 'layout'
Timing: Jan 18 2025 10:58:06
Module start 'content'
Timing: Jan 18 2025 10:58:08
Module end 'content'
Timing: Jan 18 2025 10:58:08
Script end

Main resources:

Total runtime1.2879 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 589.1719152.6406
Module start 'layout' 0.00800.0038 741.812539.4766
Module start 'content' 0.01181.2729 781.2891535.2734
Module end 'content' 1.28470.0031 1,316.56258.1250
Script end 1.2878  1,324.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2924160.0002
Check MTime0.00140.1082160.0001
Mysql Total
Database connection0.00120.096910.0012
Mysqli_queries1.230895.5669570.0216
Looping result0.00070.0532550.0000
Template Total1.237196.120.6185
Template load0.00260.200920.0013
Template processing1.234595.852820.6172
Template load and register function0.00030.020310.0003
states
state_id_array0.00240.184610.0024
state_identifier_array0.00230.176320.0011
Override
Cache load0.00210.1634250.0001
Sytem overhead
Fetch class attribute can translate value0.00080.064220.0004
Fetch class attribute name0.00220.169640.0005
XML
Image XML parsing0.00090.070620.0005
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00180.1427160.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs