eZ Find --- eZ Components --- PHP5.2

Author Message

anne martinet

Thursday 10 July 2008 2:32:05 am

Good morning,

I installed eZ Find, and when I want indéxer one of my siteaccess, I get an error:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s demonstrateur_ez_admin
Starting object re-indexing
Enter path to PHP-CLI executable ( or [q] to quit ) php

Fatal error: Class 'eZSolr' not found in /var/www/ezpublish/extension/ezfind/bin/php/updatesearchindexsolr.php on line 235

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

I was pointed out that my problem is related to autoloads, and I run this command, but I have another error:

bin/php/ezpgenerateautoloads.php --extension

Warning: require(Base/src/base.php): failed to open stream: No such file or directory in /var/www/ezpublish/bin/php/ezpgenerateautoloads.php on line 35
/u
Fatal error: require(): Failed opening required 'Base/src/base.php' (include_path='.:usr/share/php:/usr/share/pear') in /var/www/ezpublish/bin/php/ezpgenerateautoloads.php on line 35

When I see --usr/share/php:/usr/share/pear-- I think, ths is a probleme with eZ Components, then I do:

pear install -a ezc/eZComponents
ezc/eZComponents requires PHP (version >= 5.2.1), installed version is 5.1.2
ezc/Archive requires PHP (version >= 5.2.1), installed version is 5.1.2
ezc/Authentication requires PHP (version >= 5.2.1), installed version is 5.1.2
....
....
No valid packages found
install failed

Then I try to update my PHP version, but I don't know why? Because in my knowledge the PHP5.2 is available in debian depot. And I in Ubuntu. There is a problem to dependance in them!

HELP!
How resolve my problemes, and ez Find need ez Components?
eZ Components is the probleme?
If, Yes where are links for install PHP5.2 (or more)?

Hans Melis

Thursday 10 July 2008 7:04:19 am

Hi Anne,

Welcome to the club of Debian (Ubuntu) users that can't install the most recent eZ Components release. Yes, Debian has PHP 5.2 but the stable repository only has 5.2.0 with a couple of debian patches.

I encountered the same issue a couple of weeks ago and a couple of folks were kind enough to point me to Dotdeb [1]. Dotdeb provides packages for Debian stable (PHP is just one of them) so I assume they'll work on Ubuntu as well.

[1]: http://dotdeb.org/mirrors

Hans
http://blog.hansmelis.be

André R.

Thursday 10 July 2008 10:45:35 am

Note: you should be able to use eZ Components 2007.2.1, eZ Publish 4.0 doesn't require newer version then that. And 2007.2.1 only requires PHP 5.1.1.

This will probably change with eZ Publish 4.1, but until then:

http://ezcomponents.org/download/dl_components

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Stéphane Bullier

Friday 11 July 2008 12:24:13 am

Hello,

There is an update of PHP5 today for ubuntu.

PHP 5.2.4-2ubuntu5.2 with Suhosin-Patch 0.9.6.2 (cli) (built: Jul 3 2008 16:46:01)

Stéphane

anne martinet

Friday 11 July 2008 12:45:28 am

Hello, and thanks for your propositions!

Sorry to bother you. But I don't like installations. I do not want to do anything bad ....
I see in the others sites, a not precise guide...
How do I install eZ Components?
Once I downloaded, how I unpack the tar.bz2.tar of ezComponents 2007.2.1 ? and especially where?
In my case I installed eZ Publish in / var / www / ezpublish /
Do I need to decompress the file in folder ezpublish, or /var/www/ ?

thank you a thousand times

André R.

Friday 11 July 2008 2:58:26 am

Look in autoload.php, you will find where it tries to include ezc from ("ezc/Base/base.php").

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

anne martinet

Friday 11 July 2008 5:09:35 am

Thanks very very much for your help!

:)
:)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.