Forums / Install & configuration / Install Wizard fata error

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

eZ debug

Timing: Jan 31 2025 00:26:57
Script start
Timing: Jan 31 2025 00:26:57
Module start 'content'
Timing: Jan 31 2025 00:26:57
Module end 'content'
Timing: Jan 31 2025 00:26:57
Script end

Main resources:

Total runtime0.1679 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9531370.2891
Module start 'content' 0.00610.0133 958.24221,013.5469
Module end 'content' 0.01940.1484 1,971.78913,902.2188
Script end 0.1678  5,874.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00462.7268200.0002
Check MTime0.00130.8005200.0001
Mysql Total
Database connection0.00050.285410.0005
Mysqli_queries0.080347.82521410.0006
Looping result0.00110.65181390.0000
Template Total0.148088.110.1480
Template load0.00090.519010.0009
Template processing0.147187.624710.1471
Override
Cache load0.00060.363310.0006
Sytem overhead
Fetch class attribute can translate value0.00181.068210.0018
XML
Image XML parsing0.00020.137110.0002
General
dbfile0.00482.8766200.0002
String conversion0.00000.002830.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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