Forums / General / Reindexing problem

Reindexing problem

Author Message

Brendan Pike

Wednesday 21 May 2003 7:14:58 pm

Following the contribution on how to re-index I used the command:
php4 -C update/common/scripts/updatesearchindex.php

Seemed to work except it finished with
96.1538461538%
98.0769230769%
100%

done
Fatal error: eZ publish did not finish it's request

Why the error?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Bruce Morrison

Wednesday 21 May 2003 11:52:01 pm

I've seen this as well, actually it happens every time. Not sure what causes the error but it does seem to work OK.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Tony Wood

Thursday 22 May 2003 2:18:22 am

Yep I get that error message too... The routine works, but always with the error...

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Brendan Pike

Thursday 22 May 2003 9:21:21 am

Thanks good to know its not just me, and that it works anyway. When doing this I was trying to solve this problem, any insights or similar experiences?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Eivind Marienborg

Friday 07 January 2005 5:06:25 am

I get the following error when running php -C update/common/scripts/updatesearchindex.php:

...................................................................... 9.23076923077%
................................................................
Fatal error: Call to a member function on a non-object in /www/html/vhost/www.juvente.no/kernel/search/plugins/ezsearchengine/ezsearchengine.php on line 79

Fatal error: eZ publish did not finish it's request
The execution of eZ publish was abruptly ended, the debug output is present below.

What goes wrong? How can I fix this?

Christian Viken

Thursday 13 January 2005 1:31:27 pm

I just tried to upgrade from 3.3-3 via 3.3-5 , 3.4.0 and 3.4-4 to 3.5.0 folloving the upgrade steps in the eZ documentation to the letter. I also get

Fatal error: Call to a member function on a non-object in kernel/search/plugins/ezsearchengine/ezsearchengine.php on line 83

when running updatesearchindex.php. Mine got to 24% before craching , and I see that the table ezsearch_word is incomplete. I guess I have an empty field somewhere in some other table making this object become invalid/empty but how can I find out where so I can fix the bugger?

-Chris

Eivind Marienborg

Monday 17 January 2005 4:43:52 am

Undefined index:  db-host in /www/html/vhost/www.juvente.no/update/common/scripts/updatesearchindex.php on line 68

The error occurs after 9.35650181402% of reindexing. Where do I check that the db-host is setup correctly?

Gabriel Ambuehl

Tuesday 18 January 2005 11:56:33 am

Works for me on 3.5 (started with that version, too):

Starting object re-indexing
Number of objects to index: 82
...................................................................... 85.3658536585%
............ 100%

done

Visit http://triligon.org

Eivind Marienborg

Tuesday 18 January 2005 11:39:10 pm

I have about 21,000 objects to reindex.. Can that be the problem?

Peter Schnuerer

Thursday 15 September 2005 10:13:31 pm

Has anyone solved the problem?
I still got it n V 3.5.1

see: http://ez.no/community/forum/developer/updatesearchindex_php_fails_a_bug

eZ debug

Timing: Jan 18 2025 02:19:25
Script start
Timing: Jan 18 2025 02:19:25
Module start 'content'
Timing: Jan 18 2025 02:19:26
Module end 'content'
Timing: Jan 18 2025 02:19:26
Script end

Main resources:

Total runtime0.7506 sec
Peak memory usage4,096.0000 KB
Database Queries225

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 589.0156180.8516
Module start 'content' 0.00860.6083 769.8672816.4766
Module end 'content' 0.61690.1336 1,586.3438349.3281
Script end 0.7505  1,935.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.5721210.0002
Check MTime0.00150.2001210.0001
Mysql Total
Database connection0.00110.144010.0011
Mysqli_queries0.659587.86312250.0029
Looping result0.00230.30722230.0000
Template Total0.720996.020.3604
Template load0.00210.273620.0010
Template processing0.718895.763120.3594
Template load and register function0.00030.034910.0003
states
state_id_array0.00090.121210.0009
state_identifier_array0.00090.126320.0005
Override
Cache load0.00180.2448510.0000
Sytem overhead
Fetch class attribute can translate value0.00110.148580.0001
Fetch class attribute name0.00120.1577140.0001
XML
Image XML parsing0.00390.517980.0005
class_abstraction
Instantiating content class attribute0.00010.0074160.0000
General
dbfile0.00480.6378450.0001
String conversion0.00000.000930.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
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 43
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs