php upgrade help!

Author Message

Neil Kanth

Tuesday 18 January 2005 6:42:20 pm

I was told that I need to upgrade my version of php because of this error message:
-------------------------------
Fatal error: Call to undefined function: file_get_contents() in /home/webadmin/softballcricket.com/html/ezp/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.
-------------------------------
After attempting to upgrade the php version it failed and so I'm looking for help.

Could someone help me here.

Thanks
Neil

Łukasz Serwatka

Wednesday 19 January 2005 12:04:48 am

Hi,

What exactly do you want to do?

Tell as more about your environment. OS, PHP version, WWW server, etc. What errors do you have?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Neil Kanth

Wednesday 19 January 2005 5:51:32 am

I would like to upgrade to php version 4.3.10.

<b>The server environment</b>:
Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6 PHP/4.1.2 mod_perl/1.27 FrontPage/5.0.2.2623
<b>Operating system</b>:
Linux version 2.4.20-021stab022.6.777-enterprise
(st@kbuild26.eng.sw.ru) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110))
#1 SMP Wed Oct 20 18:07:57 MSD 2004
<b>Host</b>Server4you-Virtual Private Server (VPS) with root access to install upgrades, software or applications.
<b>WWW</b>http://www.softballcricket.com/ezp

When I attempted to do this upgrade (a most difficult task compared to EZP), I got several dependencies messages.
I have EZP on another server and I'm beginning to learn how to use it and prefer it over MT. I will do almost anything to be able to complete this upgrade.

-Neil

Łukasz Serwatka

Thursday 20 January 2005 12:26:06 am

Hi,

You need tutorial how to install/upgrade PHP or just ask administrator for help.
IMO if you don`t know how, don`t do this alone. Security is the main reason.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Derick Rethans

Thursday 20 January 2005 6:32:45 am

There is some good installation information in the PHP manual:
http://www.php.net/manual/en/install.unix.php#install.unix.apache

But you can most likely skip the apache compiling step. (step 1 to 8).

Neil Kanth

Thursday 20 January 2005 9:57:10 am

I'm still not able to complete the upgrade.

Is there a service that does this?

-Neil

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 18 2025 21:03:38
Script start
Timing: Jan 18 2025 21:03:38
Module start 'layout'
Timing: Jan 18 2025 21:03:38
Module start 'content'
Timing: Jan 18 2025 21:03:38
Module end 'content'
Timing: Jan 18 2025 21:03:38
Script end

Main resources:

Total runtime0.7206 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.9141152.6250
Module start 'layout' 0.00760.0032 740.539139.4453
Module start 'content' 0.01080.7084 779.9844617.5703
Module end 'content' 0.71920.0014 1,397.554716.1719
Script end 0.7205  1,413.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4648160.0002
Check MTime0.00140.1924160.0001
Mysql Total
Database connection0.00180.245110.0018
Mysqli_queries0.657991.3063680.0097
Looping result0.00060.0872660.0000
Template Total0.688495.520.3442
Template load0.00200.278020.0010
Template processing0.686495.252920.3432
Template load and register function0.00010.014610.0001
states
state_id_array0.00030.047010.0003
state_identifier_array0.00070.100820.0004
Override
Cache load0.00170.2404450.0000
Sytem overhead
Fetch class attribute can translate value0.00050.064830.0002
Fetch class attribute name0.00090.122080.0001
XML
Image XML parsing0.00120.162430.0004
class_abstraction
Instantiating content class attribute0.00000.002690.0000
General
dbfile0.00170.2330240.0001
String conversion0.00000.001440.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
11content/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: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs