Forums / Install & configuration / install eZ find

install eZ find

Author Message

anne martinet

Wednesday 02 July 2008 2:24:54 am

Hello,

I want download eZ Find with my console, as eZ Publish :

cd /tmp
wget http://ez.no/content/download/218812/1467959/file/ezpublish-4.0.0-gpl.tar.gz

What do I write ?

cd /tmp
wget http://ez.no/content/download/??????????????????????????????????????

Thanks

Łukasz Serwatka

Wednesday 02 July 2008 4:05:43 am

http://ez.no/ezfind/download

http://ez.no/content/download/218501/1465562/version/1/file/ezfind_1.0.0beta2.tar.gz

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

anne martinet

Wednesday 02 July 2008 5:45:08 am

Thanks,

I choose to do:

cd /tmp/
wget http://ez.no/content/download/218...sion/1/file/ezfind_1.0.0beta2.tar.gz

:)

Now when I read the doc, it says:

Save the downloaded file to the root of your eZ Publish installation, and then extract the files.

But where in the eZ Publish installation?
I install eZ Publish there: /var/www/ezpublish
I install eZ Flow in this folder (/var/www/ezpublish) ? or in the folder extension (/var/www/ezpublish/extension/) ? or another like /var/www/ ?..........

thanks

anne martinet

Wednesday 02 July 2008 8:36:12 am

I install ezPublish in : /var/www/ezpublish/
I install java JRE : sudo apt-get install sun-java6-jre
I download eZFind and I install:

cd /tmp/
wget http://ez.no/content/download/218...sion/1/file/ezfind_1.0.0beta2.tar.gz
tar zxvf ezfind_1.0.0beta2.tar.gz -C /var/www/ezpublish/

I try to Starting Solr:
cd /var/www/ezpublish/extension/ezfind/java/
java -jar start.jar

But I have this probleme when I do the last commande:

java -jar start.jar


2008-07-02 18:13:17.456::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2008-07-02 18:13:17.641::INFO:  jetty-6.1.3
2008-07-02 18:13:17.961::INFO:  Extract jar:file:/var/www/ezpublish/extension/ezfind/java/webapps/solr.war!/ to /tmp/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp
2008-07-02 18:13:20.349::INFO:  NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
2008-07-02 18:13:21.839::WARN:  failed SolrRequestFilter
java.lang.NoClassDefFoundError: org.apache.solr.core.SolrConfig
   at java.lang.Class.initializeClass(libgcj.so.7)
   at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:77)
   at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:100)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:41)
   at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)
   at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
...
...
...

I think it's not probleme memory limit.
I try this commande

root@ubuntu:/var/www/ezpublish/extension/ezfind/java# java -Xms512M -Xm512M -jar start.jar

But I have the same result!
What else?

And when I go in this page :
http://localhost:8983/solr/admin

I have this result :

HTTP ERROR: 404

NOT_FOUND

RequestURI=/solr/admin

Powered by jetty://

anne martinet

Monday 07 July 2008 12:04:37 am

Hello :)

I find my probleme, I have installed java 6 but when I write this commande:

root@ubuntu:~# update-alternatives --config java

There are 3 alternatives which provide `java'.

  Selection    Alternative
-----------------------------------------------
      1        /usr/bin/gij-wrapper-4.1
*+    2        /usr/lib/jvm/java-gcj/jre/bin/java
      3        /usr/lib/jvm/java-6-sun/jre/bin/java

Press enter to keep the default[*], or type selection number: 3
Using `/usr/lib/jvm/java-6-sun/jre/bin/java' to provide `java'.

So, the bad alternative was used. I corrected with the choice number 3.
And Solr run

:)

Thanks for your help
:)

anne martinet

Monday 07 July 2008 1:30:19 am

Re coucou, I have a new probleme!

I haven't change configuration of eZ Find!
And I activated eZ Find, I write in this file : settings/override/site.ini.append.php

[ExtensionSettings]
…
ActiveExtensions[]=ezfind
ActiveExtensions[]=ezwebin
…

But I do add content of my siteaccess demonstrateur_ez in ez Find.
So I write:

php extension/ezfind/bin/php/updatesearchindexsolr.php -s demonstrateur_ez_admin

And the return is:

Enter path to PHP-CLI executable ( or [q] to quit )

(If I tape php, I have Fatal error: Class 'eZSolr' not found in
/var/www/ezpublish/extension/ezfind/bin/php/updatesearchindexsolr.php on line 235 )

What do I do?

anne martinet

Tuesday 15 July 2008 1:11:23 am

:(

I have this error because I doesn't have installed EZ Components.
Now I have install eZ Components 2007.2.1.
And I have a new probleme :(

When I indexing a siteaccess_admin I have this result:

# php extension/ezfind/bin/php/updatesearchindexsolr.php -s ezwebin_site_admin
Starting object re-indexing
Enter path to PHP-CLI executable ( or [q] to quit ) php
Using fork.
Using 2 concurent process(es)
Number of objects to index: 72

Creating a new thread: 14162
...................................................................... 97.22%
..                                                                     100.00%

Creating a new thread: 14165

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

Did not index content correctly:
array (
  0 => '',
)

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

Did not index content correctly:
array (
  0 => '',
)

Creating a new thread: 14168

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

Did not index content correctly:
array (
  0 => '',
)
Process finished: 14162
Process finished: 14168
Optimizing. Please wait ...
Indexing took 2.85186505318 secs ( average: 25.2466363792 objects/sec )
Finished updating the search index.

what's wrong?

anne martinet

Tuesday 15 July 2008 7:19:45 am

I write in /etc/php5/cli/php.ini

memory_limit = 140M ;

I don't know if it's the best way, but that's run!

Thank you every body!

Probleme resolu

eZ debug

Timing: Jan 19 2025 05:08:04
Script start
Timing: Jan 19 2025 05:08:04
Module start 'content'
Timing: Jan 19 2025 05:08:04
Module end 'content'
Timing: Jan 19 2025 05:08:04
Script end

Main resources:

Total runtime0.1610 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.9453180.8438
Module start 'content' 0.00730.0067 769.7891101.9922
Module end 'content' 0.01400.1470 871.7813530.1016
Script end 0.1609  1,401.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.3009200.0002
Check MTime0.00140.8839200.0001
Mysql Total
Database connection0.00050.295610.0005
Mysqli_queries0.115571.73101410.0008
Looping result0.00120.74521390.0000
Template Total0.146691.110.1466
Template load0.00090.564110.0009
Template processing0.145790.492910.1457
Override
Cache load0.00060.384410.0006
Sytem overhead
Fetch class attribute can translate value0.00080.469610.0008
XML
Image XML parsing0.00020.144110.0002
General
dbfile0.00332.0641200.0002
String conversion0.00000.005630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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