Parse error after install: /kernel/classes/ezworkflow.php line 245

Author Message

Rosalind Share

Tuesday 24 February 2004 11:25:39 am

Hi,

I have just installed EZ Publish 3.3 on my site:

Operating System: Linux
Apache 1.3.29 (unix)
PHP 4.3.3
MySQL 4.0.15-standard

I do not have shell access.

I installed using the Site Wizard.
The only problem was insufficient memory ie I have asked my host to increase the memory_limit value to at least 12 Mb.

When the set-up wizard finished, I clicked to both my site
and the admin site, but I see this error:

Parse error: parse error in /home/rmsconsu/public_html/kernel/classes/ezworkflow.php on line 245

This line comes within:

function store( $store_childs = false )

{
if ( is_array( $store_childs ) or $store_childs )
{
if ( is_array( $store_childs ) )
$events =& $store_childs;
else
$events =& $this->fetchEvents(); ***** line 245

I really would appreciate your help as I am very new to EZ Publish.
I do not know how to solve the problem and have searched the forums.

Thanking you in advance.

Kind regards,

Ros

Rosalind Share

Wednesday 25 February 2004 2:48:29 am

Vidar Langseid

Thursday 26 February 2004 2:26:28 am

Sorry, but I can't see an error at that line...
Maybe the file has been corrupted during transfer and contains illegal(invisible) characters?

PHP on linux should work even though the file should contain windows newlines (unix and windows have different ways of marking end-of-line in a textfile), but maybe this doesn't work properly here? Try to upload the file again in binary mode.

Rosalind Share

Friday 05 March 2004 10:17:05 am

Dear Vidar,

Thank you. That was exactly the problem ie the file was corrupted. I have a more pressing problem - this time nothing to do with corrupt files. Following the Tutroial, I cannot get any images to be shown - with an error message ezImageManager::creating Image Alias. I posted several days ago but no one wants to respond in the SetUp/Design forum!

Regards,

Ros

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 19 2025 03:41:15
Script start
Timing: Jan 19 2025 03:41:15
Module start 'layout'
Timing: Jan 19 2025 03:41:15
Module start 'content'
Timing: Jan 19 2025 03:41:16
Module end 'content'
Timing: Jan 19 2025 03:41:16
Script end

Main resources:

Total runtime0.7576 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.6406152.6875
Module start 'layout' 0.00650.0035 742.328139.5234
Module start 'content' 0.01000.7461 781.8516483.3047
Module end 'content' 0.75610.0014 1,265.156312.0781
Script end 0.7575  1,277.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4129160.0002
Check MTime0.00140.1801160.0001
Mysql Total
Database connection0.00150.195210.0015
Mysqli_queries0.706693.2757600.0118
Looping result0.00050.0674580.0000
Template Total0.728496.120.3642
Template load0.00210.274720.0010
Template processing0.726395.871920.3632
Template load and register function0.00020.030210.0002
states
state_id_array0.00080.099810.0008
state_identifier_array0.00070.090720.0003
Override
Cache load0.00170.2217390.0000
Sytem overhead
Fetch class attribute can translate value0.00100.126620.0005
Fetch class attribute name0.00110.138640.0003
XML
Image XML parsing0.00020.026320.0001
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00070.0909100.0001
String conversion0.00000.001240.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
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs