Install Wizard fata error

Author Message

Ken White

Thursday 20 July 2006 1:43:53 pm

Tried to initiate the wizard through, http://192.168.1.30/essexnet/index.php. Browser returned the following error.

Fatal error: Call to undefined function: file_get_contents() in SYS:/Apache2/htdocs/EssexNet/lib/eztemplate/classes/eztemplatefileresource.php on line 236

Environment: Apache 2 web server

PHP staement added to conf file:
####Added for PHP 4 7/13/06 KEW ####
include sys:/apache2/conf/mod_php.conf

I don't have experience in this area and will appreciate any insight.

Łukasz Serwatka

Thursday 20 July 2006 11:12:05 pm

Hello Ken, and Welcome to the eZ publish Community!

file_get_contents() is not available in your system. Either your PHP version is too old or system administrator disable it (php.ini).

Look on the requirements page for eZ publish:
http://ez.no/products/ez_publish/info/requirements_for_ez_publish

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

Ken White

Friday 21 July 2006 5:49:13 am

PHP is Version 4.2.4-dev want section of the php.ini would enable the functionality?

Łukasz Serwatka

Friday 21 July 2006 6:04:14 am

Unfortunately your PHP version is too low. file_get_contents is available >= 4.3.0. It is highly recommend to upgrade your PHP to the latest version (4.4.2 currently).

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

Ken White

Friday 21 July 2006 12:44:47 pm

Netware 6.5 delivers PHP 5.0 with server install and PHP 5.0 is the ver. now in place. When I open a browser session to a the install wizard the browser displays the .php text file and does not initiate the wizard. What should I investigate, Apache conf or PHP.ini?

Thanks

Stian Lindhom

Sunday 23 July 2006 5:45:22 am

EZ Publish 3.x don't support PHP 5, you should use PHP 4.4.x. Your apache needs to be setup to handle php files via the PHP module, something like this:

AddType application/x-httpd-php .php

You can find more information about this at http://www.php.net/manual/en/install.unix.php

Ken White

Tuesday 25 July 2006 3:25:30 pm

Stian,

I've downloaded the php-4.4.2 zip file, expanded the contents into the php dir. on the sys: volume. I've also reviewed the php install instruction document which is informative for many NOS's expect Netware. The current Apache conf files doesn't have the sections described in the Unix sections of the php 4 install instructions. Are there more Netware specific instructions available somewhere?

Ken

Łukasz Serwatka

Tuesday 25 July 2006 11:25:45 pm

Yes it is. See this page:
http://developer.novell.com/wiki/index.php/PHP_for_NetWare

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

Ken White

Wednesday 26 July 2006 10:23:14 am

Thanks for the link to the php instruction. However I'm still encountering a couple of problems. I added the search paths at the server console. I made the modifications in the Apache conf file. Apache would not load successfully, PHP 4.4.2 does not provide the nlm's required in mod_php.conf called in the Apache conf.

include sys:/apache/conf/mod_php.conf

Łukasz Serwatka

Wednesday 26 July 2006 11:07:25 pm

Ken, I suggest to ask those questions on the Novell NetWare dedicated forums, or use Novell support. This is related to the OS environment mostly. If possible I would recommend to use Linux for the best performance and stability for eZ publish.

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

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 31 2025 01:26:13
Script start
Timing: Jan 31 2025 01:26:13
Module start 'layout'
Timing: Jan 31 2025 01:26:13
Module start 'content'
Timing: Jan 31 2025 01:26:13
Module end 'content'
Timing: Jan 31 2025 01:26:13
Script end

Main resources:

Total runtime0.0267 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.2344151.2109
Module start 'layout' 0.00680.0046 739.4453220.6875
Module start 'content' 0.01140.0136 960.13281,009.8203
Module end 'content' 0.02510.0016 1,969.953141.9922
Script end 0.0266  2,011.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.7808140.0002
Check MTime0.00124.3173140.0001
Mysql Total
Database connection0.00124.390610.0012
Mysqli_queries0.003312.286030.0011
Looping result0.00000.063510.0000
Template Total0.00114.010.0011
Template load0.00082.935410.0008
Template processing0.00031.076210.0003
Override
Cache load0.00052.017410.0005
General
dbfile0.00176.409880.0002
String conversion0.00000.035840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs