Forums / Extensions / eZ Find / [Resolved] installion ezfind 2.0.0

[Resolved] installion ezfind 2.0.0

Author Message

Mohamed Ben-Ahssene

Tuesday 24 March 2009 1:50:42 am

Hi!

I'm traying to install ezfind 2.0.0 on ezpublish 4.0.3, and when i execute the following command :

php bin/php/ezpgenerateautoloads.php 

i have the following error and i can't understand:

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

what can i do?

Xavier Serna

Tuesday 24 March 2009 4:31:09 am

eZComponents are required for autoloads generation.
You should make sure the ezcomponents root folder is included in your PHP include path.

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Mohamed Ben-Ahssene

Wednesday 25 March 2009 3:21:25 am

Hi

Thank you Xavier, you putted me on the right way, i did the following for my installation:

1) I putted the ezcomponents on the /usr/share/php5 and i renamed it "ezc"
2) I added the following line on the ezpgenerateautoloads.php:

if ( !@include( 'ezc/Base/src/base.php' ) )    // old: '/Base/base.php'
{
    
    require "Base/src/base.php"; 
}

and it works!

Thank you (Merci ) Xavier