Forums / Install & configuration / Linux Install

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?

eZ debug

Timing: Jan 18 2025 02:57:59
Script start
Timing: Jan 18 2025 02:57:59
Module start 'content'
Timing: Jan 18 2025 02:58:00
Module end 'content'
Timing: Jan 18 2025 02:58:00
Script end

Main resources:

Total runtime0.8616 sec
Peak memory usage4,096.0000 KB
Database Queries195

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.8203180.8438
Module start 'content' 0.00640.7373 769.6641549.4531
Module end 'content' 0.74370.1179 1,319.1172332.7578
Script end 0.8616  1,651.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4695210.0002
Check MTime0.00150.1764210.0001
Mysql Total
Database connection0.00080.090010.0008
Mysqli_queries0.789791.65621950.0040
Looping result0.00170.19771930.0000
Template Total0.836897.120.4184
Template load0.00220.254920.0011
Template processing0.834696.858020.4173
Template load and register function0.00010.016010.0001
states
state_id_array0.00120.136110.0012
state_identifier_array0.00080.091420.0004
Override
Cache load0.00190.2209500.0000
Sytem overhead
Fetch class attribute can translate value0.00110.133230.0004
Fetch class attribute name0.00110.131740.0003
XML
Image XML parsing0.00100.112330.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00460.5352270.0002
String conversion0.00000.000630.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs