Indexcontent.php has errors!! Can't index the site..BUG?

Author Message

K259

Saturday 19 August 2006 10:37:43 am

I try to fix the contentindexing of my site, but get only errors from the file when I run it. Then the content of my site will not be indexed.

[root@...]# php cronjobs/indexcontent.php
PHP Notice: Undefined variable: isQuiet in cronjobs/indexcontent.php on line 43

Notice: Undefined variable: isQuiet in cronjobs/indexcontent.php on line 43
PHP Fatal error: Call to a member function on a non-object in cronjobs/indexcontent.php on line 45

Fatal error: Call to a member function on a non-object in cronjobs/indexcontent.php on line 45
------
Does anyone know if this is a known bug for 3.4x cronjobs/indexcontent.php? ..or can help me solve the problem?

K259

Saturday 19 August 2006 11:12:53 am

It's fixed and ok now.

Jean-François Sénéchal

Monday 08 January 2007 7:23:56 am

I have the same problem :

php cronjobs/indexcontent.php

Fatal error: Call to a member function on a non-object in /var/www/sites/marche/html/ezpublish/cronjobs/indexcontent.php on line 36

and the line 36 is

$cli->output( "Starting processing pending search engine modifications" );

I user ezpublish 3.9

What's wrong ?

Thanks

L'informaticien est comme un petit canard:
il est calme en surface mais en dessous il brasse beaucoup d'eau pour
avancer ...!

Jean-François Sénéchal

Monday 08 January 2007 8:07:56 am

Ok I have found

If I run like this : php runcronjobs.php -s plain_site

It' s ok

L'informaticien est comme un petit canard:
il est calme en surface mais en dessous il brasse beaucoup d'eau pour
avancer ...!

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

eZ debug

Timing: Jan 31 2025 01:35:44
Script start
Timing: Jan 31 2025 01:35:44
Module start 'layout'
Timing: Jan 31 2025 01:35:44
Module start 'content'
Timing: Jan 31 2025 01:35:44
Module end 'content'
Timing: Jan 31 2025 01:35:44
Script end

Main resources:

Total runtime0.0251 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.2734151.2266
Module start 'layout' 0.00530.0045 739.5000220.7188
Module start 'content' 0.00980.0136 960.2188997.7266
Module end 'content' 0.02340.0016 1,957.945333.9922
Script end 0.0251  1,991.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.3119140.0002
Check MTime0.00124.7076140.0001
Mysql Total
Database connection0.00093.651010.0009
Mysqli_queries0.002510.030430.0008
Looping result0.00000.091110.0000
Template Total0.00124.610.0012
Template load0.00093.627310.0009
Template processing0.00020.959710.0002
Override
Cache load0.00062.500510.0006
General
dbfile0.00031.060480.0000
String conversion0.00000.043740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs