new installation of ez3.4.2,and got this error info!

Author Message

kevin wei

Friday 24 September 2004 1:49:33 am

Fatal error: Call to undefined function: file_get_contents() in e:\server\ez342\lib\eztemplate\classes\eztemplatefileresource.php on line 245
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below

windows xp
apache 1.3.29
php 4.1.0
mysql 3.23.49

thanks!

Hans Melis

Friday 24 September 2004 1:53:19 am

Your PHP version is too old. You need PHP 4.3.x as mentioned in the install docs:

http://ez.no/ez_publish/documentation/installation/normal_installation/requirements_for_doing_a_normal_installation

Hans
http://blog.hansmelis.be

kevin wei

Friday 24 September 2004 1:56:50 am

thanks very much!

i will try again!

Andrewet.nl Kay

Friday 01 October 2004 6:50:11 am

I have the following setup,

Linux Redhat 9
Apache 2.0.40
MySql 4.0.15-standard
PHP 4.3.3

And I get the same error,

Fatal error: Call to undefined function: file_get_contents() in mywebroot..../lib/eztemplate/classes/eztemplatefileresource.php on line 245
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Regards,

Andy

Frederik Holljen

Friday 01 October 2004 6:59:40 am

file_get_contents is included in PHP from version 4.3.0. Are you absolutely certain that you are running PHP 4.3.3?

Andrewet.nl Kay

Friday 01 October 2004 7:05:38 am

PHP 4.3.3 (cgi) (built: Oct 12 2003 13:49:14)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

Yeah sure. I will tripple check though.

Andy

Paul Borgermans

Friday 01 October 2004 7:10:32 am

Maybe a result of php accelerator caches not cleared (yet)?

Or php wrongly updated (less likely)?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Andrewet.nl Kay

Friday 01 October 2004 8:27:18 am

No everything is fine on the backend. I have installed under the web root as cms and not the default. Make any difference?

Andy

Sjoerd van Steijn

Friday 26 November 2004 3:12:06 am

I got the same message after i moved my server to another location (and other ip-address). I configured the virtualhosts in apache, but should i do anything else?

When i have the debug enabled i get the next extra output:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2045 bytes) in /opt/ezpublish/sites/default/lib/ezutils/classes/ezdebug.php on line 1128

This seems strange to me because it worked before moving the server and i didn't change those settings.

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 07:28:25
Script start
Timing: Jan 19 2025 07:28:25
Module start 'layout'
Timing: Jan 19 2025 07:28:25
Module start 'content'
Timing: Jan 19 2025 07:28:25
Module end 'content'
Timing: Jan 19 2025 07:28:25
Script end

Main resources:

Total runtime0.8456 sec
Peak memory usage4,096.0000 KB
Database Queries83

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 591.1641152.6563
Module start 'layout' 0.00630.0028 743.820339.5078
Module start 'content' 0.00910.8349 783.3281750.5078
Module end 'content' 0.84400.0016 1,533.835916.1094
Script end 0.8455  1,549.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3953160.0002
Check MTime0.00150.1741160.0001
Mysql Total
Database connection0.00100.118110.0010
Mysqli_queries0.769190.9555830.0093
Looping result0.00100.1167810.0000
Template Total0.811996.020.4060
Template load0.00210.248520.0011
Template processing0.809895.770320.4049
Template load and register function0.00020.029210.0002
states
state_id_array0.00090.100910.0009
state_identifier_array0.00110.128320.0005
Override
Cache load0.00200.2380520.0000
Sytem overhead
Fetch class attribute can translate value0.00080.093960.0001
Fetch class attribute name0.00270.3241120.0002
XML
Image XML parsing0.00260.305660.0004
class_abstraction
Instantiating content class attribute0.00000.0032120.0000
General
dbfile0.00140.1616280.0000
String conversion0.00000.001040.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
9content/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
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs