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.