Linux Install

Author Message

Michael Fitzpatrick

Saturday 27 March 2010 10:48:36 am

I am having trouble installing EZ Publish on my web host. I was able to install EZ Components using the pear installer and a shell interface. However, I am using the complete package and don't think this is really required.

I copied the EZ Publish files to /public_html/ez
I went to http://SonomaSAR.org/ez and started the set up.
At the page:
---------------
Database initialization

Please input database access information in the form below.
-------------

I get the following error:

========================
Fatal error: Class 'eZDBInterface' not found in /home/sar/public_html/ez/lib/ezdb/classes/ezmysqldb.php on line 39
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.
========================

I tried changed/added the following on config.php:

ini_set( 'include_path', ini_get( 'include_path' ). PATH_SEPARATOR . '/php/ezc' );

which is where pear put it.

I assume that there is something not right with the ez components setup.
Is there an easy way to test the EZC install?

Can you help with the installation?

Gaetano Giunta

Saturday 27 March 2010 1:51:41 pm

did you click on the 'finetune' button on the 1st page of the wizard? it gives useful hints, e.g. about bad file permissions that can make an install go wrong

Principal Consultant International Business
Member of the Community Project Board

Michael Fitzpatrick

Sunday 28 March 2010 2:34:36 pm

Thanks for your reply.

I looked at "finetune" and there was a suggestion to add the following:

# 1. PHP option Magic Quotes is enabled
#
# eZ Publish will work with this option on however it will lead to some minor
# performance issues since all input variables need to be be converted back to normal.
#
# It is recommended that the option is turned off. To turn it off edit your php.ini
# configuration and set magic_quotes_gpc and magic_quotes_runtime to Off. More
# information on the subject can be found at php.net.
# php.ini example:
#
# magic_quotes_gpc = 0
# magic_quotes_runtime = 0
#
# Alternatively you may create a file called .htaccess in your eZ Publish root folder
# and add the following:
# .htaccess example:
php_value magic_quotes_gpc 0

So I used the .htaccess_root and add the above in .htaccess. This caused the app to crash so I used only the last line and it still crashed.

In any case I don't think this was the issue. I used the complete package for eZ Publish so I can't understand the problem with ez Components install. It looks like it is there at /www/ez/lib/ezc. I also ran the pear install too, so it is also at /php/ezc.

Is there a way to test the ez Components install?

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

Main resources:

Total runtime0.0187 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9141152.6250
Module start 'layout' 0.00610.0034 740.539139.4453
Module start 'content' 0.00950.0067 779.984489.4141
Module end 'content' 0.01620.0024 869.398434.3047
Script end 0.0187  903.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002513.5367140.0002
Check MTime0.00115.8390140.0001
Mysql Total
Database connection0.00105.164110.0010
Mysqli_queries0.003116.523130.0010
Looping result0.00000.128810.0000
Template Total0.002010.810.0020
Template load0.00126.201310.0012
Template processing0.00094.574710.0009
Override
Cache load0.00084.184410.0008
General
dbfile0.00115.790580.0001
String conversion0.00000.053640.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.0002 secs