Forums / Install & configuration / Parse error after install: /kernel/classes/ezworkflow.php line 245

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