Forums / Install & configuration / new installation of ez3.4.2,and got this error info!

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.

eZ debug

Timing: Jan 19 2025 08:55:17
Script start
Timing: Jan 19 2025 08:55:17
Module start 'content'
Timing: Jan 19 2025 08:55:18
Module end 'content'
Timing: Jan 19 2025 08:55:18
Script end

Main resources:

Total runtime1.1702 sec
Peak memory usage4,096.0000 KB
Database Queries220

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.2031180.8047
Module start 'content' 0.00770.9936 770.0078755.6172
Module end 'content' 1.00130.1687 1,525.6250340.4375
Script end 1.1700  1,866.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.3693210.0002
Check MTime0.00160.1355210.0001
Mysql Total
Database connection0.00080.072210.0008
Mysqli_queries1.063190.84312200.0048
Looping result0.00260.22492180.0000
Template Total1.132496.820.5662
Template load0.00240.206020.0012
Template processing1.130096.562020.5650
Template load and register function0.00030.021810.0003
states
state_id_array0.00210.175610.0021
state_identifier_array0.00120.106020.0006
Override
Cache load0.00210.1810520.0000
Sytem overhead
Fetch class attribute can translate value0.00160.136370.0002
Fetch class attribute name0.00160.1351120.0001
XML
Image XML parsing0.00700.596170.0010
class_abstraction
Instantiating content class attribute0.00000.0019120.0000
General
dbfile0.01691.4428390.0004
String conversion0.00000.000830.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs