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?